SlideShare a Scribd company logo
1 of 4
Hexadecimal Number
to Decimal Number
Conversion
Mukesh N. Tekwani
4
To speed up calculations, you may want to remember these powers of 16:
160 = 1
161 = 16
162 = 256
163 = 4096
164 = 65536
1
16
= 0.0625 = 6.25 x 10-2
1
162 = 0.0039 = 3.9 x 10-3
1
163 = 0.000244 = 2.44 x 10-4
Hexadecimal Numbers – Power Tip
Mukesh N. Tekwani
Hexadecimal Number to Decimal Number Conversion – Example 1
Convert the hexadecimal number (B41A)16 to its decimal equivalent.
Solution:
In this example, the LSD has the weight 160, the next digit has weight 161, and then
the MSD has the weight 163.
(B41A)16 = (B x 163) + (4 x 162) + (1 x 161) + (A x 160)
(B41A)16 = (11 x 4096) + (4 x 256) + (1 x 16) + (10 x 1)
(B41A)16 = 45056 + 1024 + 16 + 10 = (46106)10
(B41A)16 = (46106)10
Mukesh N. Tekwani
LSDMSD
Hexadecimal
Number
Decimal
Number
0, 1, 2,…9 0, 1, 2,…9
A 10
B 11
C 12
D 13
E 14
F 15
Convert the hexadecimal number (CAB.13)16 to its decimal equivalent.
Convert the integral part CAB to
decimal:
(CAB)16 = (C x 162) + (A x 161) + (B x 160)
(CAB)16 = (12 x 162) + (10 x 161) + (11 x 160)
(CAB)16 = (12 x 256) + (10 x 16) + (11 x 1)
(CAB)16 = (3072) + (160) + (11)
(CAB)16 = (3243)10
Convert the fractional part (0.13) to
decimal:
(0.13)16 =
1
16
+
3
162
(0.13)16 = 0.0625 + 0.01172
(0.13)16 = (0.07422)10
Hexadecimal Number to Decimal Number Conversion – Example 2
Mukesh N. Tekwani
So (CAB.13)16 = (3243.07422)10

More Related Content

What's hot

Number system
Number systemNumber system
Number system
kashee99
 

What's hot (20)

Number system
Number systemNumber system
Number system
 
Binary code
Binary codeBinary code
Binary code
 
01.number systems
01.number systems01.number systems
01.number systems
 
Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)Number System (Binary,octal,Decimal,Hexadecimal)
Number System (Binary,octal,Decimal,Hexadecimal)
 
Octal and Hexadecimal Numbering Systems
Octal and Hexadecimal Numbering SystemsOctal and Hexadecimal Numbering Systems
Octal and Hexadecimal Numbering Systems
 
Octal COnversion
Octal COnversionOctal COnversion
Octal COnversion
 
Boolean Function SOP & POS
Boolean Function SOP &  POSBoolean Function SOP &  POS
Boolean Function SOP & POS
 
Number system
Number systemNumber system
Number system
 
Lesson 1.3 properties of real numbers
Lesson 1.3   properties of real numbersLesson 1.3   properties of real numbers
Lesson 1.3 properties of real numbers
 
Slide03 Number System and Operations Part 1
Slide03 Number System and Operations Part 1Slide03 Number System and Operations Part 1
Slide03 Number System and Operations Part 1
 
Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversion
 
Number system
Number system Number system
Number system
 
Changing decimals to fraction
Changing decimals to fractionChanging decimals to fraction
Changing decimals to fraction
 
Number System
Number SystemNumber System
Number System
 
W 9 numbering system
W 9 numbering systemW 9 numbering system
W 9 numbering system
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
Conversion binary to decimal
Conversion binary to decimalConversion binary to decimal
Conversion binary to decimal
 
Math unit16 data presentation
Math unit16 data presentationMath unit16 data presentation
Math unit16 data presentation
 
11 octal number system
11   octal number system11   octal number system
11 octal number system
 
Number bases
Number basesNumber bases
Number bases
 

More from Mukesh Tekwani

More from Mukesh Tekwani (20)

Computer Science Made Easy - Youtube Channel
Computer Science Made Easy - Youtube ChannelComputer Science Made Easy - Youtube Channel
Computer Science Made Easy - Youtube Channel
 
