Hexadecimal to Decimal - Chart, Formula, Examples (2024)

Hexadecimal to Decimal - Chart, Formula, Examples (1)

Home » Math Vocabulary » Hexadecimal to Decimal Conversion – Steps, Chart, Facts, Examples

  • How to Convert Hexadecimal to Decimal
  • Hexadecimal to Decimal Conversion Examples
  • Solved Examples on Hexadecimal to Decimal Conversion
  • Practice Problems on Hexadecimal to Decimal Conversion
  • Frequently Asked Questions on Hexadecimal to Decimal Conversion

What Is the Hexadecimal to Decimal Conversion?

The hexadecimal to decimal conversion is used to convert numbers from the base-16 number system to base-10 number system.

What Is the Hexadecimal Number System?

The base of a hexadecimal number system is 16. It uses the 16 symbols given by 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F to write all the numbers. The place values in the hexadecimal number system are defined in terms of powers of 16.

What Is the Decimal Number System?

Decimal number system is a base-10 number system that uses digits from 0 to 9 for representing a number with base 10. The place values are defined in terms of powers of 10.

Hexadecimal to Decimal Chart

The decimal values for the digits 0 to 9 remain the same, while the letters A to F represent decimal values 10 to 15, respectively. This table is helpful in converting hexadecimal numbers to decimal.

HexadecimalDecimal(Equivalent Value)
00
11
22
33
44
55
66
77
88
99
A10
B11
C12
D13
E14
F15

Hexadecimal to Decimal - Chart, Formula, Examples (2)Begin here

Hundredths to tenths

Add Decimal Fractions Using Equivalence Game

Play

Add Decimals

Add Decimals (Greater than 1) Using Model Game

Play

Add Decimals

Add Decimals (Less than 1) Using Model Game

Play

Add Decimals

Add Decimals with Regrouping Game

Play

Add Decimals

Add Decimals without Regrouping Game

Play

Order decimals

Arrange the Decimal Numbers From Smallest to Greatest Game

Play

Decimal Place Value

Build Decimal Numbers up to Hundredths Game

Play

Identify tenths

Change Decimal Numbers into Fractions Game

Play

Convert Decimals to Fractions

Change Decimals from Word Form to Fraction Form Game

Play

How to Convert Hexadecimal to Decimal

Step 1: Assign decimal values to each hexadecimal digit using the table given. The decimal values for the digits 0 to 9 remain the same, while the letters A to F represent decimal values 10 to 15, respectively.

Step 2: Starting from the rightmost digit, multiply each digit by the corresponding power of 16 (16 raised to the power of its position). The rightmost digit has a position of 0, the next digit to the left has a position of 1, and so on.

Hexadecimal to Decimal - Chart, Formula, Examples (13)

Step 3: Sum up the products obtained in step 2 to get the decimal equivalent.

Related Worksheets

ViewViewViewViewViewViewViewViewViewView

Hexadecimal to Decimal Conversion Examples

Let’s discuss a few examples to understand the steps we discussed in the previous section.

Example 1: Convert $(36)_{16}$ into decimal form.

$(3 \times 6)_{16} = (3 \times 16^{1}) + (6 \times 16^{0})$

$(36)_{16} = 3 \times 16 + 6$

$(36)_{16} = 48 + 6$

So, $(36)_{16} = (54)_{10}$

Example 2: $(2A5D)_{16}$

In this example, we will first obtain the decimal equivalent for the symbol A and D from the conversion table given below.

A = 10, D = 13

Thus, $(2A5D)_{16} = (2 \times 16^{3})+(10 \times 16^{2}) + (5 \times 16^{1}) + (13 \times 16^{0})$

$(2A5D)_{16} = (2 \times 4096) + (10 \times 256) + (5 \times 16) + (13 \times 1)$

$(2A5D)_{16} = (10845)_{10}$

