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