# Binary Calculator

Luis Anaya

15 Jan 2021

The formula to convert a binary number to decimal numbers is:

(11001)₂ = (1 * 2⁴) + (1 * 2³) + (0 * 2²) + (0 * 2¹) + (1 * 2⁰) = 25

Multiply each digit in the binary number by 2 raised to the power depending upon the position of the digit in the binary number, starting from the rightmost digit and moving towards the left.

Enter a binary number (maximum 16-bit) in the input below.