## Denary to Hexadecimal

We can use a similar division method as with binary to convert from base 10 to base 2.

Using the same number we have

- 141 divided by 16 is 8 remainder 13
- 8 divided by 16 is 0 remainder 8

This gives the hexadecimal digits [8][13] which we can express in hex as 8D_{16}.

**Calculating the remainder.**

If using a calculator the remainder can be calculated using the following method.

Perform the division: 141/16 = 8.8125

Subtract the whole number: 8.8125 - 8 = 0.8125

Multiply by 16: 0.8125 x 16 = 13

Our remainder is therefore 13.

1 |

**Next: **Hexadecimal to Denary