The Elphinstonian 1988-College Building Centenary Number (2).pdf
The Elphinstonian 1988-College Building Centenary Number (2).pdfThe Elphinstonian 1988-College Building Centenary Number (2).pdf
The Elphinstonian 1988-College Building Centenary Number (2).pdf
 
Circular motion
Circular motionCircular motion
Circular motion
 
Gravitation
GravitationGravitation
Gravitation
 
ISCE-Class 12-Question Bank - Electrostatics - Physics
ISCE-Class 12-Question Bank - Electrostatics  -  PhysicsISCE-Class 12-Question Bank - Electrostatics  -  Physics
ISCE-Class 12-Question Bank - Electrostatics - Physics
 
Hexadecimal to binary conversion
Hexadecimal to binary conversion Hexadecimal to binary conversion
Hexadecimal to binary conversion
 
Hexadecimal to octal conversion
Hexadecimal to octal conversionHexadecimal to octal conversion
Hexadecimal to octal conversion
 
Gray code to binary conversion
Gray code to binary conversion Gray code to binary conversion
Gray code to binary conversion
 
What is Gray Code?
What is Gray Code? What is Gray Code?
What is Gray Code?
 
Decimal to Binary conversion
Decimal to Binary conversionDecimal to Binary conversion
Decimal to Binary conversion
 
Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21Video Lectures for IGCSE Physics 2020-21
Video Lectures for IGCSE Physics 2020-21
 
Refraction and dispersion of light through a prism
Refraction and dispersion of light through a prismRefraction and dispersion of light through a prism
Refraction and dispersion of light through a prism
 
Refraction of light at a plane surface
Refraction of light at a plane surfaceRefraction of light at a plane surface
Refraction of light at a plane surface
 
Spherical mirrors
Spherical mirrorsSpherical mirrors
Spherical mirrors
 
Atom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atomAtom, origin of spectra Bohr's theory of hydrogen atom
Atom, origin of spectra Bohr's theory of hydrogen atom
 
Refraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lensesRefraction of light at spherical surfaces of lenses
Refraction of light at spherical surfaces of lenses
 
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGEISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
ISCE (XII) - PHYSICS BOARD EXAM FEB 2020 - WEIGHTAGE
 
Cyber Laws
Cyber LawsCyber Laws
Cyber Laws
 
XML
XMLXML
XML
 
Social media
Social mediaSocial media
Social media
 

Recently uploaded

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 

Recently uploaded (20)

Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 

Hexadecimal to decimal conversion

  • 1. Hexadecimal Number to Decimal Number Conversion Mukesh N. Tekwani 4
  • 2. To speed up calculations, you may want to remember these powers of 16: 160 = 1 161 = 16 162 = 256 163 = 4096 164 = 65536 1 16 = 0.0625 = 6.25 x 10-2 1 162 = 0.0039 = 3.9 x 10-3 1 163 = 0.000244 = 2.44 x 10-4 Hexadecimal Numbers – Power Tip Mukesh N. Tekwani
  • 3. Hexadecimal Number to Decimal Number Conversion – Example 1 Convert the hexadecimal number (B41A)16 to its decimal equivalent. Solution: In this example, the LSD has the weight 160, the next digit has weight 161, and then the MSD has the weight 163. (B41A)16 = (B x 163) + (4 x 162) + (1 x 161) + (A x 160) (B41A)16 = (11 x 4096) + (4 x 256) + (1 x 16) + (10 x 1) (B41A)16 = 45056 + 1024 + 16 + 10 = (46106)10 (B41A)16 = (46106)10 Mukesh N. Tekwani LSDMSD Hexadecimal Number Decimal Number 0, 1, 2,…9 0, 1, 2,…9 A 10 B 11 C 12 D 13 E 14 F 15
  • 4. Convert the hexadecimal number (CAB.13)16 to its decimal equivalent. Convert the integral part CAB to decimal: (CAB)16 = (C x 162) + (A x 161) + (B x 160) (CAB)16 = (12 x 162) + (10 x 161) + (11 x 160) (CAB)16 = (12 x 256) + (10 x 16) + (11 x 1) (CAB)16 = (3072) + (160) + (11) (CAB)16 = (3243)10 Convert the fractional part (0.13) to decimal: (0.13)16 = 1 16 + 3 162 (0.13)16 = 0.0625 + 0.01172 (0.13)16 = (0.07422)10 Hexadecimal Number to Decimal Number Conversion – Example 2 Mukesh N. Tekwani So (CAB.13)16 = (3243.07422)10