A digital root calculator adds up the digits of a number, then the digits of that sum, and so on, until a single digit is left. That final digit is the digital root. The calculator also gives the additive persistence, which is the number of digit sums needed, and shows each sum on the way. Enter a number and press the button. The rules follow the Wikipedia page on the digital root, and the work is done in your browser.
How to use the digital root calculator
- Enter a whole number.
- If you like, enter a base other than 10.
- Press Calculate.
What the digital root is
The Wikipedia page defines the digital root as the single-digit value obtained by repeatedly summing the digits of a number until one digit remains. For 12345, the digit sum is 15, and the digits of 15 add up to 6, so the digital root is 6. The calculator prints the chain 12345 → 15 → 6. The page gives another example, 2035, whose digital root is 1, since 2 + 0 + 3 + 5 is 10, and 1 + 0 is 1.
Additive persistence
The additive persistence of a number is the count of digit sums it takes to reach a single digit. The page's example is 2718, with persistence 2: 2 + 7 + 1 + 8 is 18, and 1 + 8 is 9. A single-digit number has persistence 0. The smallest numbers with persistence 0, 1, 2 and 3 are 0, 10, 19 and 199, and the next one after those is astronomically large, with 23 digits.
The formula
You do not need to add the digits at all. The page gives a formula for any base b: the digital root of n is 0 if n is 0, and otherwise 1 + ((n − 1) mod (b − 1)). In base 10 this means the digital root is the remainder when you divide by 9, except that a remainder of 0 becomes 9 for a positive number. For 12345, 12,344 mod 9 is 5, and 1 + 5 is 6. The reason is that a number and its digit sum leave the same remainder when divided by 9. The calculator shows the formula and the remainder as a check.
Other bases
The idea works in any base. In base 12, the digital root of 3,110 is 8: written in base 12, 3,110 is 1972, and its digits add up to 19 in decimal, which is 17 in base 12, and 1 + 7 is 8. Enter 3110 and a base of 12 to see it. In base 2, the digital root of any positive number is 1, since the remainder mod 1 is always 0.
Where digital roots are used
Digital roots give a quick check on arithmetic, an old method called casting out nines: the digital root of a sum or a product must match the sum or product of the digital roots. If it does not, there is a mistake. They also appear in number puzzles and in numerology, which treats the root as a symbolic value. The mathematical use is the check, and the calculator makes it easy to use on long numbers.
A worked example of casting out nines
Suppose you multiply 47 by 38 and get 1,786. To check, find the digital roots: 47 gives 11, then 2, and 38 gives 11, then 2. The product of the roots is 4. The digital root of 1,786 is 1 + 7 + 8 + 6, which is 22, then 4. The two roots match, so the answer passes the check. If you had written 1,787, the root would be 5, and the mismatch would show an error. The method catches most slips, but not a swap of two digits, because a swap leaves the digit sum unchanged.
Digital roots of multiples and powers
The digital roots of the multiples of 9 are always 9. The multiples of 3 have roots of 3, 6 or 9. The roots of the powers of 2 cycle through 1, 2, 4, 8, 7, 5, and the roots of the powers of 10 are always 1. The cycles follow from the fact that a number and its digital root leave the same remainder mod 9. Entering a few numbers into the calculator is a nice way to see these patterns.
Large numbers
The digital root of a very large number can be found by adding its digits in groups, since the order of addition does not matter. The calculator accepts whole numbers up to one quadrillion, which is more than any hand calculation needs, and shows the digit sums on the way.
A numeric puzzle with roots
Try the number 999,999,999. Its digits add up to 81, then to 9, so the root is 9 and the persistence is 2. Try 1,000,000,000, whose root is 1 and persistence is 1. Try the date 12 November 2026 written as 12112026: the digit sum is 15, then 6. The calculator handles all of these in a moment, and the chain shows each stage.
Reading the output
The first line is the digital root. The second is the additive persistence, and the third shows the chain of numbers from your input down to the root, joined by arrows. The last lines show the formula and the remainder mod 9 as two independent checks of the answer.
Common mistakes
- Stopping after one sum. Keep going until one digit remains.
- Treating 9 as 0. The root of a positive multiple of 9 is 9.
- Forgetting the base. The digits depend on the base you use.
- Using the root to prove a result correct. A match does not prove it, but a mismatch proves an error.
- Confusing persistence with the root. One counts the steps, the other is the final digit.
What next
Use this often? Add Digital Root to your Home screen.
Frequently asked questions
What is a digital root calculator?
A tool that adds the digits of a number repeatedly until a single digit is left, and reports that digit and the number of steps.
What is the digital root of 12345?
6. The digits add to 15, and 1 + 5 = 6.
What is the formula for the digital root?
For n > 0 in base 10 it is 1 + ((n − 1) mod 9). A positive multiple of 9 has root 9.
What is additive persistence?
The number of digit sums needed to reach one digit. For 2718 it is 2: 2 + 7 + 1 + 8 = 18, then 1 + 8 = 9.
What is casting out nines?
A check on arithmetic using digital roots: the roots of a sum or product must match the sum or product of the roots.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.