CalcWisp

How to Convert a Decimal to a Fraction (Terminating and Repeating, With Chart)

How to convert a decimal to a fraction: write the digits over the place value of the last digit, then simplify. Covers mixed numbers, repeating decimals and a chart.

By the CalcWisp editorial team ยท Updated ยท 3 min read

Key takeaways

  • To convert a terminating decimal to a fraction, write the digits after the decimal point over the place value of the last digit, then simplify: 0.75 = 75/100 = 3/4.
  • If the number left of the decimal point is not zero, keep it as the whole part of a mixed number: 4.09 = 4 9/100.
  • Simplify by dividing the numerator and denominator by their greatest common factor: for 0.286 = 286/1000, dividing by 2 gives 143/500.
  • A repeating decimal needs algebra instead: 0.777โ€ฆ = 7/9, because the denominator is as many nines as there are repeating digits.
  • A fraction in lowest terms terminates as a decimal only when its denominator has no prime factors other than 2 and 5.

To convert a decimal to a fraction, write the digits after the decimal point as the numerator, use the place value of the last digit (10, 100, 1,000 and so on) as the denominator, and simplify. For 0.75, the last digit is in the hundredths place, so 0.75 = 75/100 = 3/4.

ยฝFree toolDecimal to Fraction CalculatorAny decimal as a fraction in lowest terms.

What are the steps to convert a terminating decimal?

OpenStax Prealgebra gives a four-step routine:

  1. Look at the number left of the decimal point. If it is zero, the result is a proper fraction. If not, keep that whole number to form a mixed number.
  2. Find the place value of the final digit: tenths, hundredths, thousandths and so on.
  3. Write the digits after the point as the numerator and that place value as the denominator.
  4. Simplify.

The number of decimal places tells the denominator directly: one place gives 10, two places give 100, three places give 1,000.

Worked example: 0.286

The final digit, 6, is in the thousandths place, so 0.286 = 286/1,000. Both numbers are even, so divide by 2 to get 143/500. Since 143 = 11 ร— 13 and 500 = 2ยฒ ร— 5ยณ share no factor, the fraction is in lowest terms.

Worked example: 4.09 and 3.7

The whole parts, 4 and 3, stay in front. In 4.09 the 9 is in the hundredths place, so 4.09 = 4 9/100. In 3.7 the 7 is in the tenths place, so 3.7 = 3 7/10. For an improper fraction, multiply the whole number by the denominator and add the numerator: 4 9/100 = (4 ร— 100 + 9)/100 = 409/100.

How do you simplify the fraction?

Divide the numerator and denominator by their greatest common factor (GCF). For 0.125 = 125/1,000, the GCF is 125, giving 1/8. For 0.05 = 5/100, the GCF is 5, giving 1/20. When the GCF is hard to spot, divide by small common factors repeatedly (2, 5, 3) until none remains, or use the GCF calculator.

๐ŸงฉFree toolGCF CalculatorGreatest common factor by Euclid and by primes.

Decimal to fraction chart

These values come up often. Each fraction is in lowest terms.

Decimal Fraction Decimal Fraction
0.05 1/20 0.6 3/5
0.0625 1/16 0.75 3/4
0.125 1/8 0.875 7/8
0.25 1/4 1.75 1 3/4 (or 7/4)
0.3125 5/16 2.5 2 1/2 (or 5/2)
0.4 2/5 0.5 1/2

How do you convert a repeating decimal to a fraction?

A repeating decimal has a block of digits that never stops, such as 0.777โ€ฆ A fraction cannot be read off the place value, so use algebra. The procedure in OpenStax Contemporary Mathematics counts the repeating digits, shifts the decimal with a power of 10, and subtracts so the repeating part cancels.

For 0.777โ€ฆ:

  1. Let x = 0.777โ€ฆ
  2. One digit repeats, so multiply by 10: 10x = 7.777โ€ฆ
  3. Subtract the first line: 10x โˆ’ x = 7.777โ€ฆ โˆ’ 0.777โ€ฆ, so 9x = 7.
  4. Divide: x = 7/9.

For a repeating block of two digits, multiply by 100 instead. For 0.4545โ€ฆ: 100x = 45.4545โ€ฆ, so 99x = 45 and x = 45/99 = 5/11. The denominator of a purely repeating decimal is a string of nines, one for each digit in the block, before simplifying. See repeating decimal in the glossary.

What about 0.33333?

It depends on whether the 3s stop. The finite decimal 0.33333 is 33,333/100,000. The repeating decimal 0.333โ€ฆ (written with a bar over the 3) is exactly 1/3. Calculators that show 0.3333333 usually truncate a repeating value, so check whether the decimal is exact before converting.

Which fractions give terminating decimals?

A fraction in lowest terms gives a terminating decimal only when the denominator's prime factors are 2 and 5 only, because a terminating decimal is a fraction with a power of 10 in the denominator and 10โฟ = 2โฟ ร— 5โฟ. So 3/40 terminates (40 = 2ยณ ร— 5) and 0.075 is its decimal form, while 1/3 and 5/11 repeat. The University of Toronto Question Corner explains this test.

Common mistakes

  • Using the wrong denominator: 0.05 is 5/100, not 5/10.
  • Stopping before the fraction is simplified (25/100 is 1/4).
  • Dropping the whole number from a decimal such as 2.5.
  • Treating a rounded calculator display of a repeating decimal as an exact value.

Once a decimal is a fraction, the ratio calculator can scale it or compare it with another quantity.

โš–๏ธFree toolRatio CalculatorSolve A:B = C:D and simplify any ratio.

Frequently asked questions

How do you turn 0.75 into a fraction?

The last digit is in the hundredths place, so 0.75 = 75/100. Dividing top and bottom by their greatest common factor, 25, gives 3/4.

How do you turn 0.33333 into a fraction?

If the 3s stop after five places, 0.33333 = 33333/100000, which is already in lowest terms. If the 3s repeat forever (0.333โ€ฆ), the fraction is exactly 1/3.

How do you convert a decimal greater than 1 to a fraction?

Keep the whole number and convert the decimal part, giving a mixed number: 1.75 = 1 3/4. To get an improper fraction, multiply the whole number by the denominator and add the numerator: 1.75 = 7/4.

Which decimals cannot be written as a simple fraction?

Decimals that never end and never repeat, such as the decimal form of pi, are irrational and cannot be written as a fraction of two whole numbers. Every terminating or repeating decimal can.

Greatest Common Factor (GCF)
The greatest common factor (GCF) of two or more positive integers is the largest whole number that divides each of them with no remainder; it is also called the GCD or HCF.
Mixed Number
A mixed number combines a whole number and a proper fraction, such as 4 9/100; it equals an improper fraction, here 409/100, and is what a decimal with a nonzero whole part converts to.
Repeating Decimal
A repeating decimal is a decimal whose digits eventually repeat in a fixed block forever, such as 0.333โ€ฆ or 0.4545โ€ฆ; every repeating decimal is a rational number and can be written as a fraction.

Sources

  1. OpenStax Prealgebra 2e โ€” 5.1 Decimals
  2. OpenStax Contemporary Mathematics โ€” 3.4 Rational Numbers
  3. University of Toronto Department of Mathematics โ€” Question Corner: How to express a repeating decimal as a fraction

Try the tools

ยฝFree toolDecimal to Fraction CalculatorAny decimal as a fraction in lowest terms.๐ŸงฉFree toolGCF CalculatorGreatest common factor by Euclid and by primes.โš–๏ธFree toolRatio CalculatorSolve A:B = C:D and simplify any ratio.

Keep reading