Add, subtract, multiply, and divide binary numbers. Convert between binary, decimal, hexadecimal, and octal number systems.
Binary is a base-2 number system using only 0 and 1. It is the foundation of all digital computing and electronics.
To convert binary to decimal, multiply each digit by 2 raised to its position power and sum the results. Example: 10100 in binary = 20 in decimal (16+4).
AND, OR, XOR are bitwise operations used in programming and digital logic. ADD, SUB, MUL, DIV work just like decimal arithmetic but in base-2.
Enter two binary numbers, select an operation, and click Calculate. Use the Number Base Converter to switch between binary, decimal, hex, and octal instantly.