Divisibility rules 2 to 11, and why they work: digit sums, digital roots and casting out nines

Type any whole number and see the divisibility rules for 2 to 11 worked on its digits, with the true remainder alongside. A place value picture shows why the rules for 3, 9 and 11 work, plus digital roots and casting out nines.

Keep it one tap away for everyday use.

Bookmark Divisibility tests?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Type it
  2. Rules 2–11
  3. See why
  4. Remainders
Nothing is uploadedWorks offline once open

Type a whole number

Up to 30 digits. Commas and spaces are ignored.

Tap a divisor to see its rule worked out. ✓ means it divides exactly.

Digital root and remainders

Add the digits, then add the digits of the answer, until one digit is left. That digit is the remainder on dividing by 9 (with 9 standing for 0).

Try this

  • Shuffle the digits of a number (98736 → 63879). Which ✓ marks stay the same? Why do 3, 9 and 11 behave differently?
  • Find the smallest number with a ✓ for every divisor from 2 to 10. (Hint: try 2520.)
  • Type a number, then add 9 to it again and again. What happens to the digital root?
  • Type a 6-digit number made of a 3-digit number written twice, like 918918. Which divisors pass? (1001 = 7 × 11 × 13.)

Check yourself

Fresh questions every time. Nothing is saved.

What it does

Is 98,736 divisible by 9? This page runs every school divisibility rule from 2 to 11 on any whole number you type (up to 30 digits) and, more importantly, shows why the rules work:

  • A row of buttons, one for each divisor from 2 to 11, each with a ✓ or ✗.
  • Tap one to see the rule worked with your digits, and the real division (quotient and remainder) next to it, so you can trust the rule.
  • A place value picture: for 3 and 9, each digit’s value split into a multiple of 9 and the digit itself; for 11, a multiple of 11 and ± the digit.
  • Digital roots (add digits until one is left; the remainder on dividing by 9) and casting out nines, a quick check of a multiplication.

It fits Class 8 Mathematics, number play (divisibility tests, digit sums, digital roots and number puzzles). To find common factors and multiples, try the HCF and LCM; for more number properties, the number theory toolkit.

How to use it

  1. Type a whole number or tap an example. Commas are ignored.
  2. Green ✓ means it divides exactly. Tap a divisor to see its rule and the picture.
  3. In Digital root and remainders, type a second number to check a multiplication by casting out nines.

A worked example

The page starts with 98,736. The ones digit 6 is even (✓ 2); 36 is a multiple of 4 (✓ 4); 736 = 8 × 92 (✓ 8). The digit sum is 9 + 8 + 7 + 3 + 6 = 33, a multiple of 3 but not of 9 (✓ 3, ✗ 9), so it is also divisible by 6. From the right, 6 − 3 + 7 − 8 + 9 = 11 (✓ 11). It is not a multiple of 7 (✗). The digital root is 98736 → 33 → 6, and indeed 98,736 = 9 × 10,970 + 6.

Check yourself

Five fresh questions on remainders, digital roots and missing digits. Type a number, press Check, and open the worked answer if you need it.

FAQ

Does casting out nines prove a multiplication is right? No: it catches most mistakes, but swapping two digits, for example, keeps the digital root the same.

Is this from the NCERT book? It covers the same topic with fibub’s own pictures and examples. fibub is not part of NCERT.

Where the numbers come from

  • The divisibility rules, digit sums, digital roots and casting out nines are standard number theory (place value and remainders). Wording, pictures and examples are fibub's own.
  • Checked against Python's % operator for the example numbers and, on 3,000 random numbers of up to 30 digits, every rule's verdict against the true remainder.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-10.

Change log for Divisibility tests

  1. Add #1239 Divisibility tests Details on GitHub
  2. Add #1238 Polygon angles Details on GitHub

Every change to fibub

Related tools

Number theory toolkit #T372 Test whether a huge number is prime, factorise it, find gcd and lcm with the extended Euclid table, work out modular powers and inverses, solve Chinese remainder systems, and expand continued fractions with their convergents. Exact whole-number arithmetic, in your browser. HCF and LCM #L72 Type two numbers and watch their prime factor trees grow. Shared primes land in the middle of a Venn picture to give the HCF; all of them give the LCM. Euclid's division steps and the HCF × LCM check are shown too. Kaprekar magic squares #L125 Run Kaprekar's routine on any 4-digit number and watch it land on 6174 (or 495 for 3 digits), with a chart of how many steps every start needs. Then build 3 × 3, 4 × 4 and 5 × 5 magic squares one number at a time. Quadratic explorer #L68 Slide a, b and c and watch the parabola move: vertex, roots and the discriminant update live, completing the square is drawn with tiles, and the middle term is split for you. With fresh practice questions. Pythagoras proof playground #L69 Drag a right triangle and watch the squares on its sides add up. Slide through four visual proofs (rearrangement, Bhaskara, similar triangles, Baudhayana) with your own side lengths, and list Pythagorean triples. Trig ratio explorer #L70 Drag the angle of a right triangle and see sin, cos and tan as ratios of its sides, with the exact values at 0°, 30°, 45°, 60° and 90°, the identities checked live, and the full unit circle for Class 11.