Welcome to our Hexadecimal to Decimal Converter.

This converter will convert from hexadecimal numbers to decimal, or from decimal numbers to hexadecimal (base 16).

Our converter will also show you detailed working out so you can create your own worked examples!

How To Use our Converter

## Converting from Hexadecimal to Decimal

How to convert hexadecimal to decimal

To convert a hexadecimal number (base-16) to the decimal (base-10) number system, we need to use hexadecimal place value to add the base-16 value of each digit.

In the hexadecimal place value system, each time you move a place to the left, the value increases by a factor of 16.

In hexadecimal, the digit values go from zero to 15, with the letters A, B, C, D, E and F representing the numbers 10, 11, 12, 13, 14 and 15 respectively. This table above shows the number 4C50E in the hexadecimal number system.

We can also write this as (4C50E)16.

### Convert Hexadecimal to Decimal Worked Examples

1) Convert 2c7 from hexadecimal to decimal.

Step 1) Write down the place value of each digit.

162 161 160
256 16 1
2 12 7

Step 2) Add up the place value of each digit.

256x2 + 16xc + 1x7

= 512 + 192 + 7 = 711

So 2c7 in hexadecimal is equal to 711 in decimal.

Or we could say (2c7)16 = (711)10

2) Convert 1a7d from hexadecimal into decimal.

Step 1) Write down the place value of each digit.

163 162 161 160
4096 256 16 1
1 10 7 13

Step 2) Add up the place value of each digit.

4096x1 + 256x10 + 16x7 + 1x13

4096 + 2,560 + 112 + 13 = 6781

So 1a7d in hexadecimal is equal to 6781.

Or we could say (1a7d)16 = (6781)10

## Convert from Decimal to Hexadecimal

How to convert from decimal to hexadecimal

To convert a decimal number (base-10) to the hexadecimal (base-16) number system, we need to change the decimal base-10 place value into hexadecimal base-16 place value.

We can do this in different ways by using division and looking at quotients and remainders.

The best way to see this is to look at some worked examples .

### Convert Decimal to Hexadecimal Worked Examples

Example 1) Convert 330 from decimal to hexadecimal.

Step 1) Look at what hexadecimal place values we need.

The powers of 16 are 1, 16, 256, 4096, 65536, ...

Our value is just 330, so the powers of 16 we need are 1, 16 and 256 (up to 162).

Step 2) Divide 330 by the highest place value number.

So we now divide 330 by 256 = 1 r. 74

The quotient tells us what number goes into with the place value of 256, which is 1.

162 161 160
256 16 1
1 ? ?

Step 3) We now divide the remainder by the next (lower) power of 16.

So we have 74 ÷ 16 = 4 r. 10

The quotient us what number goes with the place value of 16, which is 4.

162 161 160
256 16 1
1 4 ?

Step 4) Divide the remainder by the next (lower) power of 16.

So we have 10 ÷ 1 = 10 (which is A in hexadecimal)

This tells us which number goes with the place value of 1s which is A.

162 161 160
256 16 1
1 4 A

Step 5) Put your place value parts together.

Our number 330 = 256x1 + 16x4 + 1x10.

Or we could say that (330)10 = (14A)16

Example 2) Convert 8637 from decimal to hexadecimal.

Step 1) Look at what hexadecimal place values we need.

The powers of 16 are 1, 16, 256, 4096, 65536, ...

Our value is 8637, so the powers of 16 we need are 1, 16, 256 and 4096(up to 163).

Step 2) Divide 8637 by the highest place value number.

So we now divide 8637 by 4096 = 2 r. 445

The quotient tells us what number goes into with the place value of 4096, which is 2.

163 162 161 160
4096 256 16 1
2 ? ? ?

Step 3) We now divide the remainder by the next (lower) power of 16.

So we have 445 ÷ 256 = 1 r 189

The quotient us what number goes with the place value of 256, which is 1.

163 162 161 160
4096 256 16 1
2 1 ? ?

Step 4) We now divide the remainder by the next (lower) power of 16.

So we have 189 ÷ 16 = 11 r. 13

The quotient us what number goes with the place value of 16, which is 11 (or B in hexadecimal).

163 162 161 160
4096 256 16 1
2 1 B ?

Step 5) We now divide the remainder by the next (lower) power of 16.

So we have 13 ÷ 1 = 13

The quotient us what number goes with the place value of 1s, which is 13 (or D in hexadecimal).

163 162 161 160
4096 256 16 1
2 1 B D

Step 6) Put your place value parts together.

Our number 8637 = 4096x2 + 256x1 + 16x11 + 1x13.

Or we could say (8637)10 = (21BD)16

### More Recommended Math Resources

Take a look at some more of our resources similar to our mm to inches conversion calculator.

### Prime Number Calculators

How to Print or Save these sheets

Need help with printing or saving?
Follow these 3 easy steps to get your worksheets printed out perfectly!

How to Print or Save these sheets

Need help with printing or saving?
Follow these 3 easy steps to get your worksheets printed out perfectly!

### Math Salamanders Shop

Looking for some fun printable math games?

We have some great games for you to play in our Math Games e-books!

### NEW Online Age Calculator

Do you know how old you are...in weeks? days? hours?

Are you more than a million minutes old?

Find out how old you are to the nearest second!

### New Math Sheets & Resources Check out our LATEST webpages.

### Some of our TOP pages!

Have a look at some of our most popular pages to see different Math activities and ideas you could use with your child

### Support Us

If you are a regular user of our site and appreciate what we do, please consider making a small donation to help us with our costs.

Get a free sample copy of our Math Salamanders Dice Games book with each donation!

### FUN Math Games

Looking for a fun and motivating way to learn and practice math skills?

Why not try one of our free printable math games with your students!