In computing, binary (or base-2) is a numeric system that only uses two digits 0 and 1.

While the decimal numeral system is the standard system for denoting integer and non-integer numbers.

**Formula to convert binary to decimal.**

- To convert binary to decimals you need to know the Least Significant Bit(LSB) and the Most Significant Bit (MSB). MSB is at the bottom of the column of remainders and the LSB is at the top.
- Add the numbers together as you multiply each of them with its binary equivalent to get the decimal.

**Example:**

Suppose you are given the decimal value and the binary of a decimal number as below. Find the decimal number.

Decimal Digit Value | 256 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |

Binary Digit Value | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 |

To find the dec. no. we multiply each dec. dig. value by bin. dig. value and add them together.

**= (256 x 1) + (128 x 0) + (64 x 1) + (32 x 1)** **+ (16 x 0) + (8 x 0) + (4 x 1) + (2 x 0) + (1 x 1)**

**= 357**