# Binary Math - Learn Binary Numbers & Binary Math

Binary math is a number system with only two digits: 0 and 1. It is used by computers to store and process information, since it's easier for them to work with binary compared to the decimal system (0-9).

Here's a brief overview of the basics of binary math:

Converting between binary and decimal: To convert a binary number to decimal, you can use the following formula: decimal = (1st digit * 2^0) + (2nd digit * 2^1) + (3rd digit * 2^2) + ... + (nth digit * 2^(n-1)). For example, the binary number 1101 represents the decimal number (1 * 2^0) + (1 * 2^1) + (0 * 2^2) + (1 * 2^3) = 1 + 2 + 8 = 11.

To convert a decimal number to binary, you can use repeated division by 2, and keep track of the remainders.

Binary addition: Adding binary numbers is very similar to adding decimal numbers. Just remember to carry over to the next digit if the result is greater than 1. For example, the binary addition of 1101 and 101 is 10010.

Learn more about binary math by clicking on the sections below!

Our website was created in 2006 to help students and teachers quickly learn and understand binary numbers, and to explain binary arithmetic with clear examples. We also have free practice exercises, and online binary-to-decimal and decimal-to-binary converters.

Have a question or comment? Contact us here.