ONLINE CONVERSION TOOL

Decimal to Hexadecimal Converter

Convert decimal numbers to hexadecimal quickly and accurately.

FREE NUMBER BASE TOOL

Convert Decimal to Hexadecimal

Enter a number and get an accurate result instantly.

Hexadecimal result—

Numbers may include a leading minus sign. Hexadecimal accepts A–F.

About Decimal to Hexadecimal conversion

Hexadecimal is widely used for color codes, memory locations, and byte values. Base 16 reduces a large decimal number to fewer readable symbols, with A through F representing 10 through 15.

How to convert Decimal to Hexadecimal

Enter a valid decimal number in the calculator above for an instant result. To understand the calculation by hand, follow these steps:

  1. Divide the decimal number by 16.
  2. Keep each remainder, writing 10–15 as A–F.
  3. Continue with the quotient and read remainders from last to first.

Decimal to Hexadecimal conversion example

Example: 254₁₀ → FE₁₆. 254 ÷ 16 equals 15 remainder 14. In hexadecimal, 15 is F and 14 is E.

Use the calculator to verify the example, then try a value of your own. It accepts upper- and lowercase letters for hexadecimal input.

More conversion tools