Digit Sum Calculator

Enter a whole number to add up its digits.

A whole number of up to 1000 digits.

Try

Result

You entered00

digit sum 0, digital root 0\displaystyle \text{digit sum } 0,\ \text{digital root } 0

Digit sum

0\displaystyle 0

Digital root

0\displaystyle 0
Show the work
  1. Digit sum

    Add up every digit of the number, each counted as its own value.

    0=00 = 0
  2. Digital root

    The digit sum is already one digit, so it is the digital root.

    00
  3. Digital root by remainder

    A number and its digit sum leave the same remainder when divided by 9, so the digit sum can stand in for nn. For a positive number the digital root is one more than the remainder of n−1n - 1 on division by 9.

    Using dr(n)=1+(n−1) mod 9dr(n) = 1 + (n - 1) \bmod 9

  4. Result

    The digit sum is 00 and the digital root is 00.

Worked examples