Skip to content
Hex Calculator

Base10 to Hex Converter

Convert a base10 (decimal) number into hexadecimal using repeated division by 16 — the reverse of hex to base10.

Hexadecimal result
0xAA

How to Convert Base10 to Hex

Divide the number by 16 and keep the remainder as the rightmost hex digit. Take the quotient and divide by 16 again for the next digit, repeating until the quotient reaches 0. Reading the remainders from last to first gives the hex value.

Common Mistakes When Converting Base10 to Hex

  • Reading the remainders in the order found instead of reversing them.
  • Writing a remainder of 10-15 as two digits instead of its hex letter.
  • Applying this method directly to a negative number instead of a signed representation.

Frequently Asked Questions

How do you convert base10 to hex?

Divide the number by 16, keep the remainder as a hex digit, then divide the quotient by 16 again. Repeat until the quotient is 0, then read the remainders in reverse order.

Why "base10" instead of "decimal"?

Same numeral system — base10 is the term used when discussing number systems by their base, consistent with base2, base8, and base16.

Why do the remainders get read backwards?

The first division finds the smallest place-value digit, and each subsequent division finds the next digit up — but numbers are written with the largest place value first, so the order has to reverse.

What if a remainder is 10 or higher?

Write it as a hex letter instead — 10 through 15 become A through F. A remainder from dividing by 16 is always in that 0-15 range.

Can negative base10 numbers be converted this way?

Not directly — negative values need a signed representation like two's complement at a fixed bit width rather than a plain minus sign.

Is this the same as the site's Decimal to Hex converter?

Yes, functionally identical — this page targets the base10 terminology specifically.