Skip to content
    Arithmetic

    How to Subtract Numbers (Step-by-Step Guide)

    You hand over a $50 bill and wait for your change — how much should come back? Subtraction answers that instantly. It's the opposite of addition, and this guide walks you through it one column at a time.

    Math Solver Academic Editorial Board4 min read

    Key takeaways

    • Subtraction finds what's left: Difference = a − b.
    • Line up digits by place value before subtracting.
    • If the top digit is smaller than the bottom one, borrow 1 from the next column.
    • b − a is not the same as a − b unless the two numbers are equal.
    In this guide
    1. 01What is subtraction?
    2. 02Why does subtraction matter?
    3. 03The formula
    4. 04How to subtract step by step
    5. 05Common mistakes to avoid
    6. 06Tips and tricks
    7. 07Where you'll use it in real life
    8. 08Quick summary
    9. 09Worked example
    10. 10Frequently asked questions

    What is subtraction?

    Subtraction finds the difference between two numbers. If you have 10 candies and eat 4, subtraction tells you how many remain: 6.

    Why does subtraction matter?

    Subtraction shows up anywhere something gets used up or taken away: change from a purchase, battery left on your phone, or days remaining until an exam. It also powers comparisons, like how much more expensive one phone is than another.

    A negative answer in subtraction isn't a mistake — it just means the second number was bigger than the first.

    The formula

    Difference = a − b
    SymbolWhat it meansExample
    DifferenceWhat's left after subtracting32
    aThe starting amount50
    bThe amount taken away18

    How to subtract step by step

    1. 1Write the larger starting amount as a and the amount being removed as b, lined up by place value.
    2. 2Subtract the ones column first. If the top digit is smaller than the bottom digit, borrow 1 from the column to its left.
    3. 3Subtract the tens column (adjusting for any borrow), then continue through the remaining columns.
    4. 4Read off the final difference.

    Now try your own numbers in the calculator below to see every borrowing step.

    Try it yourself

    Pre-filled with the example — change any value.

    🧮
    Arithmetic
    Elementary

    Basic Subtraction

    Subtract one number from another

    Difference = a - b

    0a = 202
    20 - 18 = 2
    130
    120

    💡 Example

    Reference
    Inputs:a=10, b=4
    Result:6
    Open the full Basic Subtraction calculator

    Common mistakes to avoid

    • Subtracting in the wrong order. a − b is not the same as b − a unless both numbers are equal.
    • Forgetting to lower the borrowed-from digit. When you borrow 1, the column you took it from drops by 1.
    • Panicking at a negative answer. If b is bigger than a, the difference is negative — that's correct, not an error.

    Tips and tricks

    • Check your work by adding the difference back to b — you should get a again.
    • Estimate first by rounding both numbers to the nearest ten to sanity-check your final answer.
    • Subtraction is the reverse of addition, so if you're unsure, add your answer back to double-check.

    Where you'll use it in real life

    • Shopping: working out how much change you should get back from a purchase.
    • Travel: finding out how many days remain until a trip or event.
    • Budgeting: subtracting expenses from your income to see what's left.
    • Comparisons: using percentage change to see how much a price rose or fell.

    Quick summary

    To subtract one number from another, line the digits up by place value and subtract column by column, borrowing from the next column whenever the top digit is smaller. A negative result simply means the number taken away was bigger. Use the calculator above to see every borrowing step for your own numbers.

    Worked example

    You had $50 in your wallet and spent $18 on lunch and a coffee. How much money do you have left?

    1. 01Difference = a - b
    2. 02Difference = 50 - 18
    3. 03Difference = 32

    These numbers are pre-filled in the calculator above.

    Frequently asked questions

    What does it mean if subtraction gives a negative number?

    It means the second number was bigger than the first. For example 4 − 10 = −6, which just shows you're 6 short of the amount you started with.

    How is subtraction different from addition?

    Addition combines amounts into a bigger total, while subtraction removes an amount from a total to find what's left. They undo each other.

    How do I subtract when I need to borrow?

    If the top digit in a column is smaller than the bottom digit, borrow 1 from the column to its left (which lowers that digit by 1 and adds 10 to the current column), then subtract as normal.

    How do I check that a subtraction answer is correct?

    Add the difference back to the number you subtracted (b). If you get the starting number (a) back, your subtraction was correct.

    #Arithmetic#Elementary#Basic Subtraction
    Updated

    Sponsored ToolsAd

    More tools on Ytools →
    Calcu.click — 25+ Free Smart Calculators preview

    Calcu.click — 25+ Free Smart Calculators

    Brand new calculation platform with 0ms reactive math, 100% client-side privacy, and dedicated subdomains. Fast calculators for EMI, SIP, Mortgage, Income Tax, BMI, Age, Percentage, and more.

    25+ CalculatorsFinanceHealth0ms Real-TimeFree
    Keyboard Arena preview

    Keyboard Arena

    Master touch typing with real-time WPM speed tests, mechanical switch audio, A-Z finger biomechanics drills, 40+ structured lessons, and competitive arcade games.

    Typing TestWPMTouch Typing
    Flutter Log Explorer preview

    Flutter Log Explorer

    Real-time structured log viewer and search explorer for Flutter & Dart. Zero-config capture from Debug Adapter (DAP) & Dart VM Service with smart classification and filters.

    FlutterDartVS Code ExtensionOpen VSX