Sub topic 7
Converting Between Fractions and Decimals
This chapter assumes you can simplify fractions, read decimal place value, and do long division. Those skills come from the earlier chapters on fraction basics and decimal place value. Here you will use them to move between the two forms quickly and to predict what a conversion will look like before you do it.
Why conversion matters on the GRE
A fraction and a decimal are two names for one number. The GRE mixes them freely. A Quantitative Comparison might set 5/8 against 0.62, or a data question might give you 0.35 of a total when the answer choices are fractions. Fractions are better for exact multiplication and division. Decimals are better for comparing sizes and adding. Being fluent means you can switch to whichever form makes the current step easiest.
Decimal to fraction
Read the decimal aloud using place value, write it over the matching power of 10, then simplify.
- Count the digits after the decimal point. Call the count k.
- Write the digits (without the point) as the numerator and 10^k as the denominator.
- Divide the top and bottom by their greatest common factor.
For example, 0.375 is "375 thousandths", so it equals 375/1000. Both numbers divide by 125, which gives 3/8.
A decimal with a whole part becomes a mixed number first. 2.35 is 2 + 35/100, which is 2 7/20. Multiply out only if you need an improper fraction: (2 × 20 + 7)/20 = 47/20.
Leading zeros after the point still count as digits. 0.045 has three decimal places, so it is 45/1000 = 9/200, not 45/100.
Fraction to decimal
The fraction bar means division. To convert a/b, divide a by b with long division, adding zeros after the decimal point as needed. For 3/8, 3.000 ÷ 8 = 0.375.
You can often skip long division by scaling the denominator to a power of 10. If b divides evenly into 10, 100, or 1000, multiply the top and bottom by whatever makes that happen.
| Denominator | Multiply top and bottom by | New denominator |
|---|---|---|
| 2 | 5 | 10 |
| 5 | 2 | 10 |
| 4 | 25 | 100 |
| 20 | 5 | 100 |
| 25 | 4 | 100 |
| 50 | 2 | 100 |
| 8 | 125 | 1000 |
| 40 | 25 | 1000 |
For example, 13/40 = 13 × 25 / (40 × 25) = 325/1000 = 0.325. This is quicker and less error-prone than dividing 13 by 40 by hand.
Terminating or repeating?
A fraction in lowest terms produces a terminating decimal exactly when its denominator has no prime factors other than 2 and 5. The reason is that 10 = 2 × 5, so only denominators built from 2s and 5s can be scaled up to a power of 10. Any other prime factor leaves a remainder that cycles.
- 3/8: the denominator is 2³, so the decimal terminates (0.375).
- 9/15: this simplifies to 3/5, so it terminates (0.6). Always simplify before you test.
- 7/12: 12 = 2² × 3, and the 3 forces a repeat (0.58333...).
- 1/7: the decimal repeats every six digits (0.142857142857...).
Repeating decimals back to fractions
Every repeating decimal is a fraction. Use algebra to cancel the repeating tail.
Convert 0.272727... to a fraction:
- Let x = 0.272727...
- The repeat block has two digits, so multiply by 100: 100x = 27.272727...
- Subtract: 100x − x = 27, so 99x = 27.
- Then x = 27/99 = 3/11.
With a block of length n, multiply by 10^n. If the decimal has non-repeating digits first, as in 0.58333..., shift past them first. Let x = 0.58333..., so 100x = 58.333... and 1000x = 583.333.... Subtracting gives 900x = 525, so x = 525/900 = 7/12.
The GRE rarely asks you to do this, but it does use values like 0.333... and 0.666.... Treat them as 1/3 and 2/3 rather than as rounded decimals.
Checking conversions in Python
Python's Fraction type converts exactly, so you can use it to check hand work. Pass the decimal as a string. Passing a float imports binary rounding error.
from fractions import Fraction
print(Fraction("0.375")) # 3/8
print(Fraction("2.35")) # 47/20
print(Fraction(0.1)) # 3602879701896397/36028797018963968, not 1/10
print(Fraction(27, 99)) # 3/11This function applies the 2-and-5 rule from above:
from fractions import Fraction
def terminates(numerator, denominator):
d = Fraction(numerator, denominator).denominator # lowest terms
for p in (2, 5):
while d % p == 0:
d //= p
return d == 1
for n, d in [(3, 8), (7, 12), (9, 15), (13, 40)]:
print(f"{n}/{d}", terminates(n, d))
# 3/8 True, 7/12 False, 9/15 True, 13/40 TrueThis one performs long division and marks the repeating block in parentheses. It stops when a remainder repeats, because the digits that follow must then repeat too.
def expansion(n, d):
whole, rem = divmod(n, d)
digits = []
seen = {}
while rem and rem not in seen:
seen[rem] = len(digits)
rem *= 10
digits.append(str(rem // d))
rem %= d
if not digits:
return str(whole)
if rem == 0:
return f"{whole}." + "".join(digits)
i = seen[rem]
return f"{whole}." + "".join(digits[:i]) + "(" + "".join(digits[i:]) + ")"
print(expansion(3, 8)) # 0.375
print(expansion(7, 12)) # 0.58(3)
print(expansion(1, 3)) # 0.(3)
print(expansion(22, 7)) # 3.(142857)Choosing a direction on test day
- Comparing two numbers: convert both to decimals if the fractions have unrelated denominators, but stop at two or three places. 5/8 = 0.625 is already larger than 0.62.
- Multiplying or dividing: stay in fractions when they cancel. 0.75 × 48 is quicker as 3/4 × 48 = 36.
- Answer choices in one form: convert your result to match, rather than converting every choice.
- Repeating decimals: keep the fraction. Rounding 1/3 to 0.33 before multiplying by 300 gives 99 instead of 100.
Common errors
- Writing 0.05 as 5/10 instead of 5/100 (miscounting decimal places).
- Testing a fraction for termination before simplifying. 9/15 terminates even though 15 contains a 3.
- Dividing the denominator by the numerator instead of the numerator by the denominator.
- Reading 0.4 as 4/100. Tenths, hundredths, and thousandths each need their own denominator.
Exercise
Convert 0.0625 to a simplified fraction. Then say whether 11/30 terminates as a decimal, and give a reason.
Show answer
0.0625 has four decimal places, so it is 625/10000. Dividing both by 625 gives 1/16. For 11/30, the fraction is already in lowest terms and 30 = 2 × 3 × 5. The factor 3 is neither 2 nor 5, so the decimal repeats (0.3666...).
Exercise
Use the repeating-decimal method to write 0.181818... as a fraction in lowest terms. Then decide which is larger, 0.181818... or 2/11, without a calculator.
Show answer
Let x = 0.181818.... The block has two digits, so 100x − x = 18, which gives 99x = 18 and x = 18/99 = 2/11. The two numbers are equal.
Exercise
A quantity in column A is 7/16. A quantity in column B is 0.43. Which column is larger?
Show answer
Scale 7/16 to a decimal: 7 ÷ 16 = 0.4375. Since 0.4375 > 0.43, Column A is larger.