Blog
Wild & Free Tools

Decimal to Hex — Convert Instantly or Do It By Hand

Last updated: January 2026 4 min read
Quick Answer

Table of Contents

  1. How to Convert Decimal to Hex Manually
  2. Worked Examples
  3. Quick Reference — Common Decimal to Hex Values
  4. Converting Hex to Decimal — The Reverse
  5. Frequently Asked Questions

To convert decimal to hex, use the free converter below — type any decimal number and the hexadecimal result appears immediately. To do it without a calculator, use the division-by-16 method: divide the decimal number by 16, record the remainder, then divide the quotient again. Repeat until the quotient is zero. Reading the remainders from bottom to top gives the hex value.

How to Convert Decimal to Hex Manually

The division-by-16 method works for any decimal integer:

Example: Convert decimal 1023 to hex

Remember that remainders above 9 map to letters: 10=A, 11=B, 12=C, 13=D, 14=E, 15=F.

RemainderHex Digit
0–90–9
10A
11B
12C
13D
14E
15F

Worked Examples

Walk through these examples, then verify each in the tool:

Example 1: Decimal 255 to hex

Example 2: Decimal 4096 to hex

Example 3: Decimal 65535 to hex

Sell Custom Apparel — We Handle Printing & Free Shipping

Quick Reference — Common Decimal to Hex Values

DecimalHexNotes
10ASingle hex digit
15FMax single digit
1610First 2-digit hex
3220Space in ASCII
1277FMax signed byte
255FFMax byte value
256100First 3-digit hex
10244001 KB
409610004 KB page
65535FFFFMax 16-bit value

Converting Hex to Decimal — The Reverse

To convert hex back to decimal, multiply each digit by its place value (powers of 16) and sum:

Example: Hex 2AF to decimal

For any value, the Number Base Converter handles both directions — select Decimal to convert to hex, select Hexadecimal to convert back.

Convert Decimal to Hex Instantly

Type any decimal number and get the hexadecimal result — plus binary and octal in the same view, no calculator needed.

Convert Numbers Free

Frequently Asked Questions

What is decimal 255 in hexadecimal?

Decimal 255 = hex FF. This is the maximum value that fits in one byte (8 bits). It appears constantly in programming — as the max byte value, in color codes (255 = full intensity in RGB), and as a bitmask.

How do you convert a decimal fraction to hex?

This tool converts integers only. For fractional decimal-to-hex conversion (like converting 0.5 to hex), the manual method involves multiplying the fractional part by 16 repeatedly. Most practical programming scenarios only require integer conversion.

What is the hex value of 10 in decimal?

Decimal 10 = hex A. Single-digit hex values only go up to F (15 in decimal). Decimal 16 = hex 10 — the first two-digit hex value, which can be confusing at first glance.

Alicia Grant
Alicia Grant Frontend Engineer

Alicia leads image and PDF tool development at WildandFree, specializing in high-performance client-side browser tools.

More articles by Alicia →
Launch Your Own Clothing Brand — No Inventory, No Risk