I’m struggling to understand why some fractions convert neatly into decimals while others go on forever, because in my head it feels like pouring juice into cups and surely it should all fit somehow? How can I tell what kind of decimal a fraction will become without doing loads of division?
Welcome to Maths For Fun – where mathematical curiosity meets pure enjoyment for learners of all ages! Founded by a team of lifelong maths enthusiasts, we believe that numbers aren’t just for tests – they’re for exploration, discovery, and delight. Whether you’re eight or eighty, a beginner or a seasoned problem solver, you’ll find a growing collection of logic based games and puzzles that cover every corner of mathematics.
















3 Responses
Reduce the fraction to lowest terms: its decimal terminates exactly when the denominator’s prime factors are only 2 and 5; if any other prime appears, the decimal repeats. Analogy: base 10 is like having cups of size 1/2 and 1/5-amounts built from those pour exactly, while other sizes make you ladle in a repeating cycle; see https://www.khanacademy.org/math/arithmetic/arith-decimals/arith-review-repeating-decimals/a/repeating-decimals-review
Think of decimals as pouring your fraction-juice into bottles of size 10, 100, 1000, and so on. A fraction a/b will stop neatly if some bottle size 10^n fits b exactly-then you can write it with n decimal places and be done. In lowest terms, that happens precisely when the denominator only has the “secret ingredients” 2s and 5s (because 10 = 2 × 5). If there’s any other prime hiding in the denominator-like a 3 or a 7-no power of 10 will fit it perfectly, so long division keeps producing remainders that eventually repeat, giving you a repeating decimal. That’s the whole mystery: terminate if b divides a power of 10; otherwise repeat.
How to tell without doing loads of division: reduce the fraction, factor the denominator, and check its prime factors. Example (terminating): 7/8 is already reduced and 8 = 2^3, so it will end. Make the denominator 1000 by multiplying top and bottom by 125: 7/8 = 875/1000 = 0.875. Example (repeating): 1/12 has 12 = 2^2 × 3; that extra 3 means a repeat. Indeed 1/12 = 0.08333… with the 3s marching on forever. A slightly different one: 3/40 has 40 = 2^3 × 5, only 2s and 5s, so 3/40 = 75/1000 = 0.075, tidy as a well-labeled lunchbox. For a friendly walkthrough, see Khan Academy’s guide: https://www.khanacademy.org/math/arithmetic/fraction-arithmetic/arith-review-rep-decimals/a/repeating-decimals
Think of base 10 as a kitchen with two special measuring cups: 2s and 5s. Powers of 10 are just stacks of those cups (since 10 = 2 × 5). A fraction a/b will pour perfectly into a finite number of decimal places precisely when, after you simplify a/b, the denominator b is built only from 2s and 5s. That’s because some power of 10 will then divide b exactly, so multiplying by that power clears the denominator and the decimal stops. If any other prime sneaks into b (like a 3 or a 7), the long-division remainders start cycling-there are only finitely many remainders possible-so the decimal must repeat forever. I’m 99% sure that’s the whole story, and the 1% is just me leaving room for a mischievous gremlin.
Here’s the quick test without doing loads of division: reduce a/b to lowest terms. Factor the denominator b. If b has only 2s and 5s, the decimal terminates; the number of decimal places is the larger of the counts of 2s and 5s. If b has any other prime, the decimal is repeating (maybe after a short nonrepeating “lead-in”). Examples: 3/8 has b = 2³, so it terminates as 0.375. For 7/12, b = 2² × 3: the 2² gives two stable decimal places, then the 3 causes a repeat, so 7/12 = 0.58(3). For 1/6 = 2 × 3, you get 0.1(6). If you’re curious about the exact length of the repeating block, remove all 2s and 5s from b and then find the smallest k with 10^k ≡ 1 modulo what’s left-that k is the repeat length.
So in short: only-denominator-made-of-2s-and-5s means a neat, finite decimal; any other primes mean an infinite but repeating dance. Different base, different “measuring cups”-but the same kitchen rules.