Decimal to Hex Converter
Convert decimal numbers to hexadecimal (base 16) and back. Essential for web colors, memory addresses, and low-level programming.
Reviewed October 7, 2026 Runs in your browser — inputs are never stored
Hexadecimal
FF
| Decimal | Hex | Binary |
|---|---|---|
| 0 | 0 | 0 |
| 10 | A | 1010 |
| 15 | F | 1111 |
| 16 | 10 | 10000 |
| 255 | FF | 11111111 |
| 256 | 100 | 100000000 |
This tool provides general unit conversions for everyday and educational use. For regulated, legal, or scientific applications, verify conversion factors against the applicable official standard.
About the Decimal to Hex Converter
The decimal to hex converter changes ordinary base-10 numbers into hexadecimal (base 16) and back. Hexadecimal uses the digits 0–9 and the letters A–F for 10–15. It is used in web colour codes, memory addresses and many file formats.
How to use it
- 1Choose decimal → hex or hex → decimal.
- 2Enter the number.
- 3Read the result.
- 4Copy, share or print the result with the buttons below it.
Worked example
255 = 15 × 16 + 15 = FF in hex, and 2026 = 7EA in hex.
How it works
Hexadecimal digits
0–9 represent 0–9; A=10, B=11, C=12, D=13, E=14, F=15. Each hex digit represents exactly 4 binary bits (a nibble).
Common use cases
- Working with web colour codes
- Programming and debugging
- Reading memory addresses
Frequently asked questions
A:255 decimal = FF hex. This is why web colors like #FFFFFF represent RGB 255,255,255 (white).
A:Divide the decimal number by 16 repeatedly, recording the remainders. The remainders read bottom-to-top give the hex digits.
Reviewed for accuracy · Last updated October 7, 2026
Conversion factors are based on internationally defined SI units and standard metric/imperial equivalence tables.
CalcWisee Editorial Team
Calculator development and formula review
CalcWisee is an independent site founded by Ayman. Every calculator is built from a published formula or official definition, tested against hand-worked examples before it goes live, and corrected promptly when a reader reports an issue to ayman@calcwisee.com.
Expertise: Financial mathematics, Health and fitness formulas, Applied mathematics, Unit conversion standards
References & sources


