More

# Binary to Decimal Quick Reference

A Binary to Decimal quick reference can help in many cases, especially when we are dealing with IP addresses for first time. The more and more you use them the need to look into the table will become less and less.

## Powers of 2

• 21 = 2
• 2= 4
• 23 = 8
• 24 = 16
• 25 = 32
• 26 = 64
• 27 = 128
• 28 = 256
• 29 = 512
• 210 = 1024
• 211 = 2048
• 212 = 4096
• 213 = 8192
• 214 = 16384
• 215 = 32768
• 216 = 65536

210 is also represented with K, 220 is represented with M, 230 is represented with G, 240 is represented with T.

• 0000 = 0
• 0001 = 1
• 0010 = 2
• 0011 = 3
• 0100 = 4
• 0101 = 5
• 0110 = 6
• 0111 = 7
• 1000 = 8
• 1001 = 9
• 1010 = 10
• 1011 = 11
• 1100 = 12
• 1101 = 13
• 1110 = 14
• 1111 = 15

## Binary as power of 2 (Binary, Power of 2, Decimal)

• 10 = 21 = 2
• 100 = 2= 4
• 1000 = 23 = 8
• 10000 = 24 = 16
• 100000 = 25 = 32
• 1000000 = 26 = 64
• 10000000 = 27 = 128
• 100000000 = 28 = 256
• 1000000000 = 29 = 512
• 10000000000 = 210 = 1024

## Binary as power of 2 (Binary, Power of 2, Decimal)

• 11 = (22 – 1) = 3
• 1111 = (23 – 1) = 7
• 1111 = (24 – 1) = 15
• 11111 = (25 – 1) = 31
• 111111 = (26 – 1) = 63
• 1111111 = (27 – 1) = 127
• 11111111 = (28 – 1) = 255
• 111111111 = (29 – 1) = 511
• 1111111111 = (210 – 1) = 1023

## Number of IPs possible with BITS

• 1 bits = 21 possibilities = 2 possibilities.
• 2 bits = 22 possibilities = 4 possibilities.
• 3 bits = 23 possibilities = 8 possibilities.
• 4 bits = 24 possibilities = 16 possibilities.
• 5 bits = 25 possibilities = 32 possibilities.
• 6 bits = 26 possibilities = 64 possibility.
• 7 bits = 27 possibilities = 128 possibility.
• 8 bits = 28 possibilities = 256 possibility.
• 9 bits = 29 possibilities = 512 possibility.
• 10 bits = 210 possibilities = 1024 possibility.

### SUMO LOGIC VIDEOS AND TUTORIALS

Sumo Logic Basics - Part 1 of 2 (link is external) (Sep 29, 2016)Sumo Logic Basics - Part 2 of 2...

### GIT – USEFUL COMMANDS

Discard all local changes, but save them for possible re-use later:  git stash Discarding local changes...

### DISTRIBUTED COMPUTING – RECORDED LECTURES (BITS)

Module 1 - INTRODUCTION Recorded Lecture - 1.1 Introduction Part I – Definition

### BOOK REVIEW GUIDELINES FOR COOKBOOKS

Whenever you add reviews for the book, please follow below rules. Write issues in an excel.Create an excel...