Converting Between Fractions and Decimals

Learning goals

  • Convert a decimal that ends to a fraction by reading its last place as the denominator
  • Divide numerator by denominator to turn any fraction into a decimal
  • Scale to a denominator of ten or a hundred instead of dividing
  • Predict whether a fraction terminates from the prime factors of its denominator
  • Explain why a fraction's decimal, when it does not end, must repeat, since a remainder must come back

A decimal that ends is already a fraction

You saw in the place-value lesson that the digits after the decimal point are tenths, hundredths, and thousandths. That single fact is the whole method for turning a decimal that ends into a fraction.

Take 0.490.49. The 44 is four tenths and the 99 is nine hundredths, so written out it is 410+9100\tfrac{4}{10} + \tfrac{9}{100}. Put both pieces over a hundred and add:

0.49=40100+9100=49100.0.49 = \frac{40}{100} + \frac{9}{100} = \frac{49}{100}.

The two-digit string "4949" lands directly on top of 100100, which is the shortcut. A decimal that ends always works this way, because its last place names a denominator every digit can be written over. The rule is short: the number of digits after the point is the number of zeros in the denominator.

0.7=710,0.49=49100,0.013=131000.0.7 = \frac{7}{10}, \qquad 0.49 = \frac{49}{100}, \qquad 0.013 = \frac{13}{1000}.

A fraction read straight off the digits may not yet be in lowest terms, so the conversion has a second half. A fraction is in lowest terms when its top and bottom share no factor larger than 11. Reduce by dividing the top and bottom by their greatest common factor, the same simplifying you did in the fractions chapter.

Worked example 1 Write 0.350.35 as a fraction in lowest terms

There are two digits after the point, so the denominator is a hundred and the digits sit on top:

0.35=35100.0.35 = \frac{35}{100}.

Now reduce. The greatest common factor of 3535 and 100100 is 55, so divide the top and bottom by 55:

35100=35÷5100÷5=720.\frac{35}{100} = \frac{35 \div 5}{100 \div 5} = \frac{7}{20}.

Since 77 and 2020 share no common factor larger than 11, the fraction 720\tfrac{7}{20} is in lowest terms, and that is the answer.

A number with a whole part converts the same way: leave the whole part alone and convert only the decimal piece. The result is a mixed number you can read off directly. For instance 2.62.6 is 2610=2352\tfrac{6}{10} = 2\tfrac{3}{5}.

0.75 and three quarters shade the same portion of a wholeA bar split into four parts with three shaded, above a bar with 0.75 of its length shaded; the shaded lengths match.3/40.75same shaded length
Three of four equal parts have the same shaded length as 0.75 of the whole: the decimal 0.75 and the fraction 3/4 mark the same amount.

Check your understanding

Write 0.160.16 as a fraction in lowest terms.

Answer choices

A fraction is a division waiting to happen

Going the other direction, from a fraction to a decimal, rests on a fact you have known since the fractions chapter. The fraction bar means divide.

Take 38\tfrac{3}{8}. The bar says divide 33 by 88. Since 88 does not go into 33, write 00 in the ones place, bring the point up, and keep dividing into 3.0003.000, exactly as you did with whole-number long division, appending a zero each time there is still a remainder to carry:

38=3÷8=0.375.\frac{3}{8} = 3 \div 8 = 0.375.

Every fraction goes the same way: it is the numerator divided by the denominator, so carry out that division and keep the decimal point in the quotient lined up above the point in the dividend. The remainder does not always clear, and the last section of this lesson says which fractions it clears for.

Aligning the decimal point when dividing 7 by 8The divisor 8 sits outside a division bracket holding the dividend 7.000. The quotient 0.875 is written above the bracket with its decimal point directly over the dividend’s decimal point.onestenthshundredthsthousandths0.87587.000
Dividing 7 by 8: the quotient's decimal point sits directly above the dividend's, so each digit of the answer lands in its own place, ones over ones and tenths over tenths.

Why dividing the numerator by the denominator gives the decimal#

Run the argument on 94\tfrac{9}{4}. Split 99 wholes equally among 44 groups. Collecting all four of those shares has to rebuild the 99 you started with. So the value of 94\tfrac{9}{4} is the number that gives 99 when you take 44 of it, which is exactly what 9÷49 \div 4 asks for. Long division answers that a place at a time. Four goes into 99 twice, leaving 11 over. That 11 becomes 1010 tenths, and four goes into 1010 twice, leaving 22 tenths. Those 22 tenths become 2020 hundredths, and four goes into 2020 exactly five times. The quotient is 2.252.25, and four copies of 2.252.25 do rebuild the 99.

