A decimal integer is converted to any other base, by using the division operation. To convert a decimal integer to—

**• Binary** - divide by 2

**• Octal** - divide by 8

**• Hexadecimal** - divide by 16

<

1. Make a table as shown below. Write the number in centre and to Base on the left side.

2. Divide the number with to Base. After each division, write the remainder on right-side column and quotient in the next line in the middle column. Continue dividing till the quotient is 0.

3. Write the digits in remainder column starting from downwards to upwards

The binary equivalent of number (25)_{10} is (11001)_{2}

**Note : The steps shown above are followed to convert a decimal integer to a number in any other base.**