Convert numbers between decimal, binary, octal, and hexadecimal instantly. All calculations happen locally in your browser. Built for developers and technical teams who need fast, accurate, repeatable workflows.
| Decimal | Binary | Octal | Hex |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 |
| 8 | 1000 | 10 | 8 |
| 10 | 1010 | 12 | A |
| 16 | 10000 | 20 | 10 |
| 32 | 100000 | 40 | 20 |
| 64 | 1000000 | 100 | 40 |
| 128 | 10000000 | 200 | 80 |
| 255 | 11111111 | 377 | FF |
| 256 | 100000000 | 400 | 100 |
Number bases (or radixes) are systems for representing numbers using different sets of digits. Decimal (base 10) uses digits 0-9, binary (base 2) uses 0-1, octal (base 8) uses 0-7, and hexadecimal (base 16) uses 0-9 and A-F.
Binary is fundamental to computing as it represents how data is stored at the hardware level. Hexadecimal is commonly used in programming because it provides a compact representation of binary data—each hex digit represents exactly 4 binary digits (bits).
Enter a number in any base field.
Other fields update automatically with conversions.
Click the copy button to copy any value.
Developer utilities