Access free live classes and tests on the app
Download
+
Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA
Login Join for Free
avtar
  • ProfileProfile
  • Settings Settings
  • Refer your friendsRefer your friends
  • Sign outSign out
  • Terms & conditions
  • •
  • Privacy policy
  • About
  • •
  • Careers
  • •
  • Blog

© 2023 Sorting Hat Technologies Pvt Ltd

Watch Free Classes
    • Free courses
    • JEE Main 2024
    • JEE Main 2024 Live Paper Discussion
    • JEE Main Rank Predictor 2024
    • JEE Main College Predictor 2024
    • Stream Predictor
    • JEE Main 2024 Free Mock Test
    • Study Materials
    • Notifications
    • JEE Advanced Syllabus
    • JEE Books
    • JEE Main Question Paper
    • JEE Coaching
    • Downloads
    • JEE Notes & Lectures
    • JEE Daily Videos
    • Difference Between
    • Full Forms
    • Important Formulas
    • Exam Tips
JEE Main 2026 Preparation: Question Papers, Solutions, Mock Tests & Strategy Unacademy » JEE Study Material » Mathematics » Decimal to hex Conversion

Decimal to hex Conversion

In the following article we are going to know about decimal to hex conversion.

Table of Content
  •  

Understand the semantics of the decimal and hexadecimal number systems before converting numbers from decimal to hexadecimal. The base of a decimal number system, also known as a radix, is ten. As a result, it has ten symbols, which are the numerals 0 through 9, i.e. 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. A hexadecimal number system’s base, or radix, is 16. It employs 16 symbols since it is a base-16 numeric system. Ten decimal digits (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) and the first six letters of the English alphabet (A, B, C, D, E, F) are among them.

These letters, on the other hand, are employed to depict the numbers 10, 11, 12, 13, 14, and 15 in a single figure. We study how to convert a decimal number into its equal hexadecimal number system, or how to convert a base 10 number to a base 16 number, in decimal to hex conversion.

Decimal to Hexadecimal Conversion

It is fairly simple to convert decimal numbers to hexadecimal numbers. With the aid of a conversion table, this can be accomplished. If one memorizes this table, converting a decimal number to a hexadecimal number is simple. There is a hexadecimal equivalent for each decimal number from 1 to 15. However, if the decimal value is greater than 15, how do you convert it? Then we’ll have to go through a different process.

If a number is greater than 15, the equivalent hexadecimal number is obtained by dividing the decimal number by 16 and considering the residue. Here are the following steps for conversion.

  • How do I convert a decimal number to a hexadecimal number?

To convert decimal to hexadecimal, use the instructions below to perform some fundamental mathematical calculations.

Step 1: Take the remaining after dividing the supplied decimal number system value by 16.

Step 2: Take the quotient and divide it by 16. Rep this process till the quotient equals 0.

Step 3: In the remainders, use the characters A, B, C, D, E, and F in place of 10, 11, 12, 13, 14, 15, if needed.

Step 4: Arrange all of the values of the remainder using the reverse order pattern.

Step 5: The received number is the hexadecimal number that is required.

The formula for converting decimal to hexadecimal numbers is as follows:

Q16 = P10

P denotes a decimal number, and Q denotes a hexadecimal number.

With the use of a decimal point, you may convert decimal to hexadecimal.

We multiply the fractional part (decimal part) by 16 to convert any fractional number to a hexadecimal number. We multiply the fractional component by 16 until it equals 0 because the basis of a hexadecimal integer is 16. After each step, we must record the integer component of these products. The hexadecimal representation of the specified fractional integer is obtained as a result.

  • Conversion of 18.765625 to hexadecimal:

We’ll work on the integer and fractional parts separately.

Step 1: Let’s start with the integer component. After dividing 18 by 16, we obtain 18 16 = 1 as the quotient and 2 as the remainder.

Step 2: Now divide 1 by 16 to get the quotient, which is 16 1 = 0, and the remainder, which is 1.

Step 3: Now, by inverting the remainders, we can get the combined form, which is 12. This will be written as the hexadecimal value’s integer portion.

Step 4: Now we’ll concentrate on the fractional part of the equation, which is 0.765625.

Step 5: Multiply 0.765625 by 16, which gives 0.765625 16 = 12.25, in which the integer part will be noted. In the hexadecimal numeral system, 12 is written as C.

Step 6: We’ll now divide the fractional part of this product by 16 once more. We obtain 0.25 16 = 4 after multiplying the fractional component by 16.

Step 7: We now have 12.C4 after combining the integer and fractional parts of the hexadecimal form. As a result, in the hexadecimal number system, 18.765625 equals 12.C4. This suggests that ( 18.765625 )10 is equal to ( 12. C 4 )16.

Conclusion:

The repeated division and remainder procedure can be used to convert decimal to hexadecimal. Simply put, the decimal number is divided by the radix 16 many times. The remainders in between these divisions yield the hex equivalent in reverse order.

 
faq

Frequently Asked Questions

Get answers to the most common queries related to the JEE Examination Preparation.

What is the procedure for converting decimal to hexadecimal?

Solution:  We can immediately write the matching symbols of the hexadecimal number system if the given decimal numb...Read full

What is the difference in bases when converting decimal to hex?

Solution:  the difference in bases when converting decimal to hex is that the Base 10 numbers will be converted to ...Read full

What is the hexadecimal equivalent of the number 14?

Solution:  E is the hexadecimal equivalent of the decimal number 14.

What is the hexadecimal equivalent of the number 192?

