Add Binary Numbers Online
Add two or more binary numbers together and view the result in binary, decimal, and hexadecimal.
Adding binary numbers by hand means stacking columns, tracking carry bits, and hoping you didn't miss one. Paste two or more binary strings, pick a bit width if you need fixed padding, and get the sum back in binary, decimal, and hex with the carry steps shown. And everything runs in your browser. Nothing gets uploaded.
How to Use
Enter binary numbers in the input fields. Each number should contain only 0s and 1s. Click "Add another number" to add more operands.
Choose options such as bit padding (auto, 8, 16, or 32-bit) and whether to show carry bits, decimal, and hex equivalents.
Click Add to perform the binary addition. The result is displayed in binary, with optional decimal and hex representations.
Copy the result using the Copy button. The carry bit visualization shows the full step-by-step addition process.
Frequently Asked Questions
How does binary addition work?
Binary addition follows the same principles as decimal addition but uses only two digits: 0 and 1. The rules are: 0+0=0, 0+1=1, 1+0=1, and 1+1=10 (which is 0 with a carry of 1). When adding multiple 1s in a column, you carry over to the next higher bit position, just like carrying in decimal addition.
What happens when the result overflows the selected bit width?
If the sum exceeds the selected bit width (e.g., adding two 8-bit numbers that produce a 9-bit result), the tool will display the full result regardless. In "auto" mode the result naturally grows to accommodate all bits needed. With a fixed bit width, any extra leading bits are shown so you can see the complete answer.
Can I add more than two binary numbers at once?
Yes. Click the "Add another number" button to add additional input fields. The tool will sum all the provided binary numbers together. You can add as many operands as you need -- the addition is performed sequentially from top to bottom.
What is the carry bit in binary addition?
The carry bit is the value that "carries over" to the next column when the sum of a column equals or exceeds 2 (binary 10). For example, 1+1=10 in binary, so you write 0 and carry 1 to the next position. This is analogous to carrying in decimal when a column sum equals or exceeds 10. The carry visualization in this tool shows the carry bits above the operands.
What is bit padding and why does it matter?
Bit padding ensures the binary result is displayed with a fixed number of digits by adding leading zeros. For example, the binary value 101 becomes 00000101 when padded to 8 bits. This is important in computing because processors work with fixed-width data types (8-bit bytes, 16-bit words, 32-bit integers), and padding makes it easy to see how the value fits into a specific register or memory slot.