← Home

Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal

Binary (Base 2)

Used in computer systems and digital electronics

Octal (Base 8)

Often used in Unix file permissions

Decimal (Base 10)

Standard number system we use daily

Hexadecimal (Base 16)

Used in programming and color codes

Number Base Information

Binary (Base 2)
Powers of 2: 1, 2, 4, 8, 16, 32...
Octal (Base 8)
Powers of 8: 1, 8, 64, 512...
Decimal (Base 10)
Powers of 10: 1, 10, 100, 1000...
Hexadecimal (Base 16)
Powers of 16: 1, 16, 256, 4096...
Decimal Binary Octal Hexadecimal
0000
1111
21022
31133
410044
510155
611066
711177
81000108
91001119
10101012A
11101113B
12110014C
13110115D
14111016E
15111117F
16100002010

Common Use Cases

  • Binary: Computer programming, digital circuits, Boolean logic
  • Octal: Unix file permissions (755, 644), older computer systems
  • Decimal: Everyday counting, mathematics, standard calculations
  • Hexadecimal: Color codes (#FF0000), memory addresses, programming