Casting Out Nines: The Ancient Math Trick That Checks Your Calculations
Contents
Ever wonder how mathematicians before calculators made sure their lengthy sums and products were correct? Enter 'casting out nines'—a neat little trick that checks your integer calculations by using a hidden pattern in our base-10 number system. It’s fast, satisfying, and surprisingly reliable for spotting errors in addition, subtraction, multiplication, and even division with remainders.
Where did this come from?
‘Casting out nines’ dates back to at least the 4th century, when Greek and Indian scholars noticed that every time you add or multiply numbers, you can track their remainders when divided by 9 instead of the full numbers. Leonhard Euler, the 18th-century Swiss mathematician, even referenced digital roots (the repeated sum-of-digits process) in his work. The magic comes from the fact that 10 leaves a remainder of 1 when divided by 9—so every multiple of 10 doesn’t affect your check, and you’re left with single-digit simplicity.
Where you'll see this in real life
In real life, you’ll encounter casting-out-nines ideas more often than you think: - At the checkout, store systems use check digits similar to casting out nines when scanning barcodes. - When you guess the result of a mental calculation, casting out nines lets you spot a slip without recalculating the whole thing. - ISBN and credit card numbers have check digits—a close cousin of this trick—to make sure you typed them correctly. - Some puzzle games and numerology rely on the digital root, a fancy name for the final 1–9 result you get when you cast out nines repeatedly.
Give it a go: How to cast out nines
Ready to try it? Here’s how to check a multiplication, for example: 1. Pick two numbers, say 26 and 37, and multiply them normally (26 × 37 = 962). 2. Find the digital root of each: add digits until you get 1–9 (2+6=8; 3+7=10 → 1+0=1). 3. Multiply those roots: 8 × 1 = 8, digital root is 8. 4. Find the digital root of your result 962: 9+6+2=17 → 1+7=8. 5. If both digital roots match (they do!), your multiplication is likely correct. If not, you know where to look for a slip-up.
Ready to practise?
Turn this idea into a short Mathyard worksheet with instant questions and worked solutions.
Generate a worksheet on this topicMathyard Team
The Mathyard team builds tools to help students and teachers get more out of maths practice.
