Maths & numbers

Digit sum calculator

Add the decimal digits in one pass, which is useful when checking divisibility by 3 or 9.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

A whole number and its digit sum leave the same remainder modulo 9 because each power of ten leaves remainder 1.

THE FORMULAS = d₁ + d₂ + … + dₖ

A worked example

For 582, add 5 + 8 + 2 to get 15.

Good to know

The digit sum can have more than one digit.

Read the result

Add the decimal digits in one pass, which is useful when checking divisibility by 3 or 9.

The primary result is labeled “Sum of digits”. Keep the input definitions in view when comparing this result with another method.

Try a related calculation

The digit sum can have more than one digit.

For a related exercise, try the fraction calculator.

A few questions, answered

How can I check the default inputs by hand?

For 582, add 5 + 8 + 2 to get 15.

Which rule does this calculator apply?

S = d₁ + d₂ + … + dₖ

Find your calculator

Start typing to explore the library.