ALL >> Education >> View Article
Convert Decimal Numbers To Hexadecimal Numbers
Most people will never have a need for this conversion but if you work in software development, IT, computer hardware or a slew of other areas surrounding the computer industry, you at some point will need to know how to do this.
As complex as it might sounds there is a very easy algorithm that you can use in order to figure out what the hexadecimal number equivalent is when given a decimal number.
As you might know decimal is base ten. It is the standard numbering system that is used everywhere in the world. Hexadecimal is base sixteen. From numbers one through nine they look identical, however once reach ten this is where it differs. Below is the decimal to hex conversion for numbers 1 through 15:
1 through 9 decimal = 1 through 9 Hex, (i.e. 1=1, 2=2, etc)
Decimal Number 10 = Hexadecimal Letter A
Decimal Number 11 = Hexadecimal Letter B
Decimal Number 12 = Hexadecimal Letter C
Decimal Number 13 = Hexadecimal Letter D
Decimal Number 14 = Hexadecimal Letter E
Decimal Number 15 = Hexadecimal Letter F
As you can see if you were converting a number from one ...
... through 15 it would be easy, but what if you had to convert say decimal number 3488 to its Hex equivalent. It's easier than you think; here is how it is done.
In this article we represent division as the backslash ( / ). The backslash is commonly used in programming languages to represent division so I will use it here.
So our number to convert is 3488. The first step is to divide 3488 by 16. Remember Hex is base 16 so that is where we get the number from.
3488/16 = 218 with a remainder of 0 (zero)
Make a note of the number zero, that is part of our answer. The next step is to see if our answer is greater than or equal to 16. Well 218 is therefore we need to continue. Our next step is to divide 218 by 16.
218/16 = 13 with a remainder of 10
Again make a note of the number 10. That too is part of our answer. You can probably see where I am going with this. As long as the answer is greater than or equal to 16 you will keep dividing the answer by 16 until it is less than 16. Low and behold we are at that point in our example because 13 is less than 16. What do you do now? Well you have now have your answer and it looks like this:
13 10 0
But remember in Hex we only count numbers up through 9 and then use letters for 10 through 15. Therefore we have to convert the numbers greater than 9 in our answer to its letter equivalent. So for the answer we have:
13 = D
10 = A
0 = 0
So our final answer is DA0. You can confidently say that the Hex equivalent for decimal number 3488 is DA0.
You are now fully equipped to convert any decimal number to its Hex equivalent. Happy calculations!
About the Author:
Mr. Tucker is a regular contributor on Bukisa, an online community for writers that pays them for their articles. You can also follow Bruce on Twitter.
Add Comment
Education Articles
1. How Mock Tests Help Students Prepare More Effectively For NeetAuthor: Sarthaks eConnect
2. How Indian Students Can Avoid Singapore Student Visa Rejection In 2026
Author: Nivesa EdTech
3. Ai Stack Course In Hyderabad | Ai Stack Training In Ameerpet
Author: Hari
4. The Celestial Rhythm: Understanding Mawaqit Al-salat (islamic Prayer Times)
Author: Sophia Eddi
5. The Rising Importance Of Data Science Skills In Ahmedabad’s Emerging It Landscape
Author: Arun
6. Ai Product Management | Ai Product Management Training Course
Author: Visualpath
7. Ai & Coding Training For Std 7 To 10 - Building Future Innovators With Smart Learning - Evision Technoserve
Author: Evision Technoserve
8. Proqual Level 7 Nvq: Elevate Your Safety Career Today
Author: Gulf Academy Safety
9. Join Sap Cpi Training In Hyderabad And Build Cpi Skills
Author: Pravin
10. Dryer Duct Booster Fan In Queens County: The Secret To Faster Drying And Better Home Safety
Author: cleanairrepair1
11. Synopsys To Hold Annual User Group Conference On June 18 In Bengaluru
Author: Madhulina
12. Best Areas In Pune For Students Learning Tech Courses 2026
Author: Fusionsoftwareinstitute
13. Pmi-pba Certification: The Ultimate Path To Becoming A High-impact Business Analysis Professional
Author: NYTCC
14. Capm Certification: Your First Step Toward A Successful Project Management Career
Author: Passyourcert
15. How To Start A Nursing Career From Scratch: A Complete Beginner's Guide
Author: Richard






