Octal to Hexadecimal Conversion

  • Step 1: Divide the decimal number by 16.
  • Step 2: Write down the quotient and remainder obtained.
  • Step 3: Divide the quotient obtained by 16.
  • Step 4: Repeat step 2 and step 3 until the quotient becomes 0.
  • Step 5: Write the obtained remainder in reverse order.
  • Step 6: Convert each obtained remainder to its corresponding hexadecimal digit.

The corresponding value of 0-9 remains the same in hexadecimal and 10-15 corresponds to A-F in hexadecimal is represented as,

10

11

12

13

14

15

A

B

C

D

E

F

Example: Convert 1748 to a hexadecimal number.

Step 1: Convert 1748 to decimal
1748 = 1 × 82 + 7 × 81 + 4 × 80
1748 = 1 × 64 + 7 × 8 + 4 × 1
174= 64 + 56 + 4 = 124
We get 1748 = 12410

Step 2: Covert 12410 to hexadecimal124/16,
Quotient = 7, Remainder = 127/16,
Quotient = 0, Remainder = 7
Converting the obtained remainders to corresponding hexadecimal number and writing it in reverse order
we get:12410 = 7C16Hence we get 1748 = 7C16

What is Octal ?

Octal is a number system with a base of 8 i.e. it uses 8 numeric values, namely, {0, 1, 2, 3, 4, 5, 6, 7}. This number system is mostly used in the programming of computer programs. For example (32150.7642)8, (275)8, (324)8, (2243)8 are Octal numbers. In this article, we will discuss the octal number system.

Similar Reads

What is a Number System?

A Number system is a method of representing numbers with the help of a particular amount of numeric values and a set of rules. A few of the number systems are as follows :...

Table of Conversions

The table given below shows the equivalent values of some Octal numbers (0 to 7) in the Binary number system. One Octal number is the equivalent of three Binary bits....

Octal to Binary Conversion

So the process to convert Octal to binary is a simple one. As we have established earlier an Octal number is equivalent to three binary bits. So, what we have to do is first convert each digit into its binary equivalent....

Binary to Octal Conversion

The process of converting binary into Octal is indeed a simple one. So, let’s with the example of (110011)2,...

Octal to Decimal Conversion

The process of converting Octal to Decimal is also pretty simple. But not quite as simple as Octal to Binary. We will be using the Expansion Method....

Decimal to Octal Conversion

The process of converting Decimal to Octal is a simple one....

Octal to Hexadecimal Conversion

Step 1: Divide the decimal number by 16. Step 2: Write down the quotient and remainder obtained. Step 3: Divide the quotient obtained by 16. Step 4: Repeat step 2 and step 3 until the quotient becomes 0. Step 5: Write the obtained remainder in reverse order. Step 6: Convert each obtained remainder to its corresponding hexadecimal digit....

Hexadecimal to Octal Conversion

To convert a Hexadecimal number to an Octal number we have to First convert the Hexadecimal number to a Decimal number and then the Decimal number to an Octal number....

Some Uses of Octal

The Octal number system is widely used in computing and computer programming. It became popular when systems such as UNIVAC 1050, PDP-8, ICL 1900, and IBM mainframes started using it for 6-bit, 12-bit, 24-bit, or 36-bit words. As each Octal digit represents 3 binary bits. It is also used in Unix-like operating systems where file permissions are often represented using octal numbers. Each digit corresponds to the settings for the owner, group, and others. For instance, 755 means read, write, and execute permissions for the owner, and read and execute permissions for others....

Frequently Asked Questions on Octal – FAQs

What is the Octal Equivalent of (100)10?...