How to use the Base Converter
- 1
Type a number in any field.
- 2
All other bases update instantly.
Large numbers
Arbitrary-precision integers are used, so 64-bit IDs and larger values convert without rounding.
How number bases work
A base says how many digits each position can hold. Decimal uses 0–9, binary only 0 and 1, octal 0–7 and hexadecimal 0–9 plus A–F. Each position is worth the base times the position to its right, so binary 1011 is 8 + 0 + 2 + 1 = 11 in decimal, and hexadecimal FF is 15 × 16 + 15 = 255. Bases up to 36 use the letters A–Z as extra digits.
Where you'll meet them
Hexadecimal is everywhere in computing because two hex digits describe exactly one byte: colour codes (#FF8800), memory addresses, MAC addresses and hashes. Binary shows individual bits, for example in network masks and permission flags. Octal survives mainly in Unix file permissions, where 755 means rwxr-xr-x.
Frequently asked questions
How do I convert binary to decimal?
Type the binary number in the binary field and the decimal value appears instantly, along with octal and hexadecimal.
Are prefixes like 0x and 0b accepted?
Yes. 0x for hexadecimal, 0b for binary and 0o for octal are recognised and ignored when converting.
Can it convert very large numbers?
Yes. Integers of any size are converted exactly, including 64-bit IDs that would lose precision in a normal calculator.
Something not working, or missing a setting you need? Report a problem or request a tool.