Long Addition Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter two whole numbers of up to 12 digits to get the sum and the carry into each column.
Result
Sum
Carry into the tens column
- Carry into the hundreds column
- Carry into the thousands column
- Carry into the ten thousands column
- Carry into the hundred thousands column
- Carry into the millions column
- Total number of carries
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- First number (whole, 0 or more): enter 0 or more.
- Second number (whole, 0 or more): enter 0 or more.
- Read the result: Sum; the panel also shows Carry into the tens column, Carry into the hundreds column, Carry into the thousands column, Carry into the ten thousands column, Carry into the hundred thousands column, Carry into the millions column and Total number of carries.
How this calculator works
Long addition adds the digits of each column from right to left. When a column adds up to 10 or more, its last digit is written down and 1 is carried into the next column to the left.
A carry goes into column k (tens = 1, hundreds = 2, …) exactly when the numbers formed by the last k digits add up to 10^k or more: carry = ⌊(a mod 10^k + b mod 10^k) ÷ 10^k⌋.
The formula
| Symbol | Meaning |
|---|---|
| First number (whole, 0 or more) | |
| Second number (whole, 0 or more) | |
| Sum |
Worked example
| First number (whole, 0 or more) | 4,789 |
|---|---|
| Second number (whole, 0 or more) | 3,456 |
| Carry into the tens column | 1 |
|---|---|
| Carry into the hundreds column | 1 |
| Carry into the thousands column | 1 |
| Carry into the ten thousands column | 0 |
| Carry into the hundred thousands column | 0 |
| Carry into the millions column | 0 |
| Total number of carries | 3 |
Sum 8,245
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
How many carries are there in 4,789 + 3,456?
Three: 9 + 6 = 15 carries 1 into the tens, 8 + 5 + 1 = 14 carries 1 into the hundreds, and 7 + 4 + 1 = 12 carries 1 into the thousands. The sum is 8,245.
Why does 999 + 1 have three carries?
Each column adds up to exactly 10, so 1 is carried three times and the sum is 1,000.