Facts about Hexadecimal to Decimal Conversion

  • To convert a hexadecimal number to decimal, each digit is multiplied by the corresponding power of 16 and then the products are added together. The rightmost digit represents the units place, the next digit to the left represents the 16s place, the next digit represents the 256s place, and so on.
  • The decimal equivalent of the hexadecimal digit “A” is 10, “B” is 11, “C” is 12, “D” is 13, “E” is 14, and “F” is 15.
  • Hexadecimal numbers are often prefixed with “0x” to indicate that they are in the hexadecimal format. For example, 0x5AB represents the hexadecimal number 5AB.
  • In the hexadecimal to decimal conversion, it is important to know the powers of 16.
    Here are the first six powers of 16 starting from 0.
    160 = 1
    161 = 16
    162 = 256
    163 = 4,096
    164 = 65,536
    165 = 1,048,576
  • Hex color code, also known as hexadecimal color code, is a representation of colors using a combination of six hexadecimal digits. The format of a hex color code is #RRGGBB, where RR represents the intensity of red, GG represents the intensity of green, and BB represents the intensity of blue. For example, #FF0000 represents pure red.

Conclusion

In this article, we learned about hexadecimal to decimal conversion. Understanding this conversion allows us to work with hexadecimal numbers more efficiently. Let’s reinforce our knowledge with practice examples and MCQs for better comprehension. Happy converting!

Solved Examples on Hexadecimal to Decimal Conversion

1. Convert (4B6)16 into a decimal system.

Solution:

In the Hexadecimal system,

4 = 4, B = 11, and 6 = 6

$(4B6)_{16} = (4 \times 16^{2}) + (11 \times 16^{1}) + (6 \times 16^{0})$

$(4B6)_{16} = (4 \times 256) + (11 \times 16) + (6 \times 1)$

$(4B6)_{16} = 1024 + 176 + 6$

$(4B6)_{16} = (1206)_{10}$

2. What is the value of $(5D)_{16}$ in the decimal system?

Solution:

5 = 5 and D = 13

$(5D)_{16} = (5 \times 16^{1}) + (13 \times 16^{0})$

$(5D)_{16} =80 + 13$

$(5D)_{16} = (93)_{10}$

3. Convert $(FA9)_{16}$ into a decimal system.

Solution:

F = 15, A = 10 and 9 = 9

$(FA9)_{16} = (15\times 16^{2}) + (10 \times 16^{1}) + (9 \times 16^{0})$

$(FA9)_{16} = 15 \times 256 + 10 \times 16 + 9$

$(FA9)_{16} = 3840 + 160 + 9$

$(FA9)_{16} = (4009)_{10}$

4. What is the value of $1B8E_{16}$ in the decimal system?

Solution:

1 = 1, B = 11 , 8 = 8 and E = 14

$(1B8E)_{16} = (1\times 16^{3}) + (11\times 16^{2}) + (8 \times 16^{1}) + (14 \times 16^{0})$

$(1B8E)_{16} = (1 \times 4096) + (11 \times 256) + (8 \times 16) + 14$

$(1B8E)_{16} = 4096 + 2816 + 128 + 14$

$(1B8E)_{16} = (7054)_{10}$

5. Convert $5CD81_{6}$ in the decimal system.

Solution:

5 = 5, C = 12, D = 13, and 8 = 8

$(5CD8)_{16} = (5 \times 16^{3}) + (12\times 16^{2}) + (13 \times 16^{1}) + (8 \times 16^{0})$

$(5CD8)_{16} = (5 \times 4096) + (12 \times 256) + (13 \times 16) + 8$

$(5CD8)_{16} = 20,480 + 3,072 + 208 + 8$

$(5CD8)_{16} =(23,768)_{10}$

Practice Problems on Hexadecimal to Decimal Conversion

1

The hexadecimal number $16_{16}$ represents the decimal number ____ .

10

16

22

17

CorrectIncorrect

Correct answer is: 22
$16_{16} = 1 \times 16^{1} + 6 \times 16^{0}$
$16_{16} = 16 + 61$
$16_{16} = 22_{10}$

2

On converting $(6AB)_{16}$ in the decimal system, we get ___.

$(1147)_{10}$

$(1307)_{10}$

$(1350)_{10}$

$(1707)_{10}$

CorrectIncorrect

Correct answer is: $(1707)_{10}$
$(6AB)_{16} = (6 \times 16^{2} + 10 \times 16^{1} + 11 \times 16^{0})$
$(6AB)_{16} = 6 \times 256 + 10 \times 16 + 11$
$(6AB)_{16} =(1707)_{10}$

