
Here we will show you how to convert the octal number 21015 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 21015 from octal to hexadecimal are explained below.
Step 1)
Multiply the last digit in 21015 by 8⁰, multiply the second to last digit in 21015 by 8¹, multiply the third to last digit in 21015 by 8², multiply the fourth to last digit in 21015 by 8³, and so on, until all the digits are used:
5 × 8⁰ = 5
1 × 8¹ = 8
0 × 8² = 0
1 × 8³ = 512
2 × 8⁴ = 8192
Step 2)
Next, we add up all the products we got from Step 1, like this:
5 + 8 + 0 + 512 + 8192 = 8717
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).
8717 ÷ 16 = 544 with D remainder
544 ÷ 16 = 34 with 0 remainder
34 ÷ 16 = 2 with 2 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 21015 octal to hexadecimal:
21015 octal = 220D hexadecimal
Octal to Hexadecimal Converter
Here you can convert another octal number to hexadecimal. Remember, octal numbers only include numbers 0 through 7.
21016 octal to hexadecimal
Go here for the next octal number on our list that we have converted to hexadecimal.
Copyright | Privacy Policy | Disclaimer | Contact
