**Decimal to Binary Conversion**

Decimal to Binary conversion is very much important to design a network

**For Example:**

01. 12

2 7 | 2 6 | 2 5 | 2 4 | 2 3 | 2 2 | 2 1 | 2 0 |

128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |

0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 |

**Explanation:**

We take decimal value 12, from the above figure 8 + 4 = 12

So we need to write 1 under the column 8 & 4 then after we need to write 0 in other column

Hence the decimal value of 12 is 00001100

02. 200

2 7 | 2 6 | 2 5 | 2 4 | 2 3 | 2 2 | 2 1 | 2 0 |

128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |

1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 |

**Explanation:**

We take decimal value 200, from the above figure 128 + 64 + 8 = 200

So we need to write 1 under the column 128, 64 & 8 then after we need to write 0 in other column

Hence the decimal value of 200 is 11001000

**Binary to Decimal Conversion:**

01. 10101011

2 7 | 2 6 | 2 5 | 2 4 | 2 3 | 2 2 | 2 1 | 2 0 |

128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |

1 | 0 | 1 | 0 | 1 | 0 | 1 | 1 |

**Explanation:**

We take binary value 10101011, from the above figure 128 + 32 + 8 + 2 + 1

So we need to but the direct value for the 1, so we added 128, 32, 8, 2 & 1

Hence the Binary value of 10101011 is 171

02. 255

2 7 | 2 6 | 2 5 | 2 4 | 2 3 | 2 2 | 2 1 | 2 0 |

128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |

1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |

**Explanation:**

We take binary value 11111111, from the above figure 128 + 64 + 32 + 16 + 8 + 4+ 2 + 1

So we need to but the direct value for the 1, so we added 128, 64, 32, 16, 8, 4, 2 & 1

Hence the Binary value of 11111111 is 255

I am sure you will get some basic Idea about Decimal to Binary and Binary to Decimal Conversion, if I am right then give your valuable comments and feed back under comments column

==========================================================

__Related Articles:__**CCNA Day 01 <<<<< Previous Articles = Next Articles >>>>> CCNA Day 03**

==========================================================

__Other Articles:__**Binary Number System -**

**Decimal Number System -**

**Network Classes**

==========================================================