← Back to tools
Converter
Base Converter
Convert numbers between binary, octal, decimal, and hex.
How the Number Base Converter Works
This tool converts numbers between four common numerical bases: Decimal (base 10), Binary (base 2), Octal (base 8), and Hexadecimal (base 16). Enter a number in any base to see its equivalent value in all other bases.
Formula Used
Value (Base A) → Decimal (Base 10) → Value (Base B)
- Decimal (Base 10)
- — standard human number system using digits 0-9
- Binary (Base 2)
- — computer system using digits 0 and 1
- Octal (Base 8)
- — system using digits 0-7, representing groups of 3 bits
- Hexadecimal (Base 16)
- — system using digits 0-9 and letters A-F, representing groups of 4 bits
Example Calculation
If you enter the Decimal number 42, the converter translates it: Binary = 101010; Octal = 52; Hexadecimal = 2A. All fields update simultaneously.