3

On converting $(CD6)_{16}$ in the decimal system, we get ___.

$(3286)_{10}$

$(2666)_{10}$

$(2576)_{10}$

$(3567)_{10}$

CorrectIncorrect

Correct answer is: $(3286)_{10}$
$(CD6)_{16} = (12 \times 16^{2} + 13 \times 16^{1} + 6 \times16^{0})$
$(CD6)_{16} = 12 \times 256 + 13 \times 16 + 6$
$(CD6)_{16} = 3072 + 208 + 6$
$(CD6)_{16} =(3286)_{10}$

4

Convert $(187F)_{16}$ in the decimal system.

$(5701)_{10}$

$(6271)_{10}$

$(6891)_{10}$

$(5801)_{10}$

CorrectIncorrect

Correct answer is: $(6271)_{10}$
$(187F)_{16} = (1 \times 16^{3} + 8 \times 16^{2} + 7 \times 16^{1} + 15 \times 16^{0})$
$(187F)_{16} =4096 + 8 \times 256 + 7 \times 16 + 15$
$(187F)_{16} = 4096 + 2048 + 112 + 15$
$(187F)_{16} = (6271)_{10}$

Frequently Asked Questions on Hexadecimal to Decimal Conversion

There’s no specific formula for the conversion. To convert a hexadecimal number into decimal, multiply each digit with the corresponding power of 16 (starting from the rightmost digit multiplied by 160). Finally add up the products.

We use the base of a hexadecimal system as 16. Each digit is 16 times more significant than the previous digit. We use the base of a binary system as 8. Each digit is 8 times more significant than the previous digit.

Divide the decimal number by 16 repeatedly till you get the quotient value equal to zero. At every step, note down the quotient and remainder. To find the equivalent hexadecimal number, write the remainders in the reverse order (bottom to top).

Hexadecimal notation FFFF equals 65535 in decimal value

Hexadecimal to Decimal - Chart, Formula, Examples (2024)

FAQs

How to convert hexadecimal to decimal formula? ›

Conversion From Hex to Decimal
  1. 2A316 = 2 * 16² + 10 * 16¹ + 3 * 16º = 67510.
  2. Convert (7CF)16 to decimal number.
  3. Accordingly, (7CF)16 can be expressed as:
  4. (7CF)16 = (7* 16²) + (12 * 16¹) + (15 * 16⁰)
  5. Therefore, (7CF)16 = (19999)10.
  6. Convert (2C7)16 to decimal number.
  7. (2C7)16 = (2 * 16²) + (12 * 16¹) + (7 * 16⁰)

What is the easiest way to convert decimal to hexadecimal? ›

Method for Decimal to Hexadecimal Number System Conversion:

Step-1: First, divide the given number by 16. Step-2: The remainder left here, will produce the hex value. Step-3: Take the quotient from above and repeat steps 1-3 till quotient becomes 0. Step-4: Write all the remainders in reverse order.

How do you convert a decimal to hexadecimal flowchart? ›

  1. Repeatedly divide by 16, and write down the remainders.
  2. Here is an example: convert 1000 (decimal) to hexademical.
  3. 1000 / 16 = 62 r 8.
  4. 62 / 16 = 3 r 14 (or “E”, in hexadecimal)
  5. 3 / 16 = 0 r 3.
  6. Now, write the digits down from bottom to top. In this case, you get: 3E8.
Sep 20, 2021

How to convert decimal to hexadecimal calculator with steps? ›

1. How to convert Decimal to Hex?
  1. Divide the number by 16.
  2. Get the integer quotient for the next iteration.
  3. Get the remainder for the hex digit.
  4. Repeat the steps until the quotient is equal to 0.
Sep 2, 2023

What is the formula to convert decimal to hexadecimal in Excel? ›

The DEC2HEX function syntax has the following arguments: Number Required. The decimal integer you want to convert. If number is negative, places is ignored and DEC2HEX returns a 10-character (40-bit) hexadecimal number in which the most significant bit is the sign bit.

How do you convert hex to decimal in Visual Basic? ›

