
Here we will show you how to convert the octal number 20157 to a hexadecimal number. First note that the octal number system has 8 different digits (0 1 2 3 4 5 6 7) and the hexadecimal number system has 16 different digits (0 1 2 3 4 5 6 7 8 9 A B C D E F).
The four steps used to convert 20157 from octal to hexadecimal are explained below.
Step 1)
Multiply the last digit in 20157 by 8⁰, multiply the second to last digit in 20157 by 8¹, multiply the third to last digit in 20157 by 8², multiply the fourth to last digit in 20157 by 8³, and so on, until all the digits are used:
7 × 8⁰ = 7
5 × 8¹ = 40
1 × 8² = 64
0 × 8³ = 0
2 × 8⁴ = 8192
Step 2)
Next, we add up all the products we got from Step 1, like this:
7 + 40 + 64 + 0 + 8192 = 8303
Step 3)
Now we divide the sum from Step 2 by 16. Put the remainder aside. Then divide the whole part by 16 again, and put the remainder aside again. Keep doing this until the whole part is 0. (Also, replace remainders if need be: 10=A, 11=B, 12=C, 13=D, 14=E, and 15=F).
8303 ÷ 16 = 518 with F remainder
518 ÷ 16 = 32 with 6 remainder
32 ÷ 16 = 2 with 0 remainder
2 ÷ 16 = 0 with 2 remainder
Step 4)
In the final step, we take the remainders from Step 3 and put them together in reverse order to get our answer to 20157 octal to hexadecimal:
20157 octal = 206F hexadecimal
Octal to Hexadecimal Converter
Here you can convert another octal number to hexadecimal. Remember, octal numbers only include numbers 0 through 7.
20160 octal to hexadecimal
Go here for the next octal number on our list that we have converted to hexadecimal.
Copyright | Privacy Policy | Disclaimer | Contact
