Number System Converter
Convert between binary, decimal, hexadecimal, and octal number systems instantly.
Base 10 (Decimal)
Binary (Base 2)
2 digits
11111111
8 bits
Decimal (Base 10)
10 digits
255
Used everyday
Hexadecimal (Base 16)
16 digits
FF
0-9, A-F
Octal (Base 8)
8 digits
377
0-7
Quick Reference
| Decimal | Binary | Hex | Octal |
|---|
Binary (Base 2)
Uses only 0 and 1. The foundation of all digital computing.
Example: 1010 = 10
Decimal (Base 10)
The number system we use daily. Digits 0-9.
Example: 255 = 2×100 + 5×10 + 5×1
Hexadecimal (Base 16)
Uses 0-9 and A-F. Common in web colors and memory addresses.
Example: FF = 255, #FF5733
Octal (Base 8)
Uses digits 0-7. Sometimes used in Unix file permissions.
Example: 777 = 511 decimal