Digit Sum Calculator

Sum of digits & digital root

CalculatorsFreeNo Signup
4.6(243 reviews)
All Tools

Loading tool...

About Digit Sum Calculator

A digit sum calculator that computes the sum of digits, digital root (repeated digit sum until single digit), alternating digit sum, digit product, and digit frequency. Supports any number. Shows iterative reduction steps. All calculations are client-side. Essential for number theory, divisibility tests, and recreational mathematics.

Digit Sum Calculator Features

  • Digit sum
  • Digital root
  • Persistence
  • Digit product
  • Frequency
Digit sum: sum of all digits (e.g., 493 → 4+9+3 = 16). Digital root: repeat until single digit (493 → 16 → 7). Formula: dr(n) = 1 + (n−1) mod 9. Additive persistence: how many iterations to reach digital root. Multiplicative persistence: multiply digits instead.

How to Use

Enter any number:

  • Input: Positive integer
  • Output: Digit sum, root, persistence
  • Extra: Digit frequency and product

Divisibility Tests

  • Divisible by 3 ↔ digit sum divisible by 3
  • Divisible by 9 ↔ digit sum divisible by 9
  • Digital root = remainder mod 9 (except 0→9)

Persistence

Additive persistence of 199: 1+9+9=19, 1+9=10, 1+0=1 → persistence = 3. Multiplicative: 39 → 27 → 14 → 4 → persistence = 3.

Step-by-Step Instructions

  1. 1Enter a number.
  2. 2View digit sum.
  3. 3Check digital root.
  4. 4See persistence count.
  5. 5Explore digit frequency.

Digit Sum Calculator — Frequently Asked Questions

What is the digital root shortcut?+

dr(n) = 1 + (n−1) mod 9. For n=493: 1 + 492 mod 9 = 1 + 6 = 7. No need to actually sum digits repeatedly.

What is additive persistence?+

The number of times you must sum digits to reach a single digit. 199 → 19 → 10 → 1 (persistence = 3). Most numbers have low persistence; no number under 10^233 has persistence > 11.

How does digit sum relate to divisibility?+

A number is divisible by 9 if and only if its digit sum is divisible by 9. Same for 3. This gives a quick mental math test for divisibility.

Share this tool: