What is Hexadecimal Numbers System? Table, Conversions, Examples (2024)

The hexadecimal number system is a type of number system, that has a base value equal to 16. It is also pronounced sometimes as ‘hex’. Hexadecimal numbers are represented by only 16 symbols. These symbols or values are0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E and F. Each digit represents a decimal value. For example, D is equal to base-10 13.

Hexadecimal number systems can be converted to other number systems such asbinary number (base-2), octal number (base-8) and decimal number systems (base-10). The concept of thenumber system is widely explained in the syllabus of Class 9.

The list of 16 hexadecimal digits with their equivalent decimal, octal and binary representation is given here in the form of a table, which will help in number system conversion. This list can be used as a translator or converter also.

Hexadecimal Number System Table

Below is the table of hexadecimal number systems with equivalent values of the binary and decimal number systems.

Decimal Numbers4-bit Binary NumberHexadecimal Number
000000
100011
200102
300113
401004
501015
601106
701117
810008
910019
101010A
111011B
121100C
131101D
141110E
151111F

Below is the link to download the table. Students can download the PDF and learn offline too.

Download PDF – Hexadecimal Number System

Hexadecimal Number System Conversions

As we know, there are 16 digits in the hexadecimal number system, represented from 0 to 9 same as decimals, but after that, it starts with an alphabetical representation of preceding numbers such as A, B, C, D and E. Let us see the conversion of ‘hex’ into other number systems.

Hexadecimal to Decimal Conversion

Here, you will see the representation of a hexadecimal number into decimal form.

Hexadecimal

0123456789ABCDEF
Decimal01234567891011121314

15

Decimal to Hexadecimal Conversion

You have learned how to convert hexadecimal numbers to decimal numbers. Now let us find out how we can convert a decimal number into a hexadecimal number system. Follow the below steps:

  • Firstly divide the number by 16
  • Take the quotient and divide again by 16
  • The remainder left will produce the hex value
  • Repeats the steps until the quotient has become 0

Example: Convert (242)10 into hexadecimal.

Solution: Divide 242 by 16 and repeat the steps, till the quotient is left as 0.

What is Hexadecimal Numbers System? Table, Conversions, Examples (1)

Therefore,(242)10 = (F2)16

Hexadecimal to Octal Conversion

Here, you will see the representation of a hexadecimal number into octal number form.

Hexadecimal

0123456789ABCDEF
Octal0123456710111213141516

17

Octal to Hexadecimal Conversion

To convert octal to hex, we have to first convert octal number to decimal and then decimal to hexadecimal. Let us understand it with the help of an example;

Example: Convert (121)8 into hexadecimal.

Solution: First convert 121 into decimal number.

⇒ 1× 82 + 2× 81 + 1 × 80
⇒ 1 × 64 + 2 × 8 + 1 × 1
⇒ 64 + 16 + 1
⇒ 81

(121)8 = 8110

Now converting 8110 into a hexadecimal number.

What is Hexadecimal Numbers System? Table, Conversions, Examples (2)

Therefore,8110 = 5116

Hexadecimal to Binary Conversion

Here, you will see the representation of a hexadecimal number into binary form. We can use only 4 digits to represent each hexadecimal number, where each group has a distinct value from 0000 (for 0) and 1111 (for F= 15 =8 + 4 + 2 + 1).

Hexadecimal

0123456789ABCDEF
Binary0110111001011101111000100110101011110011011110

1111

Binary to Hexadecimal Conversion

Binary to hexadecimal conversion is a simple method to do. You just have to put the values of the binary number to the relevant hexadecimal number.

Example: Convert (11100011)2 to hexadecimal.
Solution: From the table, we can write,11100011 as E3.

Therefore,(11100011)2= (E3)16

