Skip to main content

Digit Sum Calculator – Digital Root & Checks

Quick answer

Add the digits and cast out nines: 987 → 24 → 6; 123+456=579 checks out because 6+15→6 matches 21→3.

  • Mod-9 magic explained.

Figures are estimates from this calculator’s standard formula — adjust the inputs in the tool below for your exact number.

How the Digit Sum Calculator Works

Digit sum: Σ digits | Digital root: repeat until one digit (≡ n mod 9)

The digit sum simply adds a number’s digits: 987 gives 9+8+7 = 24. Iterating yields the digital root: 24 → 2+4 = 6. The digital root always equals n mod 9 (with 9 for multiples of 9), because 10 ≡ 1 (mod 9) — a fact that powers "casting out nines" arithmetic checks. Testing 123 + 459 = 582: digit sums 6, 18→9, and 15→6; since 6+9 ≡ 6 (mod 9), the addition passes. The calculator computes digit sum, digital root, and shows the mod-9 congruence for any input, plus automatic verification of sums and products you paste in. It also flags the classic trick extensions: a number is divisible by 3 exactly when its digit sum is (87 → 15 → divisible by 3), and by 9 when the root is 9.

  1. 1

    Enter a number

    Any integer — 987 or 1,234,567

  2. 2

    Sum the digits

    987 → 9+8+7 = 24, shown digit by digit

  3. 3

    Iterate to the digital root

    24 → 6; the root equals n mod 9

  4. 4

    Run a casting-out-nines check

    Verify pasted sums/products by comparing roots

Use Cases

Arithmetic Checking

Casting out nines catches most digit transpositions in sums

Divisibility Rules

Digit sum divisible by 3 ⇔ the number is (87 → 15 ✓)

Puzzle Solving

Magic-square and number-trick problems lean on digital roots

Tips

  • 1

    Digital root = n mod 9 (9 when n ≡ 0)

  • 2

    Digit sums catch transpositions: 61 vs 16 differ by 45 → root change

  • 3

    Mod-9 checks miss errors that are themselves multiples of 9

Common Mistakes

  • Stopping at the digit sum (24) instead of iterating to the root (6)

  • Using the check on subtraction without borrowing rules

  • Assuming a passing cast-out-nines proves the answer correct

  • Forgetting multiples of 9 have digital root 9, not 0

FAQs

What is the digit sum of 987?

9+8+7 = 24; iterating once more gives the digital root 6.

What is a digital root?

The single digit reached by repeated digit sums; it equals n mod 9, so 987 → 6.

How does casting out nines verify 123+459=582?

Roots: 6, 9, 6 — and 6+9 ≡ 6 (mod 9), so the sum is consistent.

Quick divisibility by 3?

Sum the digits: 87 → 8+7 = 15, divisible by 3, so 87 is (87 = 3×29).

Can the check fail to catch an error?

Yes — mistakes differing by a multiple of 9 (e.g. writing 18 for 81) preserve the root.