The number system is called binary because it allows only two symbols 0 and 1. Any combination of 0s and 1s is a valid integer. Any positive integer can be represented as a binary number. For example, the number 10 in decimal notation is written as 1010 in binary i.e. (10)$_{10}$ = (1010)$_2$. Binary system involving only two main components such as 0 and 1. We can represents numbers as binary. Lets us convert decimal numbers into binary numbers.

**Decimal to binary conversion**

Converting decimal to binary is a process of changing a base 10 of a number into a base 2. To convert decimal number into a binary number first we need to divide repeatedly the number by two.

**For example:** Convert 125 from decimal to binary.

**Solution**:

=> (125)$_{10}$ = (1111101)$_2$

The radix 2 denotes a binary number.

A bit is a each digit in a binary number. The number 11101 is represented by 5 bits.

Below is the table shows the relationship between hexadecimal, decimal and binary:

Hexadecimal | Decimal | Binary Numbers |

0 | 0 |
0 |

1 | 1 |
1 |

2 | 2 |
10 |

3 | 3 |
11 |

4 | 4 |
100 |

5 | 5 |
101 |

6 | 6 |
110 |

7 | 7 |
101 |

8 | 8 | 1000 |

9 | 9 | 1001 |

A | 10 | 1010 |

B | 11 | 1011 |

C | 12 | 1100 |

D | 13 | 1101 |

E | 14 | 1110 |

F | 15 | 1111 |