**Conversion steps:**

- Divide the number by 2.
- Get the integer quotient for the next iteration.
- Get the remainder for the binary digit.
- Repeat the steps until the quotient is equal to 0.

**Example:**

Convert 13_{10} to binary:

Division by 2 |
Quotient | Remainder | Bit # |
---|---|---|---|

13/2 | 6 | 1 | 0 |

6/2 | 3 | 0 | 1 |

3/2 | 1 | 1 | 2 |

1/2 | 0 | 1 | 3 |

So 13_{10} = 1101_{2}