Convert between decimal and hexadecimal numbers.
Convert between decimal and hexadecimal numbers.
Decimal-to-hex uses repeated division by 16; hex-to-decimal sums powers of 16 for each digit.
Convert between decimal and hexadecimal numbers.
Decimal-to-hex uses repeated division by 16; hex-to-decimal sums powers of 16 for each digit.
Convert between decimal and hexadecimal numbers.
With our free Hex Calculator, you can convert between decimal and hexadecimal numbers without spreadsheets or guesswork. It’s built for checking homework and double-checking important figures alike: type in your numbers, get an instant result with a transparent breakdown, and adjust inputs to compare scenarios. Also try the Binary Calculator, or browse all Math Calculators.

The breakdown is the real value here. Each intermediate step is shown, so you can pinpoint exactly where a hand calculation went wrong — or confirm that it went right.
For exam preparation, try solving the problem yourself first, then use the Hex Calculator to verify. Active practice beats passive reading every time.
Formula: Decimal-to-hex uses repeated division by 16; hex-to-decimal sums powers of 16 for each digit.
The Hex Calculator applies this formula the instant you type — no manual math needed. The breakdown beneath your result shows each intermediate value, so nothing is a black box.
To convert a decimal number to hexadecimal by hand, divide by 16 repeatedly and record the remainders — 10 becomes A, 11 becomes B, 12 becomes C, 13 becomes D, 14 becomes E, and 15 becomes F. Read the remainders bottom to top. For example, 255 in decimal is FF in hexadecimal. Enter any number above and the calculator converts it instantly, with the working shown.
No. All calculations happen locally in your browser — nothing is uploaded, saved, or shared.
Yes — the Hex Calculator is completely free, with unlimited calculations and no sign-up required.
Both. You get the final answer plus the step-by-step working, so you can follow — and learn — the method.
The calculation follows the standard mathematical procedure exactly. If an answer surprises you, double-check your inputs for typos or misplaced decimals.
Divide the decimal number by 16 repeatedly and write down the remainder each time. Remainders 10 to 15 become the letters A to F. Then read the remainders from bottom to top — that is the hexadecimal number. For example, 255 divided by 16 is 15 with a remainder of 15 (F), and 15 divided by 16 is 0 with a remainder of 15 (F), so 255 in decimal is FF in hexadecimal.
Further reading: Khan Academy, the free Khan Academy learning platform, offers deeper background on this topic.
Convert between decimal and binary numbers.
Use calculator →List all factors shared by two numbers.
Use calculator →List every factor of a whole number.
Use calculator →Find the greatest common factor (GCF / GCD) of two or more numbers.
Use calculator →Find the least common multiple (LCM) of two or more numbers.
Use calculator →Calculate the logarithm of a number in base 10, base 2, natural log, or a custom base.
Use calculator →