Nothing in that depended on the digits 99 and 44: the same reasoning turns any fraction into the division that produces its decimal.

Worked example 2 Write 78\tfrac{7}{8} as a decimal

The bar means divide, so compute 7÷87 \div 8. Eight does not fit into 77, so the quotient starts with 00 and a point, and the division runs into 7.0007.000.

Eight into 7070 tenths goes 88 times (8×8=648 \times 8 = 64), leaving 66 tenths, which become 6060 hundredths. Eight into 6060 goes 77 times (5656), leaving 44 hundredths, which become 4040 thousandths. Eight into 4040 goes exactly 55 times with no remainder:

78=7÷8=0.875.\frac{7}{8} = 7 \div 8 = 0.875.

The remainder reached 00, so the decimal terminates. A quick sanity check: 78\tfrac{7}{8} is just under 11, and 0.8750.875 is just under 11, so the size is right.

Check your understanding

Write 58\tfrac{5}{8} as a decimal by dividing.

Answer choices

A shortcut when the denominator scales cleanly

Long division always works, but you can often skip it. The fraction 34\tfrac{3}{4} is the classic case. A hundred is 4×254 \times 25, so multiply the top and bottom by 2525:

34=3×254×25=75100=0.75.\frac{3}{4} = \frac{3 \times 25}{4 \times 25} = \frac{75}{100} = 0.75.

That step uses equivalent fractions: multiplying the top and bottom by the same number does not change the value. So 75100\tfrac{75}{100} is still three quarters, now written with a bottom you can read as hundredths. Once the bottom is a hundred, the top is simply the hundredths, and the decimal is read off directly. This is the same conversion as the long division 3÷4=0.753 \div 4 = 0.75, just reached by scaling instead of dividing.

The general rule follows. If the denominator divides evenly into ten, a hundred, a thousand, or any longer string of zeros, then scaling the fraction to that denominator turns it into a decimal. You choose the multiplier that makes the denominator into that power of ten. You can then read the decimal straight off, with no division of the numerator at all. Ten, a hundred, and a thousand are simply the first three worth trying by hand; if none of them works, a larger one sometimes still does; the last section of this lesson gives the test that settles the question for good.

Choosing the multiplier is the whole skill here. Take 35\tfrac{3}{5}: multiplying top and bottom by 22 gives 610\tfrac{6}{10}, which reads straight off as 0.60.6. Multiplying by 33 or by 44 instead gives 915\tfrac{9}{15} and 1220\tfrac{12}{20}, equally true names for the same amount. But 1515 and 2020 are not ten, a hundred, or a thousand, so neither can be read off as a decimal without more scaling.

Worked example 3 Write 720\tfrac{7}{20} as a decimal by scaling

Look at the denominator 2020. It does not divide 1010, but it does divide 100100, because 100=20×5100 = 20 \times 5. So multiply the top and bottom by 55 to make the denominator a hundred:

720=7×520×5=35100.\frac{7}{20} = \frac{7 \times 5}{20 \times 5} = \frac{35}{100}.

A denominator of a hundred means two decimal places, and the top "3535" gives those two digits:

720=35100=0.35.\frac{7}{20} = \frac{35}{100} = 0.35.

This is the reverse of Worked Example 1, where 0.350.35 reduced to 720\tfrac{7}{20}, a useful check that the two directions agree.

The picture below shows why scaling does not change the amount: cutting each of the five fifths into two makes ten tenths. The shaded portion is unchanged, so 25\tfrac{2}{5} and 410=0.4\tfrac{4}{10} = 0.4 are the same number.

Splitting each fifth into two equal parts turns 2/5 into 4/10 without changing the shaded amount, and 4/10 is the decimal 0.4. Rectangular bars divided into equal parts, with some parts shaded to show a fraction. 2 5 4 10
Splitting each fifth into two equal parts turns 2/5 into 4/10 without changing the shaded amount, and 4/10 is the decimal 0.4.

Check your understanding

Which is the quickest correct way to convert 925\tfrac{9}{25} to a decimal, and what is the result?

Answer choices

Terminating or repeating: it depends on the denominator

