Number Base Converter
Convert binary, octal, decimal, hex
Input
Binary (2)0bβ
Octal (8)0oβ
Decimal (10)β
Hexadecimal (16)0xβ
Number Base Systems
Computers use four number bases most often: binary (base 2) β digits 0-1, the native language of CPUs; octal (base 8) β digits 0-7, used in Unix file permissions; decimal (base 10) β the everyday number system; and hexadecimal (base 16) β digits 0-9 and A-F, used in memory addresses, colors, and byte representations.
To convert, enter any number and select its base. The tool instantly shows the equivalent in all four bases. Negative numbers are supported β enter a minus sign before the digits.