Facts of Hexadecimal Number System

  • Out of many types of number representation techniques, the Hexadecimal number system is one having a value of base 16.
  • So Hexadecimal numbers have 16 symbols or digital values, i.e 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F.
  • A, B, C, D, E, F are single bit representations of 10, 11, 12, 13, 14 and 15 respectively.
  • The addition of either an o prefix or an h prefix indicates Hexadecimal.
  • A power of 16 is the weight of the position of every digit.

Solved Examples on Hexadecimal number system

Example 1:What is 5C6 (Hexadecimal)?

Solution: Step 1: The “5 “ is the “16 x 16” position, so that means 5 x16 x16

Step 2: The ‘C’ (12) is in the “16” position, so that means 12 x 16.

Step 3: The “6” in the “1” position so that means 6.

Answer is : 5C6 = 5 x 16 x 16 + 12 x 16 +6 = (1478 ) in Decimal.

Example 2:What is 3C5 (Hexadecimal)?

Solution: Step 1: The “3 “ is the “16 x 16” position, so that means 3 x16 x16

Step 2: The ‘C’ (12) is in the “16” position, so that means 12 x 16.

Step 3: The “5” is in the “1” position so that means 5.

Answer is : 3C5 = 3 x 16 x 16 + 12 x 16 + 5 = (965) in Decimal.

Example 3:What is 7B5 (Hexadecimal)?

Solution: Step 1: The “7 “ is the “16 x 16” position, so that means 7 x16 x16

Step 2: The ‘B’ (11) is in the “11” position, so that means 11 x 16.

Step 3: The 5” in the “1” position so that means 5.

Answer is : 7B5 = 7 x 16 x 16 + 11 x 16 +5 = (1973) in Decimal.

Example 4:What is 2E8 (Hexadecimal)?

Solution: Step 1: The “2 “ is the “16 x 16” position, so that means 2 x16 x16

Step 2: The ‘E’ (14) is in the “16” position, so that means 14 x 16.

Step 3: The “2” is in the “1” position so that means 2.

Answer is : 2E8 = 2 x 16 x 16 + 14 x 16 +8 = (744) in Decimal.

Example 5:What is 4F8 (Hexadecimal)?

Solution: Step 1: The “4 “ is the “16 x 16” position, so that means 4 x16 x16

Step 2: The ‘F’ (15) is in the “16” position, so that means 15 x 16.

Step 3: The “8” is in the “1” position, which means 8.

Answer is : 4F8 = 4 x16 x 16 + 15 x 16 +8 = (1272) in Decimal.

Practice Questions

  • What is 5D16 in decimal number?
  • Convert decimal number 21 into a hexadecimal number.
  • What is 01101112in hexadecimal?

Related Articles

  • Number System Conversion
  • Binary Number System
  • Octal Number System
  • Hexadecimal Calculator
  • Number System For Class
  • Important Questions Class 9 Maths Chapter 1 Number System

Keep visiting BYJU’S and Subscribe to our YouTube channel for learning number system and other mathematical topics in a fun and engaging way.

Frequently Asked Questions – FAQs

Q1

What is a hexadecimal number system?

The hexadecimal number system is a number system with base-16. It is represented by only 16 digits or values.

Q2

What are the 16 digits of the hexadecimal number system?

The 16 digits of the hexadecimal number system are 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F.

Q3

What is the use of the hexadecimal number system?

Hexadecimal number systems are used for computer programming and designing. Since the computer understands only binary digits (0 and 1), thus each hexadecimal digit represents four binary digits.

Q4

What is 3CD (hexadecimal)?

3CD is a hexadecimal number that is equivalent to decimal number 973.

What is Hexadecimal Numbers System? Table, Conversions, Examples (2024)

FAQs

What is Hexadecimal Numbers System? Table, Conversions, Examples? ›

Unlike other number systems, the hexadecimal number system has digits from 0 - 9 and from 10 - 16 they are represented in symbols i.e 10 as A, 11 as B, 12 as C, 13 as D, 14 as E, and 15 as F. For example (28E)16 ( 28 E ) 16 , (AC7)16 ( A C 7 ) 16 , (EF. 6A)16 ( E F . 6 A ) 16 are all hexadecimal numbers.

