hexadecimal to octal Converter

0

What is a number system?

A number system of base B or radix R is a system in which numbers are represented with R or B symbols. for example, Binary number system is a base-2 system that means in this system all the numbers are represented with 0 and 1.

Similarly, Octal-8, Decimal-10, Hexadecimal-16 are some of the common number systems. The loop begins after base digits. for example, if we talk about the decimal Number system. lets write 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 now all our symbols ended then how to write 10th digit. By repeating the existing one. like10, 11, 12, ....... so on.

Lets apply the same logic with the binary number system. we have two symbols 0 and 1 so for the single binary digit the possible value is 0 and 1.
After that for two binary digits we have 00, 01, 10 and 11 since 00 is 0 and 01 is 1
For three binary digits we have 100, 101, 110, 111 so on.

Why Number conversion is important?

For our daily usage we are relied on Decimal Number System. Physical units such as length-meters, weight-kilograms, temperature-centigrade all are written in the Decimal Number System. But we lives are heavily relied on the digital gadgets and all the electronic gadgets runs on binary number of system.
Inorder to compute our data we need to convert it to the digital form ie,Binary Form
And for some other use like giving codes to the colors we use Hexa-decimal number system because it is easy to remember and write.

Convert abf342 hexadecimal to octal

Answer : (abf342) 16= (52771502)8

How abf342 is converted from hexadecimal to octal?

Direct conversion of hexadecimal to octal is not possible so first we need to convert hexadecimal Number to Binary Number

hexadecimalbinary
00000
10001
20010
30011
40100
50101
60110
70111
81000
91001
A1010
B1011
C1100
D1101
E1110
F1111

Now Look at the table above and write respective  binary number in 4 bit for each hexadecimal number.
(abf342)16 = (1010 1011 1111 0011 0100 0010) 2
After rearranging all binary number and splititting them in 3bits.
We get
(abf342)16 = (101 010 111 111 001 101 000 010) 2

Look at the corresponding value for each 3bits in the table below.

binaryoctal
0000
0011
0102
0113
1004
1015
1106
1117

Answer : (101 010 111 111 001 101 000 010) 2= (52771502)8

Convert abc hexadecimal to octal

Answer : (abc) 16= (5274)8

How abc is converted from hexadecimal to octal?

Direct conversion of hexadecimal to octal is not possible so first we need to convert hexadecimal Number to Binary Number

hexadecimalbinary
00000
10001
20010
30011
40100
50101
60110
70111
81000
91001
A1010
B1011
C1100
D1101
E1110
F1111

Now Look at the table above and write respective  binary number in 4 bit for each hexadecimal number.
(abc)16 = (1010 1011 1100) 2
After rearranging all binary number and splititting them in 3bits.
We get
(abc)16 = (101 010 111 100) 2

Look at the corresponding value for each 3bits in the table below.

binaryoctal
0000
0011
0102
0113
1004
1015
1106
1117

Answer : (101 010 111 100) 2= (5274)8

Convert bcd hexadecimal to octal

Answer : (bcd) 16= (5715)8

How bcd is converted from hexadecimal to octal?

Direct conversion of hexadecimal to octal is not possible so first we need to convert hexadecimal Number to Binary Number

hexadecimalbinary
00000
10001
20010
30011
40100
50101
60110
70111
81000
91001
A1010
B1011
C1100
D1101
E1110
F1111

Now Look at the table above and write respective  binary number in 4 bit for each hexadecimal number.
(bcd)16 = (1011 1100 1101) 2
After rearranging all binary number and splititting them in 3bits.
We get
(bcd)16 = (101 111 001 101) 2

Look at the corresponding value for each 3bits in the table below.

binaryoctal
0000
0011
0102
0113
1004
1015
1106
1117

Answer : (101 111 001 101) 2= (5715)8