Decimal to Fraction Calculator

Turn any terminating decimal into a simplified fraction or mixed number.

Calculate

Type your numbers and press Calculate — the answer appears with the full step-by-step working.

Answer
3/8
0.375 = 3/8

Step-by-step working

  1. Write the decimal over 1 followed by 3 zeros: 375/1000
  2. Divide top and bottom by their GCF, 125: 3/8

Try a worked example — it loads straight into the calculator:

Formula

0.375 = 375/1000, then divide top and bottom by the GCF

Worked examples

0.375

  1. Write the decimal over 1 followed by 3 zeros: 375/1000
  2. Divide top and bottom by their GCF, 125: 3/8

Answer: 3/8 — 0.375 = 3/8

0.8

  1. Write the decimal over 1 followed by 1 zero: 8/10
  2. Divide top and bottom by their GCF, 2: 4/5

Answer: 4/5 — 0.8 = 4/5

2.65

  1. Write the decimal over 1 followed by 2 zeros: 265/100
  2. Divide top and bottom by their GCF, 5: 53/20
  3. As a mixed number: 2 13/20

Answer: 2 13/20 — 2.65 = 53/20

0.125

  1. Write the decimal over 1 followed by 3 zeros: 125/1000
  2. Divide top and bottom by their GCF, 125: 1/8

Answer: 1/8 — 0.125 = 1/8

About this calculator

Every terminating decimal is a fraction in disguise: the digits after the point are the numerator, and the denominator is 1 followed by as many zeros as there are decimal places. Simplifying that fraction by the greatest common factor gives the clean form — 0.375 becomes 3/8, the answer a ruler or recipe actually uses.

Repeating decimals such as 0.333… are a different case; they convert by an algebra trick (0.333… = 1/3 exactly). This tool handles terminating decimals exactly.

How to use it

  1. Type the decimal.
  2. Calculate — the steps show the place-value fraction and the simplification.

Frequently asked questions

What is 0.5 as a fraction?

5/10, which simplifies to 1/2 — the most famous decimal-fraction pair there is.

Why does 0.1 + 0.2 confuse computers?

Computers store decimals in binary, where 0.1 has no exact representation, so tiny rounding errors appear. As fractions, 1/10 + 1/5 = 3/10 exactly.