Convert Hexadecimal (hex) to Decimal (decimal) instantly. Hexadecimal to decimal conversion.
| Unit | Name | Value |
|---|---|---|
| decimal | Decimal (Base 10) | — |
| binary | Binary (Base 2) | — |
| octal | Octal (Base 8) | — |
Example: FF (Hexadecimal) = 255 (Decimal)
Method: Multiply each hex digit by its power of 16. E.g. FF = 15×16 + 15 = 255₁₀.
Hexadecimal is base-16; Decimal is base-10. Use the converter above for any value instantly.
Common values from 0 to 1,048,576 — powers of 2 and standard computing values
| Hexadecimal (base 16) | Decimal (base 10) | Notes |
|---|---|---|
| 0 | 0 | Zero |
| 1 | 1 | One |
| 2 | 2 | Two |
| 3 | 3 | |
| 4 | 4 | Four |
| 5 | 5 | |
| 6 | 6 | |
| 7 | 7 | |
| 8 | 8 | Eight |
| 9 | 9 | |
| A | 10 | Ten |
| B | 11 | |
| C | 12 | |
| D | 13 | |
| E | 14 | |
| F | 15 | Max nibble (4-bit) |
| 10 | 16 | One hex digit |
| 20 | 32 | 2⁵ |
| 40 | 64 | 2⁶ |
| 80 | 128 | 2⁷ |
| FF | 255 | Max byte |
| 100 | 256 | 2⁸ |
| 200 | 512 | 2⁹ |
| 400 | 1024 | 1 KiB |
| 800 | 2048 | 2 KiB |
| 1000 | 4096 | 4 KiB |
| 8000 | 32768 | 32 KiB |
| FFFF | 65535 | Max 16-bit unsigned |
| 10000 | 65536 | 2¹⁶ |
| 100000 | 1048576 | 1 MiB (2²⁰) |
Rightmost digit × 1, next × 16, next × 256... A=10, B=11...F=15.
FF = 15×16 + 15 = 240 + 15 = 255. The most common hex-to-decimal pair.
Each hex digit contributes 0–15 times its positional power of 16.
Converts between binary, hex, and decimal daily for debugging, bitmasking, and memory address analysis.
Learns number base conversions as a fundamental concept in computer architecture and digital logic courses.
Works with IP addresses, subnet masks, and MAC addresses in binary, decimal, and hex representations.
Programs microcontrollers using binary bit patterns and hex register values for hardware configuration.
Designs logic circuits using binary truth tables and checks hex values on oscilloscopes and analyzers.
Reads hex dumps, analyzes binary data, and decodes encoded strings during reverse engineering and forensics.
The hexadecimal (base-16) system uses digits 0–9 and letters A–F (where A=10, B=11, C=12, D=13, E=14, F=15). Hexadecimal became the standard shorthand for binary in computing because exactly 4 bits = 1 hex digit, making byte values compact: 1 byte (8 bits) = 2 hex digits (00–FF).
Hex is ubiquitous in programming: memory addresses (0x7FFF0000), color codes (#FF5733), MAC addresses (AA:BB:CC:DD:EE:FF), IPv6 addresses, and error codes all use hex. The prefix '0x' in code signifies hexadecimal. Every programmer encounters hex daily.
Interesting fact: HTML/CSS color #FFFFFF (white) = RGB(255, 255, 255) = binary 11111111 11111111 11111111. The hex system makes this immediately readable — each pair of hex digits is one color channel. Web color #FF0000 is pure red: maximum red (FF=255), zero green (00), zero blue (00).
The decimal (base-10) number system uses ten digits (0–9) and is the universal numeral system for human mathematics, commerce, and everyday life. It is almost certainly based on the ten fingers of the human hand — 'digit' comes from the Latin digitus meaning finger.
The decimal system with positional notation and zero was developed in India (5th–7th century CE) and transmitted to Europe via Arabic mathematicians — which is why it is also called the Hindu-Arabic numeral system. It replaced Roman numerals in European commerce by the 16th century.
Interesting fact: Not all cultures chose base-10. Babylonians used base-60 (preserved in our 60 seconds, 60 minutes, 360 degrees). The Mayans used base-20. The Yuki people of California used base-8, counting the spaces between fingers rather than the fingers themselves.
Hex to decimal is needed to interpret memory addresses, color channel intensities, and encoded values. FF=255, A=10, 10=16, 100=256. Web color #FF0000 = RGB(255,0,0). FFFF=65535 is the maximum 16-bit value.
Use the converter above for any value. Results are exact — numeral base conversions involve no rounding or approximation.