Converting Between Fractions and Decimals
Progress can't be saved in this browser, so this lesson's status can't be set.
Watch the video explainer
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
The last decimal place names a unit. For , put the four tenths and nine hundredths over the common denominator :
For any terminating decimal, its last place provides a common denominator for all the digits. One zero in the denominator for each digit after the point gives
Then reduce by the greatest common factor (GCF). A fraction is in lowest terms when its numerator and denominator share no factor larger than .
Worked example 1 Write 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:
Now reduce. The greatest common factor of and is , so divide the top and bottom by :
Since and share no common factor larger than , the fraction 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 is .
Check your understanding
Write as a fraction in lowest terms.
Two places give hundredths. Divide numerator and denominator by their GCF, 4.
The other equal fractions, and , still need reducing.
A fraction is a division waiting to happen
The fraction bar means divide: numerator divided by denominator.
For , compute . Eight does not fit into three wholes, so write before the point. Continue with tenths, hundredths, and thousandths:
Keep the quotient’s point directly above the dividend’s. Add trailing zeros to continue the division when a remainder remains. Some divisions end; others repeat.
Why dividing the numerator by the denominator gives the decimal#
Share wholes equally among groups. Four copies of each share must rebuild the wholes. Each group gets one quarter of every whole: nine quarters, or . Finding that share is also the task .
Long division finds it one place at a time: four fits into nine twice, leaving one whole. That is ten tenths; four fits twice, leaving two tenths. Those are twenty hundredths; four fits five times.
So and name the same share.
Why dividing the numerator by the denominator gives the decimal, for any fraction#
Share wholes among groups. Each gets wholes and half the remaining whole:
The same reasoning applies to any whole-number numerator and positive whole-number denominator . Cut each whole into equal pieces. Each share gets pieces of size , so it is . If one share is called , then collecting all shares gives
That is what means: the amount in each of equal shares. Thus .
At each long-division step, the quotient digit counts shares of the current place. The remainder is renamed in the next smaller units, such as one whole becoming ten tenths. Renaming does not change the amount being shared, so the digits found this way are the decimal of the fraction.
For a mixed number, keep the whole part and add the decimal value of its fractional part. For example, .
Worked example 2 Write as a decimal
The bar means divide, so compute . Eight does not fit into , so the quotient starts with and a point, and the division runs into .
Eight into tenths goes times (), leaving tenths, which become hundredths. Eight into goes times (), leaving hundredths, which become thousandths. Eight into goes exactly times with no remainder:
The remainder reached , so the decimal terminates. A quick sanity check: is just under , and is just under , so the size is right.
Check your understanding
Write as a decimal by dividing.
Divide 3 by 16. The successive place counts are:
- : digit 1, remainder 14.
- : digit 8, remainder 12.
- : digit 7, remainder 8.
- : digit 5, remainder 0.
The first digit counted tenths, so the point belongs before the 1.
A shortcut when the denominator scales cleanly
Sometimes equivalent fractions are quicker than long division. For , multiply numerator and denominator by :
The denominator now counts hundredths, so we can read the decimal directly.
Scale both numerator and denominator to make the denominator , , , or a larger number made of followed by zeros. Choose the multiplier to reach that denominator. For , multiplying both by gives . Multiplying both by gives an equal fraction, , but it does not yet give a denominator we can read directly as decimal places.
After reducing, this shortcut works when the denominator divides , , , or another followed by zeros. A denominator of has no whole-number multiplier that reaches one of these; the next section explains the test.
Worked example 3 Write as a decimal by scaling
Look at the denominator . It does not divide , but it does divide , because . So multiply the top and bottom by to make the denominator a hundred:
A denominator of a hundred means two decimal places, and the top "" gives those two digits:
This reverses Worked Example 1, where reduced to .
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 and are the same number.
Check your understanding
Which scaling correctly converts to a decimal?
Since , multiply both parts by 2.
Changing just one part changes the value. A denominator of 100 names hundredths, so the result has two decimal places.
Terminating or repeating: it depends on the denominator
Some fractions, like , give a decimal that ends. Others do not. Try with long division: gives , where the remainder is at every step, so the s never stop. We write a repeating decimal with a bar over the block of digits that repeats forever:
You can predict which happens before doing any division by looking at the prime factors of the denominator. Here is the test: a fraction in lowest terms terminates exactly when its denominator has no prime factor other than and . If any other prime, such as or , survives in the denominator, the decimal repeats.
Why only the primes 2 and 5 give a terminating decimal#
For , the denominator is . Supply three factors of to pair with those twos:
Here is why the prime test works in general.
If the decimal ends, write it over , , , or another followed by zeros. Each such denominator contains only factors of and . Reducing can remove factors, but cannot introduce a different prime.
Conversely, if the reduced denominator contains only twos and fives, multiply by enough missing twos or fives to pair them up. Every makes ten, so the new denominator is followed by zeros. The decimal therefore ends.
For example, needs one more five to become . But a surviving factor of , as in , cannot appear in any of these denominators. Its decimal cannot end.
A reduced denominator of has no prime factors and also passes the test: the fraction is a whole number.
Why the digits repeat
Watch the remainders in :
- gives digit and remainder .
- gives digit and remainder .
The remainder is back where we started. It must give , then , again:
After the decimal point, each step brings down a zero. The same remainder then gives the same next digit and remainder. A remainder is a whole number below the divisor: for , only through are possible. Because the list is finite, the division must either reach zero or come back to a remainder it has already had. A repeated remainder makes the digits after it repeat. Seeing the same few digits again does not by itself show that the pattern will continue.
Check your understanding
In , remainder 2 keeps returning. Why must every fraction whose decimal does not end eventually repeat?
For , each remainder of 2 leads to the same calculation:
It produces another 3 and leaves another 2, giving .
For any fixed positive whole-number divisor, the nonzero remainders form a finite list. If division never ends, a remainder must return. The same remainder gives the same next digit and remainder, so the following steps repeat.
To apply the test, reduce the fraction to lowest terms first, then prime factorize the denominator. Reducing first matters: looks like it has the bad factor . But it reduces to , whose denominator is just , so it terminates ().
Worked example 4 Without dividing, decide whether and terminate
Apply the test to each: reduce to lowest terms, then check the prime factors of the denominator.
For , the numerator and denominator share no common factor, so it is already in lowest terms. Prime factorize the denominator:
No prime other than and appears, so terminates. Scaling confirms it, since , giving .
For , the fraction is already in lowest terms, and
The factor of is neither nor , so repeats. Dividing confirms it: .
Check your understanding
Will terminate as a decimal? Choose the correct reason.
Reduce first by the GCF, 9.
The denominator to test is 5, not 45. No prime other than 2 or 5 remains.
To compare a fraction with a decimal, write both in a common exact form. Compare from the left when both are decimals; do not round a repeating value first. For example, and . The tenths and hundredths match, but the thousandths digits give , so .