Skip to content
ExactUnit

Numbers / base 2 → base 16

Convert Binary to Hexadecimal

Convert signed integers between binary, octal, decimal, and hexadecimal. Convert Binary (base 2) to Hexadecimal (base 16). Find the formula, worked examples, unit definitions, and practical guidance below.

Reverse: Hexadecimal to Binary →

Numbers converter

Arbitrary-precision integers preserve all digits within the 4096-character input limit. Fractions, exponent notation, prefixes such as 0x, and two’s-complement bit patterns are not accepted. Negative integers keep a minus sign.

How to convert binary to hexadecimal

Arbitrary-precision integers preserve all digits within the 4096-character input limit. Fractions, exponent notation, prefixes such as 0x, and two’s-complement bit patterns are not accepted. Negative integers keep a minus sign.

Worked examples

Read each digit as a coefficient of a power of 2, then express the integer using powers of 16. Repeated division by 16 yields the target digits from right to left.

  • 101010 (base 2) = 2A (base 16)
  • 11111111 (base 2) = FF (base 16)

About Binary

Binary uses base 2. Its place values are powers of 2; the same integer is represented by a different sequence of digits in another base.

About Hexadecimal

Hexadecimal uses base 16. Its place values are powers of 16; the same integer is represented by a different sequence of digits in another base.

Definitions and sources

For a different quantity or formatting task, see the related other conversion tools.

Browse every numbers conversion →

Popular conversions

A shortcut to your next answer