Free Online Tool

Convert Hex to Decimal

Need to convert hex to decimal fast? Enter a base-16 number using digits 0–9 and letters A–F to instantly translate hexadecimal to decimal. It's the easiest way to switch from base-16 to base-10.

Hex to decimal converter

Allowed digits: 0-9 and A-F
Output base: 10
Enter a value above to see the result
Conversion Hexadecimal (Base 16) → Decimal (Base 10)

Hex to Decimal Chart

Use this hexadecimal to decimal table as a quick reference for common values, including letters A-F and numbers like 0xFF.

Common hexadecimal to decimal conversions
Hexadecimal Calculation Decimal
0 0 0
1 1 1
9 9 9
A 10 10
F 15 15
10 1×16¹ + 0×16⁰ 16
1A 1×16¹ + 10×16⁰ 26
1F 1×16¹ + 15×16⁰ 31
20 2×16¹ + 0×16⁰ 32
2A 2×16¹ + 10×16⁰ 42
3F 3×16¹ + 15×16⁰ 63
7F 7×16¹ + 15×16⁰ 127
80 8×16¹ + 0×16⁰ 128
FF 15×16¹ + 15×16⁰ 255
100 1×16² 256

How to Convert Hex to Decimal

Figuring out how to calculate hexadecimal to decimal by hand is easy once you understand the base-16 system.

The Method

Hexadecimal uses a base-16 system with digits 0–9 and letters A–F. Decimal (also called denary) is our standard base-10 system. To convert hex to denary manually, you multiply each hex digit by its corresponding power of 16.

Decimal = Σ(hex digit value × 16^position)

Starting from the right side, the positions are 16⁰, 16¹, 16², and so on.

How to Turn HEX into DEC

1

Write the hex value

Start with the hexadecimal value you want to convert. For example, let's use 1A.

2

Assign powers of 16

Reading from right to left, assign the powers of 16. The "A" is at 16⁰ (which equals 1), and the "1" is at 16¹ (which equals 16).

3

Multiply and add

Multiply the values: (1 × 16) + (10 × 1). Add them together to get 26. So, 1A in hex equals 26 in decimal.

Converting Hex to Denary (Base 16 to Base 10)

Programmers constantly translate hexadecimal to decimal because base-16 is a compact way to write complex binary data. Whether you are dealing with memory addresses, MAC addresses, or web colors, you will frequently need a reliable hex 2 decimal converter.

In computer science education (especially in the UK), the base-10 system is often called "denary." Converting hexadecimal to denary is the exact same mathematical process as converting hex to decimal.

Using our hex to dec converter eliminates the manual math, instantly flipping letters like FFFF back into readable everyday numbers.

Sample Hex to Decimal Conversions

Here is how to convert hexadecimal to decimal for some of the most common hex codes.

A in decimal

The letter A simply represents 10. So A₁₆ = 10₁₀.

0x10 to decimal

(1 × 16¹) + (0 × 16⁰) = 16 + 0. So 0x10 translates to 16.

1A in decimal

(1 × 16¹) + (10 × 16⁰) = 16 + 10. The result is 26.

0xFF to decimal

F is 15. So, (15 × 16¹) + (15 × 16⁰) = 240 + 15. This makes 0xFF equal to exactly 255 in decimal.

100 in decimal

(1 × 16²) = 256. A hex value of 100 equals 256 in base-10.

FFFF in decimal

(15 × 16³) + (15 × 16²) + (15 × 16¹) + (15 × 16⁰) = 61440 + 3840 + 240 + 15. FFFF translates to exactly 65,535 in decimal.


Frequently Asked Questions

Everything you need to know about using a hex decimal converter.