Skip to content
Number Buffet

First 50 digital roots

1 → 1, 2 → 2, 3 → 3, 4 → 4, 5 → 5, 6 → 6, 7 → 7, 8 → 8, 9 → 9, 10 → 1, 11 → 2, 12 → 3, 13 → 4, 14 → 5, 15 → 6, 16 → 7, 17 → 8, 18 → 9, 19 → 1, 20 → 2, 21 → 3, 22 → 4, 23 → 5, 24 → 6, 25 → 7, 26 → 8, 27 → 9, 28 → 1, 29 → 2, 30 → 3, 31 → 4, 32 → 5, 33 → 6, 34 → 7, 35 → 8, 36 → 9, 37 → 1, 38 → 2, 39 → 3, 40 → 4, 41 → 5, 42 → 6, 43 → 7, 44 → 8, 45 → 9, 46 → 1, 47 → 2, 48 → 3, 49 → 4, 50 → 5

In base 10 the digital root is the remainder on division by 9, with 9 standing in for 0. That is why it detects divisibility by 3 and 9. Roots repeat with period 9, so this page advances the cycle rather than re-summing each number’s digits.

Settings

Quick presets

Digits only, up to 40 of them. Spaces, underscores and commas are ignored.

Used by the consecutive-numbers mode only; the two single-number modes ignore it.

In base b the digital root is the residue modulo b − 1, so base 10 gives the familiar mod-9 result.

Prints "48 → 3" rather than just the root.

Base 10 only — other bases are grouped by the base’s own digits.

Fine-tune the look

Pick a preset next to the image first — these controls adjust it.

Frame

A border drawn inside the edge of the image.

Advanced

Results

50 values

1 → 1, 2 → 2, 3 → 3, 4 → 4, 5 → 5, 6 → 6, 7 → 7, 8 → 8, 9 → 9, 10 → 1, 11 → 2, 12 → 3, 13 → 4, 14 → 5, 15 → 6, 16 → 7, 17 → 8, 18 → 9, 19 → 1, 20 → 2, 21 → 3, 22 → 4, 23 → 5, 24 → 6, 25 → 7, 26 → 8, 27 → 9, 28 → 1, 29 → 2, 30 → 3, 31 → 4, 32 → 5, 33 → 6, 34 → 7, 35 → 8, 36 → 9, 37 → 1, 38 → 2, 39 → 3, 40 → 4, 41 → 5, 42 → 6, 43 → 7, 44 → 8, 45 → 9, 46 → 1, 47 → 2, 48 → 3, 49 → 4, 50 → 5

In base 10 the digital root is the remainder on division by 9, with 9 standing in for 0. That is why it detects divisibility by 3 and 9. Roots repeat with period 9, so this page advances the cycle rather than re-summing each number’s digits.


Make an image

Turn on JavaScript to style and download these numbers as an image. The values themselves are listed above.

Text on the image

Drag a line straight onto the picture to place it — once placed, it stays exactly where you put it. Everything here is drawn into the download.

What are the first 50 digital roots?

The first 50 digital roots are:

1 → 1, 2 → 2, 3 → 3, 4 → 4, 5 → 5, 6 → 6, 7 → 7, 8 → 8, 9 → 9, 10 → 1, 11 → 2, 12 → 3, 13 → 4, 14 → 5, 15 → 6, 16 → 7, 17 → 8, 18 → 9, 19 → 1, 20 → 2, 21 → 3, 22 → 4, 23 → 5, 24 → 6, 25 → 7, 26 → 8, 27 → 9, 28 → 1, 29 → 2, 30 → 3, 31 → 4, 32 → 5, 33 → 6, 34 → 7, 35 → 8, 36 → 9, 37 → 1, 38 → 2, 39 → 3, 40 → 4, 41 → 5, 42 → 6, 43 → 7, 44 → 8, 45 → 9, 46 → 1, 47 → 2, 48 → 3, 49 → 4, 50 → 5

About digital roots

Reducing a numeral to a single digit is older than the decimal point reached Europe. Hippolytus, the Roman bishop who died around 235, described digit-summing of Greek numerals in The Refutation of all Heresies, and the Syrian philosopher Iamblichus (c. 245 – c. 325) covered it in his commentary on Nicomachus of Gerasa's Introduction to Arithmetic. Both used it to reduce a numeral to a "root" between 1 and 9. Neither connected it to checking a calculation.

That step appears first in India. The earliest surviving work to use digit sums as a check on arithmetic is the Mahāsiddhānta, written around 950 by Aryabhata II (c. 920 – c. 1000). Around 1020 the Persian polymath Ibn Sina — Avicenna in Latin — set out full details of what he called the Hindu method of checking calculations by casting out nines, and the technique travelled west alongside the Hindu–Arabic numerals themselves: Leonardo of Pisa describes the procedure in Liber Abaci in 1202. European arithmetic texts carried it for centuries afterwards as a quick proof of a long multiplication.

It works because 10 ≡ 1 (mod 9): every power of ten leaves remainder 1, so a number and its digit sum always have the same remainder on division by nine. The same reasoning is why it fails as an error check. Reordering digits does not change their sum, so writing 1324 for 1234 passes the test. Modern check digits — the Luhn algorithm on a bank card, the mod-11 digit on an ISBN-10 — weight each position differently precisely to catch that transposition.

The digit-sum check also circulates today under the banner of "Vedic mathematics", after Bharati Krishna Tirtha's book of that name, published posthumously in 1965. Tirtha said his sixteen sutras came from a pariśiṣṭa, an appendix, to the Atharvaveda. K. S. Shukla asked him to point them out in a standard edition and was told they appeared only in a version Tirtha alone had seen. S. G. Dani, Kim Plofker and others have since noted that the Vedas contain none of the sutras, and that the methods rely on decimal notation, which reached India far later. The techniques work; the attribution does not.

Key properties

  • For n ≥ 1 the digital root in base b is 1 + ((n − 1) mod (b − 1)), and the digital root of 0 is 0 — so it is just the residue modulo b − 1, with b − 1 standing in for 0.
  • In base 10 it works because 10 ≡ 1 (mod 9): every power of ten leaves remainder 1, so a number and its digit sum are congruent modulo 9.
  • dr(a + b) = dr(dr(a) + dr(b)) and dr(a × b) = dr(dr(a) × dr(b)), which is exactly what makes casting out nines a valid check on addition and multiplication.
  • A positive integer is divisible by 9 precisely when its digital root is 9, and by 3 precisely when its digital root is 3, 6 or 9.
  • The digital root of a perfect square is always 1, 4, 7 or 9, because the squares leave only the remainders 0, 1, 4 and 7 modulo 9.
  • Casting out nines cannot detect a transposition of digits: reordering them leaves the digit sum, and therefore the root, unchanged.
  • The smallest numbers with additive persistence 1, 2 and 3 are 10, 19 and 199, and additive persistence has no upper bound.
  • Multiplicative persistence behaves quite differently: 277777788888899 needs 11 steps of multiplying its digits, the most of any known number, and it is conjectured that nothing does better.

Other lengths

Sources