Hexadecimal to Decimal
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!

Hexadecimal to Decimal Converter

hexadecimal to decimal calculator

hexadecimal

  Answer  

decimal

 
 
   


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.


Hexadecimal to Decimal Converter Quick Table

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

Hexadecimal Decimal
00
11
22
33
44
55
66
77
88
99
A10
B11
C12
D13
E14
F15
1016

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.

hexadecimal place value image

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

163 162 161 160
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

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

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 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 = (2 x 4096) + (1 x 256) + (11 x 16) + (13 x 1).

So our hexadecimal answer is 21BD.

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.

Other Number System Converters

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!

Popular Conversion Calculators

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

Prime Number Calculators

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.

Need to Learn More about Hexadecimal Numbers

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

how to print information image printer

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

how to print information image printer

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

Math-Salamanders.com

Math Salamanders Main Logo

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.
 

Math Salamanders Shop

math salamanders shop logo

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

Online Age Calculator image

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 Fraction Calculators

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!

Adding Fractions Calculator image Subtracting Fractions Calculator image Multiply Fractions Calculator image Divide Fractions Calculator image

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

Math Games Learning Games Captain Salamander

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!