Hexadecimal to Octal Number

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.

Steps to Convert Hexadecimal Number to Decimal Number

We can use following steps to convert hexadecimal number to decimal numbers.

Step 1: Write the corresponding decimal value for the given hexadecimal number.

Step 2: Multiply each digit of the obtained number with an increasing power of 16 starting from the rightmost digit.

Step 3: Sum all the products obtained in step 2.

Steps to Convert Decimal Number to Octal Number

We can use following steps to convert decimal number to octal numbers.

Step 1: Divide the given decimal number by 8.

Step 2: Write down the quotient and remainder obtained.

Step 3: Divide the quotient obtained by 8.

Step 4: Repeat step 2 and step 3 until the quotient becomes 0.

Step 5: Write the obtained remainder in reverse order.

Let’s consider an example for better understanding.

Example: Convert 9B16 to Octal Number.

Solution:

Step 1: First convert 9B16 to decimal number:

Corresponding decimal value of 9 and B are 9 and 11 respectively.

9B16 = 9 × 161 + 11 × 160

9B16 = 9 × 16 + 11 × 1

9B16 = 144 + 11 = 155

We get 9B16 = 15510

Step 2: Convert 15510 to Octal Number

155/8, Quotient = 19, Remainder = 3

19/8, Quotient = 2, Remainder = 3

2/8, Quotient = 0, Remainder = 2

Writing the obtained remainders in reverse order we get:

15510 = 2338

Hence we get 9B16 = 2338

Octal Number System

Octal Number System is a number system with base 8 as it uses eight symbols (or digits) namely 0, 1, 2, 3, 4, 5, 6, and 7. For example, 228, 138, 178, etc. are octal numbers. This number system is mainly used in computer programming as it is a compact way of representing binary numbers with each octal number corresponding to three binary digits.

In this article, we will discuss Octal Numbers System, Octal Number System Conversions, Octal Number System Examples, and Others in detail.

Table of Content

  • Octal Number System Definition
  • Octal to Decimal Numbers
  • Octal to Hexadecimal Number
  • Octal to Binary Number
  • Octal Multiplication Table

Similar Reads

What are Number Systems?

A number system is a method of expressing numbers. It contains sets of symbols (or digits) combined with a set of rules to represent a particular quantity. The number system is mainly classified into four types:...

Octal Number System Definition

‘OCTAL’ is derived from the Latin word ‘OCT’ which means Eight. The number system with base 8 and symbols ranging between 0-7 is known as the Octal Number System. Each digit of an octal number represents a power of 8. It is widely used in computer programming and digital systems. Octal number system can be converted to other number systems and visa versa....

Octal to Decimal Numbers

A decimal number system has a base 10 consisting of digits 0-9. We can easily convert an octal number to a decimal number by following these simple steps:...

Decimal to Octal Number

To convert a decimal number to an octal number follow these simple steps:...

Octal to Hexadecimal Number

A hexadecimal number system has a base 16 and it is an alphanumeric number system consisting of digits from 0 to 9 and alphabets from A to F. To convert an octal number to a hexadecimal number: First convert the octal number to the decimal number; Then convert the obtained decimal number to the hexadecimal number....

Hexadecimal to Octal Number

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....

Octal to Binary Number

The conversion of an octal number to a binary number is very simple, we have to simply write the corresponding binary value of each digit of the given octal number. Corresponding values of octal and binary numbers are as follows:...

Binary to Octal Number

We can easily convert a binary number to an octal number by following these steps:...

Octal Multiplication Table

Octal Multiplication table is added below,...

Examples on Octal Numbers System

Example 1: What is Decimal Equivalent of 11218?...

Practice Questions on Octal Number System

Q1: Convert 12110 to an octal number....

Octal Number System – FAQs

What are Octal Number System?...