Type a number in any base — binary, octal, decimal or hex — and see it in all four systems at once.
Binary, Hex & Octal Converter
Decimal (base 10)
–
Binary (base 2)
–
Hexadecimal (base 16)
–
Octal (base 8)
–
How it works: Every base counts in powers of its size: binary digits are worth 1, 2, 4, 8…; octal 1, 8, 64…; hex 1, 16, 256… with digits A–F standing for 10–15. Programmers use hex because one hex digit is exactly four binary digits, so long binary strings compress neatly — 11111111 is just FF. This converter validates digits against the base you pick, so a ‘2’ in a binary value is flagged instead of silently misread.
More free tools: Financial Calculators hub — car finance, loan vs invest, Apna Ghar and 60+ more calculators, all free and private in your browser.
Estimates only — results depend on the values you enter and the standard formulas shown above.
