Hex to Decimal Converter
Convert between hexadecimal, decimal, binary, and octal
Real-Time
Color Codes
Batch Mode
Input
Results
Decimal
255
Hex
FF
Binary
11111111
Octal
377
Color Preview
Batch Conversion — One value per line
Hexadecimal Reference
| Hex | Decimal | Binary |
|---|---|---|
| 0 | 0 | 0000 |
| 1 | 1 | 0001 |
| 2 | 2 | 0010 |
| 3 | 3 | 0011 |
| 4 | 4 | 0100 |
| 5 | 5 | 0101 |
| 6 | 6 | 0110 |
| 7 | 7 | 0111 |
| Hex | Decimal | Binary |
|---|---|---|
| 8 | 8 | 1000 |
| 9 | 9 | 1001 |
| A | 10 | 1010 |
| B | 11 | 1011 |
| C | 12 | 1100 |
| D | 13 | 1101 |
| E | 14 | 1110 |
| F | 15 | 1111 |
Frequently Asked Questions
Hexadecimal is a base-16 number system using digits 0-9 and letters A-F. Each hex digit represents 4 binary bits (a nibble), making it ideal for representing memory addresses, color codes, MAC addresses, and machine code in a compact, human-readable format.
Multiply each hex digit by 16 raised to the power of its position (from right, starting at 0), then sum all results. Example: hex "1A3" = 1×16² + 10×16¹ + 3×16⁰ = 256 + 160 + 3 = 419.