← Math & statistics

Math practice

Long addition & subtraction (decimals, carry, borrow)

Enter two numbers to see a classroom-style column layout with every carry or borrow step highlighted. Decimals are aligned automatically, and you can copy the result, a shareable URL, or LaTeX for worksheets.

Sample values load and calculate on first view so you can see the layout instantly. All calculations stay in your browser until you copy a link.

Other languages 日本語 | English | 简体中文 | 繁體中文 | Español | Português (Brasil) | Bahasa Indonesia | Tiếng Việt | 한국어 | Français | Deutsch | Italiano | Русский | हिन्दी | العربية

← Back to the column arithmetic hub

How to use (3 steps)

  1. Choose add or subtract, then type the two numbers. Commas and full-width digits are accepted.
  2. Expand “Options” to keep trailing zeros or show guide lines. Teacher mode adds carry and borrow cues so the active column is easier to follow.
  3. Click Calculate or just change an input to update the result, layout, and step-by-step narration. Use Auto play or the arrows to walk through each column.
Operation
Options

All processing stays on this calculator until you copy a URL or LaTeX.

Result

Shortcuts: Alt+S share, Alt+L copy LaTeX, Alt+[ previous step, Alt+] next step.

Examples

Long addition/subtraction layout

How it’s calculated

    Teacher notes

    Print more practice for this skill

    Pick the worksheet set that matches the operation you are teaching, then print it for class, homework, or quick review.

    FAQ

    How do I align decimals?

    The tool pads the shorter decimal with zeros so both numbers share the same decimal length. Turn on the dotted decimal guide to see the alignment.

    When do carry and borrow happen?

    A carry appears when a column adds to 10 or more; a borrow appears when the top digit is smaller than the bottom digit plus any previous borrow.

    How do you borrow through zeros?

    We walk left until we find a non-zero digit, reduce it by one, and turn any zeros in between into 9s. Each borrow is shown in the steps.

    Can I enter commas or full-width numbers?

    Yes. Commas are removed, and common full-width digits and punctuation are normalized before checking the number.

    How can I check whether the answer is correct?

    The “Check your answer” panel under the result flips the operation back: addition becomes subtraction, and subtraction becomes addition. Even when decimals or trailing zeros look different, the checking relationship stays the same.