Converter

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

Here is our hexadecimal to decimal converter which will help you to convert hexadecimal to decimal and decimal to hexadecimal.

Our hexadecimal to decimal converter will also show you the formula and working out you need to convert between units.

Hexadecimal to Decimal Converter: How It Works...

Step 1) Choose which calculator you want - hexadecimal to decimal or decimal to hexadecimal

Step 2) Type in the number you want to convert.

Step 3) Click the Convert button and the answer will be displayed.

This quick conversion table converts hexadecimal numbers up to the value of (10)_{16} into decimal.

Hexadecimal | Decimal |
---|---|

0 | 0 |

1 | 1 |

2 | 2 |

3 | 3 |

4 | 4 |

5 | 5 |

6 | 6 |

7 | 7 |

8 | 8 |

9 | 9 |

A | 10 |

B | 11 |

C | 12 |

D | 13 |

E | 14 |

F | 15 |

10 | 16 |

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}.

1) Convert 2c7 from hexadecimal to decimal.

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

16^{2} |
16^{1} |
16^{0} |
---|---|---|

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.

16^{3} |
16^{2} |
16^{1} |
16^{0} |
---|---|---|---|

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}

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 .

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 16^{2}).

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.

16^{2} |
16^{1} |
16^{0} |
---|---|---|

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.

16^{2} |
16^{1} |
16^{0} |
---|---|---|

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.

16^{2} |
16^{1} |
16^{0} |
---|---|---|

256 | 16 | 1 |

1 | 4 | A |

Step 5) Put your place value parts together.

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

So our hexadecimal answer is 14A.

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 16^{3}).

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.

16^{3} |
16^{2} |
16^{1} |
16^{0} |
---|---|---|---|

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.

16^{3} |
16^{2} |
16^{1} |
16^{0} |
---|---|---|---|

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).

16^{3} |
16^{2} |
16^{1} |
16^{0} |
---|---|---|---|

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).

16^{3} |
16^{2} |
16^{1} |
16^{0} |
---|---|---|---|

4096 | 256 | 16 | 1 |

2 | 1 | B | D |

Step 6) Put your place value parts together.

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

So our hexadecimal answer is 21BD.

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

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

Our number system converters will convert numbers from binary, octal or hexadecimal into decimal (or from decimal to binary, octal or hex).

The calculators also show you detailed working out so you can see how to do it yourself!

Here are some of our specific online calculators for converting between two units of measure.

Our prime number calculator will help you to find all the factors of any given number and tell you whether or not the number you are looking at is prime or not.

The calculator will also show you your number as a product of primes.

If you want to learn more about hexadecimal numbers, take a look at this article in the kiddle encyclopedia!

The article talks about the history of hexadecimal numbers, hexadecimal arithmetic and has some other facts too!

Using the link below will open the kiddle webpage in a new browser window.

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!

The Math Salamanders hope you enjoy using these free printable Math worksheets and all our other Math games and resources.

We welcome any comments about our site or worksheets on the Facebook comments box at the bottom of every page.

Looking for some fun printable math games?

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

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!

We have updated and improved our fraction calculators to show you how to solve your fraction problems step-by-step!

Take a look and try them out!

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

- Reverse Percentage Calculator
- List of Geometric Shapes
- Equivalent Fractions
- 3d Geometric Shapes
- Perimeter Worksheets

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!

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!

## New! Comments

Have your say about the Math resources on this page! Leave me a comment in the box below.