Decimal to Hexadecimal Converter
Convert a decimal number to hex, binary and octal.
Convert a whole decimal number to hexadecimal.
The math behind it
Repeatedly divide by 16; the remainders (0–9, A–F) form the hex number.
Worked example
255 → FF.
FAQ
Why hex?
Compactly represents binary — each hex digit = 4 bits.