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

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 thickens lines and fixes the step panel for projection.
  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 page 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

    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.

    Is anything sent to a server?

    No. Everything runs locally. Only if you copy a shareable URL will the inputs appear in the link.

    Related calculators