Solution:  The decimal number 192 is comparable to C0 in hexadecimal. 192/16 = 12 remainder 0 ...Read full

In hex, what does 0 mean?

Solution:  In hex, the decimal number 0 is likewise equal to 0.

Solution:  We can immediately write the matching symbols of the hexadecimal number system if the given decimal number is less than or equal to 15. The hexadecimal equivalent of 12 is C, for example. If the specified decimal number is more than 15, divide the decimal number by 16 and treat the result as an integer. Set aside the rest of the ingredients. Divide the quotient by 16 again and repeat until the quotient value is zero. To get the hexadecimal numbers, reverse the order of the values of the remaining remainders.

 

 

 

Solution:  the difference in bases when converting decimal to hex is that the Base 10 numbers will be converted to base 16 numbers during the decimal to hex conversion.

Solution:  E is the hexadecimal equivalent of the decimal number 14.

Solution:  The decimal number 192 is comparable to C0 in hexadecimal. 192/16 = 12 remainder 0

Divide the quotient by 16 to get the result.

12/16, where the quotient is 0 and the remainder is 12.

C is the hexadecimal equivalent of 12.

As a result, in hex, base 10 of 192 equals base 16 of C0.

Solution:  In hex, the decimal number 0 is likewise equal to 0.

Crack IIT JEE with Unacademy

Get subscription and access unlimited live and recorded courses from India’s best educators

  • Structured syllabus
  • Daily live classes
  • Ask doubts
  • Tests & practice
Learn more

Notifications

Get all the important information related to the JEE Exam including the process of application, important calendar dates, eligibility criteria, exam centers etc.

Allotment of Examination Centre
JEE Advanced Eligibility Criteria
JEE Advanced Exam Dates
JEE Advanced Exam Pattern 2023
JEE Advanced Syllabus
JEE Application Fee
JEE Application Process
JEE Eligibility Criteria 2023
JEE Exam Language and Centres
JEE Exam Pattern – Check JEE Paper Pattern 2024
JEE Examination Scheme
JEE Main 2024 Admit Card (OUT) – Steps to Download Session 1 Hall Ticket
JEE Main Application Form
JEE Main Eligibility Criteria 2024
JEE Main Exam Dates
JEE Main Exam Pattern
JEE Main Highlights
JEE Main Paper Analysis
JEE Main Question Paper with Solutions and Answer Keys
JEE Main Result 2022 (Out)
JEE Main Revised Dates
JEE Marking Scheme
JEE Preparation Books 2024 – JEE Best Books (Mains and Advanced)
Online Applications for JEE (Main)-2022 Session 2
Reserved Seats
See all

Related articles

Learn more topics related to Mathematics
Zero Vector

A zero vector is defined as a line segment coincident with its beginning and ending points. Primary Keyword: Zero Vector

ZERO MATRIX

In this article, we will discuss about the zero matrix and it’s properties.

YARDS TO FEET

In this article we will discuss the conversion of yards into feet and feets to yard.

XVI Roman Numeral

In this article we are going to discuss XVI Roman Numerals and its origin.

See all
Access more than

10,505+ courses for IIT JEE

Get subscription

Trending Topics

  • JEE Main 2024
  • JEE Main Rank Predictor 2024
  • JEE Main Mock Test 2024
  • JEE Main 2024 Admit Card
  • JEE Advanced Syllabus
  • JEE Preparation Books
  • JEE Notes
  • JEE Advanced Toppers
  • JEE Advanced 2022 Question Paper
  • JEE Advanced 2022 Answer Key
  • JEE Main Question Paper
  • JEE Main Answer key 2022
  • JEE Main Paper Analysis 2022
  • JEE Main Result
  • JEE Exam Pattern
  • JEE Main Eligibility
  • JEE College predictor
combat_iitjee

Related links

  • JEE Study Materials
  • CNG Full Form
  • Dimensional Formula of Pressure
  • Reimer Tiemann Reaction
  • Vector Triple Product
  • Swarts Reaction
  • Focal length of Convex Lens
  • Root mean square velocities
  • Fehling’s solution
testseries_iitjee
Predict your JEE Rank
.
Company Logo

Unacademy is India’s largest online learning platform. Download our apps to start learning


Starting your preparation?

Call us and we will answer all your questions about learning on Unacademy

Call +91 8585858585

Company
About usShikshodayaCareers
we're hiring
BlogsPrivacy PolicyTerms and Conditions
Help & support
User GuidelinesSite MapRefund PolicyTakedown PolicyGrievance Redressal
Products
Learner appLearner appEducator appEducator appParent appParent app
Popular goals
IIT JEEUPSCSSCCSIR UGC NETNEET UG
Trending exams
GATECATCANTA UGC NETBank Exams
Study material
UPSC Study MaterialNEET UG Study MaterialCA Foundation Study MaterialJEE Study MaterialSSC Study Material

© 2026 Sorting Hat Technologies Pvt Ltd

Unacademy
  • Goals
    • AFCAT
    • AP EAMCET
    • Bank Exam
    • BPSC
    • CA Foundation
    • CAPF
    • CAT
    • CBSE Class 11
    • CBSE Class 12
    • CDS
    • CLAT
    • CSIR UGC
    • GATE
    • IIT JAM
    • JEE
    • Karnataka CET
    • Karnataka PSC
    • Kerala PSC
    • MHT CET
    • MPPSC
    • NDA
    • NEET PG
    • NEET UG
    • NTA UGC
    • Railway Exam
    • SSC
    • TS EAMCET
    • UPSC
    • WBPSC
    • CFA

Share via

COPY