Some fractions, like 38=0.375\tfrac{3}{8} = 0.375, give a decimal that ends. Others do not. Try 13\tfrac{1}{3} with long division: 1÷31 \div 3 gives 0.333…0.333\ldots, where the remainder is 11 at every step, so the 33s never stop. We write a repeating decimal with a bar over the block of digits that repeats forever:

13=0.333…=0.3‾,16=0.1666…=0.16‾.\frac{1}{3} = 0.333\ldots = 0.\overline{3}, \qquad \frac{1}{6} = 0.1666\ldots = 0.1\overline{6}.

You can predict which happens before doing any division by looking at the prime factors of the denominator. The dividing line is clean: a fraction in lowest terms terminates exactly when its denominator has no prime factor other than 22 and 55. If any other prime, such as 33 or 77, survives in the denominator, the decimal repeats.

Why only the primes 2 and 5 give a terminating decimal#

First see why 22 and 55 are the special primes. Start with the denominators a terminating decimal can have. A decimal with one place is a count of tenths. A decimal with two places is a count of hundredths. Three places count thousandths. So the denominators that can occur are ten, a hundred, a thousand, and so on. They are precisely the ”11 followed by zeros” numbers. A decimal therefore terminates exactly when the fraction can be rewritten with one of those denominators. Now factor those denominators: ten is 2×52 \times 5, a hundred is 2×2×5×52 \times 2 \times 5 \times 5, a thousand is three 22s times three 55s. Every one of them is built from nothing but 22s and 55s. Now think about a fraction in lowest terms. Such a fraction can be scaled up to one of these denominators only if its denominator already divides one of them. And a denominator divides one of them only when it is built from nothing but 22s and 55s. For example 720\tfrac{7}{20} has denominator 20=2×2×520 = 2 \times 2 \times 5, all 22s and 55s, and indeed 720=35100\tfrac{7}{20} = \tfrac{35}{100} terminates. A denominator does not need both primes, and 18\tfrac{1}{8} shows why. Its denominator is 8=2×2×28 = 2 \times 2 \times 2, with no 55 at all, yet 1000÷8=1251000 \div 8 = 125, so 88 divides a thousand and 18=1251000=0.125\tfrac{1}{8} = \tfrac{125}{1000} = 0.125. But 16\tfrac{1}{6} has denominator 6=2×36 = 2 \times 3. That stubborn factor of 33 is the obstacle. It can never be turned into a string of 22s and 55s. So no ”11 followed by zeros” number is a multiple of 66. The decimal for 16\tfrac{1}{6} therefore cannot terminate.

Why a fraction's decimal, when it does not end, must repeat#

When dividing one whole number by another does not stop, the digits do not wander on forever without a pattern; they settle into a repeating block. Watch that happen on 411\tfrac{4}{11}, where the starting remainder comes back after two steps. Dividing 4040 by 1111 gives the digit 33 and leaves a remainder of 77. Dividing 7070 by 1111 gives the digit 66 and leaves a remainder of 44. That 44 is the remainder the division started with, so the next two digits have to be 33 and 66 again. Only the remainders 44 and 77 ever appeared, and the return of the 44 forces that same block of digits again. The decimal is 0.36‾0.\overline{36}, and it cycles because a remainder came back.

Nothing about 1111 was essential to that. In any long division, every remainder is a whole number smaller than the divisor, so there are only finitely many remainders the division can ever produce. If a remainder of 00 never turns up, the division runs forever while drawing from that same short, fixed list, so eventually some remainder has to repeat. The instant it does, the digits that follow it must match the digits that followed it the first time, because each digit is decided entirely by the current remainder. From there the same block of digits cycles forever. That is why dividing one whole number by another gives only one of two kinds of decimal: it ends, or it settles into a repeating block. Nothing else can happen.

Check your understanding

Dividing 55 by 66, the remainder 22 shows up twice in a row. What does that guarantee about the decimal?

Answer choices

To apply the test, reduce the fraction to lowest terms first, then prime factorize the denominator. Reducing first matters: 612\tfrac{6}{12} looks like it has the bad factor 33. But it reduces to 12\tfrac{1}{2}, whose denominator is just 22, so it terminates (0.50.5).

Worked example 4 Without dividing, decide whether 940\tfrac{9}{40} and 512\tfrac{5}{12} terminate

Apply the test to each: reduce to lowest terms, then check the prime factors of the denominator.

For 940\tfrac{9}{40}, the numerator 99 and denominator 4040 share no common factor, so it is already in lowest terms. Prime factorize the denominator:

