Toolalize

Number Base Converter

Convert numbers between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). Enter any value and see all four bases simultaneously.

Common Values

DecimalBinaryOctalHex
0000
1111
21022
31133
410044
510155
611066
711177
81000108
91001119
10101012A
11101113B
12110014C
13110115D
14111016E
15111117F
16100002010
20101002414
321000004020
64100000010040
12711111111777F
1281000000020080
25511111111377FF
256100000000400100
51210000000001000200
1024100000000002000400
20481000000000004000800
40961000000000000100001000
819210000000000000200002000
16384100000000000000400004000
32767111111111111111777777FFF
3276810000000000000001000008000
655351111111111111111177777FFFF
655361000000000000000020000010000

Frequently Asked Questions

Each binary digit (bit) represents a power of 2. To convert binary to decimal, multiply each bit by its positional power of 2 and add the results. Example: 1101₂ = 1×8 + 1×4 + 0×2 + 1×1 = 13₁₀. Use this converter to do it instantly.
Repeatedly divide the decimal number by 16, noting the remainder each time (0–9 stay as digits; 10–15 become A–F). Read the remainders from bottom to top. Example: 255 ÷ 16 = 15 remainder 15 → FF₁₆. This converter does it automatically.
Computers use binary (base 2) because electronic components naturally represent two states: on (1) and off (0). Binary arithmetic is also simple to implement in hardware using transistors and logic gates.
Hexadecimal (base 16) is widely used in computing because it is a compact way to represent binary data — one hex digit equals exactly 4 bits. It appears in memory addresses, color codes (#RRGGBB), machine code, and network addresses (MAC, IPv6).