Number Base Converter – Binary, Octal, Decimal, Hex (Base 2–36)

Convert numbers between binary, octal, decimal, hexadecimal and any base from 2 to 36. Type in any box and all the others update instantly. Very large numbers stay exact, and the division method is shown step by step for homework.

Steps: decimal → binary (divide by 2)

How to convert number bases

  1. Type a number in any box – decimal, binary, octal, hex or your custom base.
  2. All other boxes update instantly. Prefixes like 0x and 0b are understood.
  3. See the "divide by 2" method used in school to convert decimal to binary.

Quick reference

DecimalBinaryOctalHex
81000108
10101012A
15111117F
16100002010
2551111 1111377FF

Frequently asked questions

Why do programmers use hexadecimal?

One hex digit is exactly 4 binary digits, so long binary numbers become short and readable – like colours (#FF5733) and memory addresses.

How big a number can I convert?

There's no practical limit – numbers are stored exactly using big integers.