40=2×2×2×5.40 = 2 \times 2 \times 2 \times 5.

No prime other than 22 and 55 appears, so 940\tfrac{9}{40} terminates. Scaling confirms it, since 40×25=100040 \times 25 = 1000, giving 940=2251000=0.225\tfrac{9}{40} = \tfrac{225}{1000} = 0.225.

For 512\tfrac{5}{12}, the fraction is already in lowest terms, and

12=2×2×3.12 = 2 \times 2 \times 3.

The factor of 33 is neither 22 nor 55, so 512\tfrac{5}{12} repeats. Dividing confirms it: 5÷12=0.41666…=0.416‾5 \div 12 = 0.41666\ldots = 0.41\overline{6}.

Check your understanding

Which of these fractions gives a repeating decimal?

Answer choices

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Core practice

Practice problems at the level of the course, to be worked out on paper. Hints one at a time, then the answer or the full worked solution, with your progress kept in this browser.

Core practice Work it out on paper 10 problems Start →
More practice (optional)

Extra sets, as hard as the Challenge set. Each one opens on its own page.

More resources (optional)

Other explanations of this lesson, if you want a second take.

Go deeper (optional)

You can skip this and keep going. Read it if you want to know more.

Why the fraction bar always means divide

The lesson showed the reasoning on 94\tfrac{9}{4}: sharing 99 wholes into 44 equal groups has to rebuild the 99, which is exactly what 9÷49 \div 4 means. Here is that same argument written with letters, so it covers every fraction at once, together with the reason long division actually builds the decimal one place at a time.

Why dividing the numerator by the denominator gives the decimal, for any fraction#

Call the decimal you are looking for dd. By the meaning of the fraction bar, ab\tfrac{a}{b} is the number dd for which b×d=ab \times d = a: split aa into bb equal shares, and collecting all bb of those shares must rebuild aa. But “the number that gives aa when multiplied by bb” is the definition of a÷ba \div b. So the value of the fraction and the result of the division a÷ba \div b are the same number, and computing one computes the other.

Long division produces that number one decimal place at a time. How many times does the divisor fit into the current amount? You record that digit in the quotient. Then you carry the leftover remainder to the next place by attaching a zero, which makes the remainder ten times as many of the next smaller place. Every digit you write is the correct count for its place value. Digit by digit, that quotient is the decimal expansion of a÷ba \div b, so it is the decimal expansion of ab\tfrac{a}{b} as well.

Counting exactly how soon a remainder must repeat

The lesson gives the reason a repeat is forced: only finitely many remainders exist, so one has to recur. Here that count is made exact, for any denominator bb.

A guaranteed bound on how long a repeating block can be#

Take the long division of aa by bb. Every step produces a remainder, and each remainder is a whole number from 00 up to b−1b - 1, so the division has only bb possible remainders to offer. If a remainder of 00 ever appears, the division stops and the decimal terminates. Now suppose 00 never appears. That leaves only the b−1b - 1 values from 11 up to b−1b - 1, so within at most bb steps some earlier remainder has to show up again: there are more steps than there are available remainders, so there is nowhere else for the remainders to go. The moment a remainder repeats, the digits that follow it must match the digits that followed it the first time, because each digit is decided entirely by the current remainder. So the repeating block can never be longer than b−1b - 1 digits. For 411\tfrac{4}{11}, b−1=10b - 1 = 10, and the actual block, 3636, is well inside that bound.

A bit of history (optional)

Divide 11 by 77 and the digits keep coming. Nothing on the page promises that they will ever settle into a loop. You could grind out a hundred places and still be guessing.

The proof that they must comes from an idea small enough to hold in one hand, one that mathematicians eventually named the pigeonhole principle, or the drawer principle: put more socks into drawers than there are drawers, and some drawer ends up holding two. The name is often linked to the German mathematician Peter Gustav Lejeune Dirichlet, who used the idea in the early 1800s. It sounds too obvious to be worth naming, yet it decides questions that nothing else can reach.

Now look again at your long division. Dividing by 77, every remainder has to be one of 0,1,2,3,4,5,60, 1, 2, 3, 4, 5, 6. That is seven drawers, and the division keeps handing you socks. Some remainder must come back a second time. The moment it does, the same digits that followed it the first time must follow it again.

That is the whole reason a fraction’s decimal, when it does not end, must repeat. It is the argument you worked through in this lesson.