To convert a hexadecimal string to a number

Use the ToInt32(String, Int32) method to convert the number expressed in base-16 to an integer. The first argument of the ToInt32(String, Int32) method is the string to convert. The second argument describes what base the number is expressed in; hexadecimal is base 16.

What is f in hexadecimal? ›

Use the decimal value for each hexadecimal digit. For 0-9, it is the same, but A = 10, B = 11, C = 12, D = 13, E = 14, and F = 15.

How do you convert binary to hexadecimal to decimal? ›

The binary number can be converted to a decimal number by expressing each digit as a product of the given number 1 or 0 to the respective power of 2. And to convert from decimal to hexadecimal we divide the number 16 until the quotient is zero.

How do you convert hexadecimal to decimal color? ›

Get the 2 left digits of the hex color code and convert to decimal value to get the red color level. Get the 2 middle digits of the hex color code and convert to decimal value to get the green color level. Get the 2 right digits of the hex color code and convert to decimal value to get the blue color level.

How do you convert hex to decimal in go? ›

Algorithm
  1. Step 1 − import the package fmt, strconv, and strings.
  2. Step 2 − Start the main () function.
  3. Step 3 − Initialize the hexadecimal numbers to convert to decimal.
  4. Step 4 − Pass the hexadecimal value through strconv. ParseInt() function.
  5. Step 5 − Finally print the decimal integer using fmt package.
Nov 16, 2022

Top Articles
Study tips: How to stay focused
Is It Safe to Eat Moldy Bread?
Mickey Moniak Walk Up Song
Xre-02022
Victor Spizzirri Linkedin
Printable Whoville Houses Clipart
Asist Liberty
Wordscapes Level 5130 Answers
³µ¿Â«»ÍÀÇ Ã¢½ÃÀÚ À̸¸±¸ ¸íÀÎ, ¹Ì±¹ Ķ¸®Æ÷´Ï¾Æ ÁøÃâ - ¿ù°£ÆÄ¿öÄÚ¸®¾Æ
Prosper TX Visitors Guide - Dallas Fort Worth Guide
Ati Capstone Orientation Video Quiz
Bloxburg Image Ids
Beds From Rent-A-Center
Craigslist Estate Sales Tucson
Crusader Kings 3 Workshop
New Mexico Craigslist Cars And Trucks - By Owner
Wnem Radar
Lenscrafters Huebner Oaks
Animal Eye Clinic Huntersville Nc
Hca Florida Middleburg Emergency Reviews
Otterbrook Goldens
Troy Bilt Mower Carburetor Diagram
Ubg98.Github.io Unblocked
Noaa Duluth Mn
Violent Night Showtimes Near Century 14 Vallejo
Pocono Recird Obits
Elbert County Swap Shop
Rogue Lineage Uber Titles
Miles City Montana Craigslist
Cowboy Pozisyon
Past Weather by Zip Code - Data Table
Jt Closeout World Rushville Indiana
Aladtec Login Denver Health
Www.craigslist.com Syracuse Ny
Reli Stocktwits
2008 Chevrolet Corvette for sale - Houston, TX - craigslist
Imperialism Flocabulary Quiz Answers
Keeper Of The Lost Cities Series - Shannon Messenger
Weapons Storehouse Nyt Crossword
Gvod 6014
R/Moissanite
Sun Tracker Pontoon Wiring Diagram
Courtney Roberson Rob Dyrdek
Craigslist Antique
M&T Bank
RubberDucks Front Office
Hillsborough County Florida Recorder Of Deeds
Whitney Wisconsin 2022
Scott Surratt Salary
Factorio Green Circuit Setup
Ihop Deliver
Latest Posts
Article information

Author: Chrissy Homenick

Last Updated:

Views: 6703

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Chrissy Homenick

Birthday: 2001-10-22

Address: 611 Kuhn Oval, Feltonbury, NY 02783-3818

Phone: +96619177651654

Job: Mining Representative

Hobby: amateur radio, Sculling, Knife making, Gardening, Watching movies, Gunsmithing, Video gaming

Introduction: My name is Chrissy Homenick, I am a tender, funny, determined, tender, glorious, fancy, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.