Subtraction Calculator

a minus b equals the difference

Solution

Share:

Traditional Subtraction

Traditional subtraction lines up digits by place value and works from right to left. When the top digit is too small, you regroup by borrowing 1 from the next place value to the left.

a - b = difference

How It Works

Traditional subtraction lines up digits by place value and subtracts one column at a time from right to left. If the top digit is smaller than the bottom digit, you regroup by borrowing from the next place value to the left. The same idea applies to decimals when the decimal points are aligned. This calculator shows the regrouped digits in red so you can follow every borrowing step.

Example Problem

Subtract 402 - 178:

  1. Line up the numbers so hundreds, tens, and ones stay in the same columns.
  2. Ones column: 2 is smaller than 8, so borrow across the tens column. The 4 hundreds becomes 3 hundreds, the tens becomes 9, and the ones becomes 12.
  3. Subtract the ones: 12 - 8 = 4.
  4. Subtract the tens: 9 - 7 = 2.
  5. Subtract the hundreds: 3 - 1 = 2.
  6. Read the completed answer from left to right: 224.

Result: 224

Key Concepts

Traditional subtraction depends on place value. Borrowing does not change the total amount; it only rewrites one place value as ten of the next smaller place value. The same regrouping idea works for decimals too, as long as the decimal points are lined up before subtracting.

Applications

  • Elementary math education: teaching regrouping and place-value reasoning
  • Bookkeeping: checking differences between balances, totals, and adjustments
  • Measurement and budgeting: finding how much remains after part of a total is used

Common Mistakes

  • Misaligning place values — tens must subtract from tens and hundredths must subtract from hundredths
  • Borrowing from the wrong column — you always regroup from the nearest place value to the left that still has value to lend
  • Forgetting to change the borrowed-from digit — when you borrow 1, the digit to the left decreases by 1

Frequently Asked Questions

How do you subtract step by step?

Line up the place values, then subtract from right to left. If the top digit is smaller than the bottom digit, borrow 1 from the nearest place value to the left and continue the subtraction.

How do you subtract with borrowing step by step?

Line up the digits by place value and subtract from right to left. When the top digit is smaller than the bottom digit, borrow 1 from the next column to the left, add 10 to the current column, and then subtract. Repeat until every column is finished.

Can you subtract decimals with borrowing?

Yes. First line up the decimal points so tenths subtract from tenths and hundredths subtract from hundredths. Then borrow across decimal place values exactly the same way you would with whole numbers.

What if the second number is larger in subtraction?

The result is negative. This calculator still shows the borrowing work using the larger absolute value on top, then applies a minus sign to the final answer so the arithmetic stays easy to follow.

What is the formula for subtraction?

The basic formula is difference = a - b, where a is the starting amount and b is the amount removed. Column subtraction is simply a place-value way of carrying out that same formula.

Why do you have to line up decimals in subtraction?

Aligning decimal points keeps tenths under tenths and hundredths under hundredths. Without that alignment, you would be subtracting mismatched place values and the result would be wrong.

Why does borrowing work in subtraction?

Borrowing rewrites one unit of a larger place value as 10 units of the next smaller place value. For example, 1 hundred can become 10 tens without changing the total amount, which is why regrouping preserves the correct value.

Reference:

Traditional column-subtraction method taught in elementary arithmetic, using place-value alignment and regrouping (borrowing).

Subtraction Formula

Subtraction removes one quantity from another:

difference = a - b

Where:

  • a is the amount you start with
  • b is the amount you subtract
  • difference is what remains

In the traditional method, you line up place values and borrow from the next column to the left when the top digit is smaller than the bottom digit.

Worked Examples

Borrowing Across Zeros

Subtract 402 - 178

  • 2 is smaller than 8, so borrow across the zero in the tens place
  • The hundreds digit 4 becomes 3, the tens becomes 9, and the ones becomes 12
  • 12 - 8 = 4, 9 - 7 = 2, and 3 - 1 = 2

402 - 178 = 224

Decimal Subtraction

Subtract 10 - 2.75

  • Write 10 as 10.00 so the decimal places align
  • Borrow from the ones place to handle the hundredths and tenths columns
  • Subtract column by column after regrouping

10 - 2.75 = 7.25

Negative Result

Subtract 178 - 402

  • The second number is larger, so the final answer will be negative
  • The shown work uses 402 - 178 to make the borrowing process easier to read
  • Then the calculator applies the negative sign to the final result

178 - 402 = -224

Related Calculators

Related Sites