About the Number Base Converter
The Number Base Converter translates a number between binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16). Type a value in any base and see it in the others at once.
How to use it
- Choose the base of your input number.
- Type the number.
- Read the value in the other bases.
The four bases
| Base | Name | Digits used |
|---|---|---|
| 2 | Binary | 0–1 |
| 8 | Octal | 0–7 |
| 10 | Decimal | 0–9 |
| 16 | Hexadecimal | 0–9 and A–F |
Why other bases matter
Computers work in binary, so programmers use hexadecimal and octal as compact, human-friendly ways to write binary values. Hex is common in colours, memory addresses and machine code; octal appears in file permissions on Unix-like systems.
Common uses
- Computer science and digital electronics study.
- Programming and debugging.
- Understanding hex colour codes and file permissions.
Who it is for
Students, developers, engineers and anyone working with different number systems.