User guide
Binary Math
A-4 Vipersat CDD-56X Series User Guide
Binary Math
Network devices communicate using BITS, where a bit is a single digit repre-
sented by a 1 or a 0, or by using BYTEs, where a byte is made up of eight bits in
any combination of 1’s or 0’s. A byte is also referred to as an octet.
Figure A-2
Bits and Bytes
An octet can be converted to or from binary using the technique shown in the
decimal conversion chart in Figure A-3. The conversion chart also shows the
decimal equivalent of the binary number.
Figure A-3
Binary to Decimal Conversion
Bits containing a 1 in Figure A-3 determine which decimal values should be
added. These decimal values, when added together, determine the decimal
equivalent for the binary number.
This is an example of changing a number expressed in binary (base 2) to its
decimal equivalent (base 10). The numeric value is the same, you have only
128 64 32 16 8 4 2 1
1
101 100 01 = 165
11 10 0 0 0 0 = 194
1111 11 11=255
128
32
4
1
_____
165