Decimal to Hex Converter
Convert any decimal number to hexadecimal instantly — see every division step. Free, fast, no sign-up.
Enter a whole number (digits only).
Hex result
Step-by-step calculation
| Division | Quotient | Remainder (hex) |
|---|
Read the remainders from bottom to top.
How to convert decimal to hex
- Divide the decimal number by 16 and write down the remainder in hex.
- Divide the quotient by 16 and write down the new remainder.
- Repeat until the quotient is 0, then read the remainders from bottom to top.
Example: 419 → 419÷16=26 r3, 26÷16=1 r10 (A), 1÷16=0 r1 → 1A3.
Frequently asked questions
How do I convert decimal to hex?
Repeatedly divide by 16, record each remainder in hex, and read the remainders bottom-to-top. The converter above shows every step.
What is 255 in hex?
255 in decimal equals FF in hex.
What do the letters A-F mean in hex?
They stand for the values 10 to 15: A=10, B=11, C=12, D=13, E=14, F=15.
Need the reverse? Try our hex to decimal converter.