Number Base Converter
Convert between binary, octal, decimal, and hexadecimal
Input base
Enter a number to see conversions
Quick reference
Dec
Bin
Oct
Hex
0
0
0
0
1
1
1
1
2
10
2
2
4
100
4
4
8
1000
10
8
10
1010
12
A
15
1111
17
F
16
10000
20
10
32
100000
40
20
64
1000000
100
40
128
10000000
200
80
255
11111111
377
FF
Related tools
What is number base conversion?
Number base conversion transforms a number from one positional numeral system to another. Binary (base 2) is used in computing, octal (base 8) in file permissions, decimal (base 10) in everyday math, and hexadecimal (base 16) in memory addresses and color codes. This tool converts between all four instantly.