May 25 • General • 16338 Views • 1 Comment on octal to hexadecimal conversion

Before understanding the concept of octal to hexadecimal conversion we must have some idea about octal and hexadecimal number system…

Octal number system

An octal system or it is called the base eight system .The digits in octal maths are 0,1,2,3,4,5,6,7.The value of “!” is written as eight and 0 as ones or 108 .

In the hexadecimal,we need to have the digits from 0 through 15.for this single solitary digits are required that stands for the values of 11,12,13,14,15 i.e.in  counting the hexadecimal the sixteen hexadecimal numerals are-

0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F

In other words A is 10 in regular basis,B is 11,c is 12 and so on…

While converting from  octal to  hexadecimal unit, it is a usual practice to convert the octal to hexadecimal by converting the octal number into binary digit and then further to from binary to hexadecimal.For example to convert the number 536 from octal to hexadecimal.

### Example:

Convert 536 from octal to  hexadecimal number

Convert 536(octal) into its binary equivalent we get
(536)8 = (101) (011) (110)
=(101011110)2
Now forming the group of 4 binary bits to obtain its hexadecimal equivalent,
(101011110)2= (0001) (0101) (1110)
= (15E)16

So the hexadecimal number of 536 is 15E.

1.WHAT ARE THE BASE VALUES OF OCTAL AND HEXADECIMAL??

The base value of octal number system is 8 and that of the hexadecimal number system is 16.

2.WHAT ARE THE BASIC TWO STEPS FOR THE CONVERSION FROM OCTAL TO HEXADECIMAL???

a)conversion from octal to binary

### One Response to octal to hexadecimal conversion

1. Rachita Mishra says:

In mathematics and computer science, hexadecimal (also base 16, or hex) is a positional numeral system with a radix, or base, of 16. It uses sixteen distinct symbols, most often the symbols 0–9 to represent values zero to nine, and A, B, C, D, E, F (or alternatively a–f) to represent values ten to fifteen.This article represent how to get hexadecimal from octal.