This calculator adds two binary numbers together and shows you every step of the working, making it useful whether you are studying digital logic, checking homework, or verifying arithmetic used in computer science and electronics. You enter two binary numbers of up to 32 digits each, using only the digits 0 and 1; anything else triggers a validation message so you can fix the input before results appear. From there the calculator returns the binary sum, the decimal value of each input number, the decimal value of the total, and the hexadecimal and octal equivalents of both inputs and the result, all updated instantly as you type. Below the results sits a full step-by-step carry table that works right to left through each column, showing exactly which columns carry a 1 into the next column and how that carry combines with the digits above it to produce the final sum bit, the same process a half adder or full adder performs in a digital circuit. This makes it a genuinely useful teaching tool, not just an answer generator, because you can trace precisely where each 0 or 1 in the result comes from. Keep in mind that this tool handles unsigned binary integers only; it does not support two's complement negative numbers, binary fractions, or floating-point formats, and inputs are capped at 32 digits each.
| A | B | Carry In | Sum | Carry Out |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 1 | 1 |
Binary addition is the fundamental arithmetic operation of digital computers. Every addition performed by a CPU, from adding two integers to floating-point arithmetic, reduces to column-by-column binary addition with carry propagation.
The process is identical to decimal addition: you start from the rightmost (least significant) bit and work left, adding the two bits in each column plus any carry from the column to the right. The only difference is that the base is 2 rather than 10, so the digit "wraps around" after 1 instead of after 9.
| A | B | Carry In | Sum Bit | Carry Out | Notes |
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | Zero plus zero |
| 0 | 1 | 0 | 1 | 0 | Zero plus one |
| 1 | 0 | 0 | 1 | 0 | One plus zero |
| 1 | 1 | 0 | 0 | 1 | One plus one = 2 (10 in binary) |
| 0 | 0 | 1 | 1 | 0 | Only carry |
| 0 | 1 | 1 | 0 | 1 | One plus carry = 2 |
| 1 | 0 | 1 | 0 | 1 | One plus carry = 2 |
| 1 | 1 | 1 | 1 | 1 | One plus one plus carry = 3 (11 in binary) |
Using the default values (A = 1101, B = 1011):
Result: 11000 in binary, which equals 24 in decimal (13 + 11 = 24). This matches the calculator output above.
Digital circuits implement binary addition using logic gates. A half adder adds two single bits and produces a sum bit and a carry bit. It can be built from an XOR gate (for the sum) and an AND gate (for the carry). A full adder adds three bits (A, B, and a carry-in) and produces a sum bit and a carry-out. Full adders are chained together to add multi-bit numbers: this is called a ripple-carry adder. Modern CPUs use faster variants such as carry-lookahead adders to avoid waiting for carries to propagate through each stage.
Binary (base 2) uses only 0 and 1. Each digit position represents a power of 2: from right to left, the positions represent 1, 2, 4, 8, 16, 32, 64, 128, and so on. Hexadecimal (base 16) is a compact notation for binary: each hex digit represents exactly four binary digits (bits). For example, the binary number 11000 is 24 in decimal and 18 in hexadecimal. Programmers often use hex as a shorthand when working with binary data.
Sources and method: Binary addition algorithm as described in Mano, M. M. & Ciletti, M. D., Digital Design (5th ed., Pearson, 2013). Full adder truth table per IEEE standard combinational logic conventions. Decimal and hexadecimal conversions use standard positional notation (base 10 and base 16).
This calculator adds unsigned binary integers. It does not handle two's complement negative numbers, binary fractions, or floating-point representations. Inputs are limited to 32 binary digits each.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-07-02 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.