dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

This page is using the new English version of dCode, please make comments !

Tool to find the sum of all digits of a number. The sum of all digits in a number is often used in numerology and sometimes in math problems.

Answers to Questions

How to calculate the sum of digits in a number?

dCode performs an easy but fast addition

123 => 1+2+3 = 6

How to calculate a digital root?

The digital root is computed through recursive reduction (repeated sum) that consists in repeating the addition operation until the result has only one digit.

789 => 7+8+9 = 24 => 2+4 = 6

What is the difference between a number and a digit?

A number is made of digits, like a word is made of letters.

There are only 10 digits: 0,1,2,3,4,5,6,7,8,9

There is an infinity of numbers

Numbers can have only one digit such as 1, 2 ou 3 (they are both numbers and digits)

Ask a new question

Source code

dCode retains ownership of the source code of the script Sum of Digits. Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Sum of Digits script for offline use, for you, your company or association, see you on contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK