Digital Root Calculator

Compute the digital root (repeated digit sum) of any number. Shows iteration steps, divisibility-by-9 connection, multiplicative digital root, additive persistence, and digit frequency analysis.

Digital Root Calculator

Non-digit characters are removed
Digital Root
2
1 + ((9875 โˆ’ 1) mod 9)
Additive Persistence
3
3 digit-sum steps to reach single digit
Formula Check (mod 9)
2
Should match digital root โ€” verifies the mod-9 shortcut
Total Digits
4
Number of digits in 9875
Divisible by 9?
No
Digital root = 2
Divisible by 3?
No
Digital root 2 is not a multiple of 3
Multiplicative Root
0
Contains digit 0 โ†’ product is 0
Mult. Persistence
2
2 digit-product steps
Digit Frequency
Digit 00 (0.0%)
Digit 10 (0.0%)
Digit 20 (0.0%)
Digit 30 (0.0%)
Digit 40 (0.0%)
Digit 51 (25.0%)
Digit 60 (0.0%)
Digit 71 (25.0%)
Digit 81 (25.0%)
Digit 91 (25.0%)

Additive Digit Sum Steps

StepValueDigit Sum
198759 + 8 + 7 + 5 = 29
2292 + 9 = 11
3111 + 1 = 2
ResultDigital Root = 2

Multiplicative Digit Product Steps

StepValueDigit Product
198759 ร— 8 ร— 7 ร— 5 = 2520
225202 ร— 5 ร— 2 ร— 0 = 0
ResultMultiplicative Root = 0
Planning notes, formulas, and examples

About the Digital Root Calculator

The digital root of a number is the single-digit value obtained by repeatedly summing its digits until only one digit remains. For example, the digital root of 9875 is 2, because 9+8+7+5 = 29, then 2+9 = 11, then 1+1 = 2. A beautiful shortcut exists: the digital root equals the number modulo 9 (with 9 replacing 0 for nonzero numbers). This connection to divisibility by 9 is the basis for the ancient technique of "casting out nines" to check arithmetic. The additive persistence counts how many summing steps are needed to reach the digital root. This calculator also computes the multiplicative digital root (repeatedly multiply digits) and multiplicative persistence. A step-by-step iteration table traces every intermediate value, digit frequency analysis shows the distribution of digits in your number, and comparison presets let you explore numbers with unusually high persistence like 77 (persistence 4) or the smallest number with persistence 11 (277777788888899).

When This Page Helps

While the digital root formula (1 + (nโˆ’1) mod 9) gives the answer in one step, this calculator shows the full iterative process and counts persistence โ€” the number of steps to reach a single digit, which is a non-trivial number theory quantity with open research questions. It also computes the multiplicative digital root (repeatedly multiply digits), analyzes digit frequency, and tests divisibility by 3 and 9 โ€” making it a comprehensive number theory exploration tool.

How to Use the Inputs

  1. Enter any non-negative integer in the Number field (arbitrarily large numbers are supported).
  2. Click a preset like "9875" or "277777788888899" to load a notable example.
  3. Review the digital root, additive persistence, and formula shortcut (n mod 9) in the output cards.
  4. Examine the iteration table showing each digit-sum step from the original number down to one digit.
  5. Toggle "Show multiplicative" to also compute the multiplicative digital root and persistence.
  6. Check the digit frequency bar chart for the distribution of digits in your number.
  7. See the divisibility-by-3 and divisibility-by-9 indicators derived from the digital root.
Formula used
Digital root: dr(n) = 1 + ((n โˆ’ 1) mod 9) for n > 0, dr(0) = 0 Additive persistence: number of digit-sum iterations to reach a single digit Multiplicative digital root: repeatedly multiply digits until single digit

Example Calculation

Result: Digital root = 2, Persistence = 3

9875 โ†’ 9+8+7+5 = 29 โ†’ 2+9 = 11 โ†’ 1+1 = 2. Three steps, digital root is 2. Also: 9875 mod 9 = 2.

Tips & Best Practices

  • Check that all inputs use the same scale and assumptions before trusting the result.
  • Compare the answer with the worked example or a rough estimate to catch entry mistakes.

Casting Out Nines

The digital root is the foundation of an ancient error-checking technique called "casting out nines." To verify a calculation like 123 ร— 456 = 56088, compute the digital root of each factor: dr(123) = 6, dr(456) = 6, and dr(6 ร— 6) = dr(36) = 9. Then check: dr(56088) = 9. Since both sides give 9, the answer is likely correct. If they disagree, there is definitely an error. This works because the digital root is the remainder modulo 9, and modular arithmetic distributes over addition and multiplication.

Additive and Multiplicative Persistence

Additive persistence counts how many digit-sum iterations are needed to reach a single digit. Most numbers below 10^20 have persistence โ‰ค 3. The smallest numbers with persistence 1, 2, 3, 4 are 10, 19, 199, and 19999999999999999999999. Finding numbers with additive persistence > 4 in base 10 is a famously open problem. Multiplicative persistence (replacing sums with products) is also studied: 277777788888899 has multiplicative persistence 11, and it is conjectured that no number has persistence > 11 in base 10.

Digital Roots in Modular Arithmetic

The digital root equals the number modulo 9 (with 0 replaced by 9 for positive numbers). This is because 10 โ‰ก 1 (mod 9), so each digit's place value is congruent to 1, and the number mod 9 equals the digit sum mod 9. This self-similarity under digit summation is why the pattern is preserved across iterations. The digital root function partitions positive integers into nine residue classes, making it useful in number theory proofs and recreational mathematics puzzles.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • The digital root is the single-digit number obtained by repeatedly summing the digits of a number until only one digit remains.