Decimal to Fraction Calculator

Type a decimal to see it as a fraction in its simplest form, and as a mixed number if it's bigger than 1. It also works for repeating decimals, like 0.333… (which is 1/3): put the repeating digits in brackets, 0.(3), or just type 0.333... with three dots. The steps show the working with your number.

Repeating digits go in brackets: 0.(3) is 0.333… and 0.1(6) is 0.1666…

As a fraction
5/8 Exact fraction

0.625 as a fraction is 5/8.

Mixed number Less than 1
Before simplifying 625/1000
Divided by 125 (the GCF)

How to convert a decimal to a fraction

Write the digits after the point over 10, 100, 1,000 … (one zero for each decimal place), then divide the top and bottom by their greatest common factor.

Here it is with your numbers:

  1. 0.625 has 3 decimal places, so write 625 over 1,000: 625/1000
  2. The greatest common factor (GCF) of 625 and 1000 is 125. Divide both by 125: 5/8

It means 0.625 and 5/8 are the same number.

Dividing the top and bottom by their greatest common factor gives the simplest form in one step. The GCF Calculator shows how to find it.

Source OpenStax Contemporary Mathematics · 3.4 Rational Numbers: converting a terminating decimal to a fraction ↗

How to turn a repeating decimal into a fraction

A repeating decimal, like 0.333… or 0.1666…, goes on forever, but it is still a fraction. The trick is to subtract the repeating part away. Here is 0.1666…:

Call the number x. Multiply x by 10s so the repeating digits line up, subtract to make them cancel, then solve for x and simplify.

Here it is with your numbers:

  1. x = 0.166666…
  2. 10x = 1.66666…
  3. 100x = 16.6666…
  4. 100x − 10x = 16.6666… − 1.66666…
  5. 90x = 15
  6. x = 15/90
  7. The greatest common factor (GCF) of 15 and 90 is 15. Divide both by 15: 1/6

It means 0.166666… and 1/6 are the same number.

Type your own repeating decimal in the calculator to see these steps with your number.

Source OpenStax Algebra and Trigonometry 2e · 13.4 Series: a repeating decimal as a fraction (Example 8) ↗Common Core State Standards · Grade 8, repeating decimals are rational numbers (8.NS.A.1) ↗

Decimal to fraction chart

Common decimals as fractions in simplest form. Tap one to see the steps.

DecimalFraction
0.11/10
0.1251/8
0.21/5
0.251/4
0.333…1/3
0.3753/8
0.42/5
0.51/2
0.63/5
0.6255/8
0.666…2/3
0.77/10
0.753/4
0.84/5
0.8757/8
0.99/10

FAQs

How to convert decimal to fraction?

Count the decimal places, then write the digits without the point over 1 followed by that many zeros, and simplify. 0.625 has three decimal places, so it is 625/1000; both divide by 125, which gives 5/8.

Source OpenStax Contemporary Mathematics · 3.4 Rational Numbers: converting a terminating decimal to a fraction ↗

How to change repeating decimals into fractions?

Call the number x and multiply it by 10 for each repeating digit, so the repeats line up. For 0.333…, 10x is 3.333…; subtracting x leaves 9x = 3, so x = 3/9, which is 1/3. With digits before the repeat, like 0.1666…, multiply twice (10x and 100x) and subtract those.

Source OpenStax Algebra and Trigonometry 2e · 13.4 Series: a repeating decimal as a fraction (Example 8) ↗

How to convert infinite decimals to fractions?

Only if they repeat. A decimal that goes on forever without repeating can’t be written as a fraction: it is not a rational number. Every fraction’s decimal either ends or repeats.

Source OpenStax Contemporary Mathematics · 3.4 Rational Numbers: converting a terminating decimal to a fraction ↗

Sources

Related calculators