Number Base Converter

Convert numbers between binary, octal, decimal, hexadecimal and any base from 2 to 36 — exact for huge values.

787 views

How Does Base Conversion Work?

A number written in base b uses digits 0…b−1; each position is worth a power of the base. Binary (base 2) uses 0-1, octal (base 8) 0-7, decimal (base 10) 0-9 and hexadecimal (base 16) adds A-F for 10-15. Enter a value in any base and the tool shows binary, octal, decimal and hex simultaneously, plus any custom target base up to 36.

Conversion uses big-integer arithmetic, so arbitrarily large values stay exact — no rounding at 15 digits like ordinary calculators.

Frequently Asked Questions

Why do programmers use hexadecimal?

One hex digit represents exactly four bits, so a byte is always two hex digits (FF = 255 = 11111111). It is a compact, human-readable view of binary data, memory addresses and color codes.

What is 1010 in binary as decimal?

1010₂ = 1×8 + 0×4 + 1×2 + 0×1 = 10. Reading positions right to left, each carries the next power of two.

Which characters are valid for bases above 10?

Letters continue where digits end: A=10, B=11 … Z=35. Base 36 therefore uses all digits and all letters; input is case-insensitive.

Similar Tools