MetrykConverter

Convert Hexadecimal to Decimal

1 Hexadecimal (hex) = 1 Decimal (dec). Use the free converter below to instantly convert any hexadecimal value to decimal, or view the full conversion table and formula.

1 hex = 1 dec

Hexadecimal to Decimal Conversion Table

Hexadecimal (hex) Decimal (dec)
0 0
1 1
A 10
F 15
10 16
1F 31
20 32
40 64
64 100
7F 127
80 128
C8 200
FF 255
100 256
200 512
3E8 1,000
400 1,024
800 2,048
1000 4,096
FFFF 65,535

How to Convert Hexadecimal to Decimal

Expand each hexadecimal digit × 16^position, sum all values

To convert hexadecimal to decimal, multiply each digit by 16 raised to the power of its position (starting from 0 on the right), then sum all values. For example, 2A in hex: (2 × 16¹) + (10 × 16⁰) = 32 + 10 = 42 in decimal.

Worked Example: Convert F hex to dec

1

Start with the value in hexadecimal

F hex

2

Apply the formula

Expand each F digit × 16^position, sum all values

3

Calculate the result

F hex = 15 dec

Hexadecimal to Decimal Examples

0 hex is equal to 0 dec. Using the formula Expand each hexadecimal digit × 16^position, sum all values, 0 hex converts to 0 dec.

1 hex is equal to 1 dec. Using the formula Expand each hexadecimal digit × 16^position, sum all values, 1 hex converts to 1 dec.

A hex is equal to 10 dec. Using the formula Expand each hexadecimal digit × 16^position, sum all values, A hex converts to 10 dec.

F hex is equal to 15 dec. Using the formula Expand each hexadecimal digit × 16^position, sum all values, F hex converts to 15 dec.

10 hex is equal to 16 dec. Using the formula Expand each hexadecimal digit × 16^position, sum all values, 10 hex converts to 16 dec.

1F hex is equal to 31 dec. Using the formula Expand each hexadecimal digit × 16^position, sum all values, 1F hex converts to 31 dec.

20 hex is equal to 32 dec. Using the formula Expand each hexadecimal digit × 16^position, sum all values, 20 hex converts to 32 dec.

40 hex is equal to 64 dec. Using the formula Expand each hexadecimal digit × 16^position, sum all values, 40 hex converts to 64 dec.

Converting Decimal to Hexadecimal

Need the reverse conversion? Use the table below for a quick reference converting decimal back to hexadecimal.

Decimal (dec) Hexadecimal (hex)
0 0
1 1
2 2
7 7
8 8
10 A
See the full Decimal to Hexadecimal converter →

Hexadecimal to Decimal FAQ

What is hexadecimal?

Hexadecimal is a base-16 number system using digits 0-9 and letters A-F (where A=10, B=11, C=12, D=13, E=14, F=15).

What is 0xFF in decimal?

0xFF in hexadecimal equals 255 in decimal. Each F represents 15, so FF = (15 × 16) + 15 = 255.

Understanding Hexadecimal and Decimal

What is a Hexadecimal (hex)?

The hexadecimal (hex) is a specialized unit of number systems. It is commonly abbreviated as hex and relates to decimal by a factor of 1.

What is a Decimal (dec)?

The decimal (dec) is a specialized unit of number systems. It is commonly abbreviated as dec and relates to hexadecimal by a factor of 1.

Related Conversions