Number Base Converter
Type a number into any of the four fields and the others update instantly. Binary, octal, decimal, hexadecimal.
Why these four bases?
- Binary (base 2). The native language of digital circuits. Each digit is a bit.
- Octal (base 8). Three bits per digit — historically used in Unix file permissions.
- Decimal (base 10). What humans count in.
- Hexadecimal (base 16). Four bits per digit — compact byte representation in colors, addresses, hashes.
| Dec | Hex | Oct | Bin |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 10 | A | 12 | 1010 |
| 15 | F | 17 | 1111 |
| 255 | FF | 377 | 11111111 |
| 1024 | 400 | 2000 | 10000000000 |