This site is a work in progress. New lessons are added regularly. Contact us

Converting Between Fractions and Decimals

Learning goals

  • Convert a decimal 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 non-terminating decimal must repeat, since a remainder must come back

A decimal 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 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
The decimal 0.75 and the fraction 3/4 mark the same amount: a whole cut into four equal parts with three shaded covers the same length as the same whole with 0.75 of it shaded.

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 continue dividing into 3.0003.000:

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

Eight goes into 3030 tenths three times (3×8=243 \times 8 = 24) with a remainder of 66 tenths, which is 6060 hundredths. Eight goes into 6060 seven times (5656) with a remainder of 44 hundredths, which is 4040 thousandths. Eight goes into 4040 exactly five times with nothing left over, so the division ends and the decimal is 0.3750.375.

Every fraction goes the same way. The fraction ab\tfrac{a}{b} is exactly a÷ba \div b, the size of each share when aa wholes are divided equally among bb groups. So to write a fraction as a decimal, carry out that division, and the decimal long division from the previous lesson is the tool.

Divide the numerator by the denominator, appending zeros after the point in the numerator whenever the remainder has not cleared. 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.

Why dividing the numerator by the denominator gives the decimal#

Run the whole argument on 94\tfrac{9}{4} first. 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 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 decimal you are looking for is just another name for the value of the fraction, so call that value 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. 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. Attaching that zero 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 the quotient is the decimal expansion of ab\tfrac{a}{b} as well.

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.

A shortcut when the denominator already fits

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, or a thousand, then scaling the fraction to that denominator turns it into a decimal. You choose the multiplier that makes the denominator into ten, a hundred, or a thousand. You can then read that decimal straight off, with no division of the numerator at all.

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.3330.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.

Now see why a non-terminating decimal must repeat rather than wander on forever without a pattern. 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.360.\overline{36}, and it cycles because a remainder came back.

Nothing in that depended on the 1111, so run the same steps for any ab\tfrac{a}{b}. Take the long division of aa by bb. Every step of it produces a remainder. Each remainder is a whole number. Its possible values run from 00 up to b1b - 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 b1b - 1 values from 11 up to b1b - 1. Then within at most bb steps some earlier remainder has to show up again. The reason is that there are more steps than there are available remainders. There is nowhere else for the remainders to go. The moment a remainder repeats, look at the digits that follow it. They must match the digits that followed that remainder the first time. That is because each digit is decided entirely by the current remainder. From there the same block of digits cycles forever. That is why a fraction in lowest terms gives one of only two kinds of decimal. Either the decimal ends, or it settles into a repeating block. Nothing else can happen.

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.4165 \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.

Free Response Questions (FRQ)

Longer questions in parts, to be worked out on paper. Progressive hints, the answer on its own so you can check yourself and try again, then the full worked solution, plus a rubric to mark your own work against.

Free response Work it out on paper 5 questions 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.

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. Peter Gustav Lejeune Dirichlet, a German mathematician, gave it a name in 1834: the drawer principle. Put more socks into drawers than there are drawers, and some drawer ends up holding two. 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 digits that follow it repeat what they followed with before.

That is the whole reason a decimal that does not end must repeat. It is the argument you worked through in this lesson.