What is an example of a hexadecimal conversion? ›

Decimal to Hexadecimal Example Problems
Divide by 16QuotientHex Value
600 ÷ 16378
37 ÷ 1625
2 ÷ 1602

What is the hexadecimal number system with example? ›

Hexadecimal numbers are represented by only 16 symbols. These symbols or values are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E and F. Each digit represents a decimal value. For example, D is equal to base-10 13.

What is the conversion of hexadecimal numbers? ›

The conversion formula for hexadecimal to decimal is: d n-1d3 d2 d1 d0 (hexadecimal number) = d n-1 × 16n-1+ … + d3 × 163 + d2 × 162 + d1 × 161 + d0 × 160 (decimal number).

What is an example of a hex number? ›

In mathematics, a subscript is typically used to specify the base. For example, the decimal value 2,241 would be expressed in hexadecimal as 8C116. In programming, several notations denote hexadecimal numbers, usually involving a prefix. The prefix 0x is used in C, which would denote this value as 0x8C1 .

What is an example of a hex code? ›

HEX Color Values

For example, #ff0000 is displayed as red, because red is set to its highest value (ff), and the other two (green and blue) are set to 00. Another example, #00ff00 is displayed as green, because green is set to its highest value (ff), and the other two (red and blue) are set to 00.

What is a hexadecimal table? ›

The hexadecimal system contains 16 sequential numbers as base units, including 0. The first nine numbers (0 to 9) are the same ones commonly used in the decimal system. The next six two-digit numbers (10 to 15) are represented by the letters A through F.

What is the hexadecimal system for dummies? ›

Hexadecimal close hexadecimalA number system using 16 symbols from 0-9 and A-F, also known as base 16 and hex., also known as hex, is the third commonly used number system. It has 16 units (0-9) and the letters A, B, C, D, E and F. Hex is useful because large numbers can be represented using fewer digits.

How to write a hexadecimal number? ›

Hence, the 16 digits are 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. For example: 7B316,6F16,4B2A16 7 B 3 16 , 6 F 16 , 4 B 2 A 16 are hexadecimal numbers. A hexadecimal number system is also known as a positional number system as each digit has a weight of power 16.

How do you convert hexadecimal manually? ›

To convert hex to a decimal manually, you should first start multiplying the hex numbers by 16. Then, you raise it to a power of 0 and increase that power each time by 1 according to the hexadecimal equivalent system.

What is the hexadecimal number system with an example? ›

Hexadecimal is a number system with a base value of 16. Hexadecimal numbers use 16 symbols or digital values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. A, B, C, D, E, and F represent 10, 11, 12, 13, 14, and 15 in single-bit form.

How to calculate hexadecimal value? ›

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 to calculate hex code? ›

Summary – Reading HEX Color Codes

We always multiply the first number of each pair by 16, then add the two numbers together to get our R, G, or B value. The closer that number is to 255, the brighter and more saturated it is. The closer these values are to 0, the darker and less colorful it is.

What is an example of hexadecimal being used? ›

Hexadecimal is useful because large numbers can be represented using fewer digits. For example, colour values and MAC addresses. are often represented in hexadecimal. Additionally, hexadecimal is easier to understand than binary.

What is an example of a hexadecimal code in real life? ›

For example, hexadecimal is used to denote colors in the “hex” scheme. For memory readouts, values are also often in hexadecimal. Even braille is coded in hexadecimal.

What is an example of a hexadecimal string? ›

Hex String – A Hex String is a combination of the digits 0-9 and characters A-F, just like how a binary string comprises only 0's and 1's. Eg: “245FC” is a hexadecimal string.

How do you write 16 in hexadecimal? ›

However, 10 in the Decimal Number System is represented as A in the Hexadecimal System, 11 as B, 12 as C, 13 as D, 14 as E, 15 as F and 16 as 10.

Top Articles
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 6041

Rating: 4.9 / 5 (69 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.