learn.howToCalculate
learn.whatIsHeading
A digit sum calculator adds together all the individual digits of a number. The sum of digits of 12345 is 1+2+3+4+5 = 15. Digit sums are used in divisibility rules (a number is divisible by 9 if its digit sum is divisible by 9), check digit algorithms, and computing digital roots.
공식
sum = d1 + d2 + d3 + ... + dn
단계별 가이드
- 1Separate the number into individual digits
- 2Add all digits together
- 3The result is the digit sum
풀어진 예시
입력
12345
결과
15
Used in divisibility rules and digital roots
피해야 할 일반적인 실수
- ✕Including the decimal point in multi-digit sums
- ✕Forgetting negative signs don't affect digit sums
계산할 준비가 되셨나요? 무료 Sum of Digits 계산기를 사용해 보세요
직접 시도해 보세요 →