Binary number. In mathematics and digital electronics, a binary number is a number expressed in the base-2 numeral system or binary numeral system, which uses only two symbols: typically “0” (zero) and “1” (one). The base-2 numeral system is a positional notation with a radix of 2. Each digit is referred to as a bit. Wikipedia

Table 1 below shows the structure of a 10-bit number

2^{9}

2^{8}

2^{7}

2^{6}

2^{5}

2^{4}

2^{3}

2^{2}

2^{1}

2^{0}

0

0

0

0

0

0

0

0

0

0

0

1023

1

1

1

1

1

1

1

1

1

1

512

256

128

64

32

16

8

4

2

1

Table 1 – 10-bit number

A worked example – Decimal to Binary conversion. Here we work through the calculation of a 10-bit binary number.