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 | c=12 | 7 |

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

(2 x 256) + (12 x 16) + (7 x 1)

= 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 | a=10 | 7 | 13 |

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

(1 x 4096) + (10 x 256) + (7 x 16) + (13 x 1)

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 = (1 x 256) + (4 x 16) + (10 x 1).

So the number 330 in hexadecimal 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 = (2 x 4096) + (1 x 256) + (11 x 16) + (13 x 1).

So the number 8637 in hexadecimal 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.

- mm to inches converter
- cm to inches converter
- feet and inches to cm converter
- height conversion calculator

- kph to mph conversion
- mph to kph conversion calculator
- knots to mph conversion
- mph to knots conversion

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 steps to get your worksheets printed perfectly!

How to Print or Save these sheets

Need help with printing or saving?

Follow these 3 steps to get your worksheets printed 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.

## New! Comments

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