Number Base Converter

Convert between binary, ternary, octal, decimal and hexadecimal number bases, and learn the conversion principles.

Play a little. Discover a lot!

What are number bases?

Number bases are different ways to represent numbers. We use decimal (base 10) in daily life, but computers use binary (base 2). Different bases have different uses in science and engineering.

Historically Used Number Systems

2
Binary (Base 2)

Uses only 0 and 1, fundamental to computers

101 = 5 in decimal

3
Ternary (Base 3)

Uses 0-2, studied in early computing theory

12 = 5 in decimal

8
Octal (Base 8)

Uses 0-7, common in early computer systems

5 = 5 in decimal

10
Decimal (Base 10)

The number system we use daily

5 = 5 in decimal

16
Hexadecimal (Base 16)

Uses 0-9 and A-F, common in programming

5 = 5 in decimal