Decimal to Fraction Calculator

Terminating Decimal to Fraction Calculator

Convert terminating decimals (like 0.25, 0.375, or 0.8) to exact simplified fractions. See the place-value method, the GCD simplification step, and the mathematical reasoning behind each conversion.

Will a fraction terminate?

Reduce the fraction first. Its decimal terminates exactly when the positive denominator has no prime factors other than 2 and 5. Remove every factor of 2 and 5: a remainder of 1 means it terminates; any other remainder means it repeats.

  • 7/40 → 40 = 2³ × 5 → 0.175
  • 3/6 = 1/2 → 2 = 2¹ → 0.5
  • 1/12 → 12 = 2² × 3 → 0.08333…

The number of decimal places is the larger exponent of 2 or 5 in the reduced denominator. Cancel common factors before using this test: 3/6 becomes 1/2, so it terminates even though 6 contains a factor of 3.

Visual Representation

0%
Fraction of Whole
Number Line
0
00.250.50.751
Fraction Bar
0% filled

What is a Terminating Decimal?

A terminating decimal is a decimal that has a finite number of digits (e.g., 0.25, 0.5, 0.875). This is in contrast to a repeating decimal, which continues indefinitely with a recurring pattern (e.g., 0.333...).

Converting Terminating Decimals

  1. Count the number of decimal places in your terminating decimal (let’s call this n).
  2. Write the digits (without the decimal point) as the numerator.
  3. Write 10n (e.g. 10, 100, 1000) as the denominator.
  4. Find the greatest common divisor (GCD) of the numerator and denominator.
  5. Simplify the fraction by dividing both numerator and denominator by the GCD.

Example: 0.375

0.375 = 375/10³ = 375/1000
4. GCD(375, 1000) = 125
(375 ÷ 125)/(1000 ÷ 125) = 3/8

Frequently Asked Questions

Common questions about terminating decimals

01 What is the difference between terminating and repeating decimals?

A terminating decimal has a finite number of digits after the decimal point — it stops. For example, 0.75 terminates after two digits. A repeating decimal, on the other hand, has digits that cycle forever, like 0.333… The key mathematical difference: a fraction produces a terminating decimal only when its denominator (in lowest terms) has no prime factors other than 2 and 5.

02 What is the place value method?

The place-value method uses the position of each digit to determine the denominator. The first digit after the point is in the tenths place (denominator 10), the second in the hundredths place (denominator 100), the third in the thousandths place (denominator 1000), and so on. You write the digits as the numerator over the matching power of 10, then simplify.

03 Why do we use powers of 10 in the denominator?

Because our number system is base-10, each position after the decimal point represents a fraction with a power-of-10 denominator: the first place is 1/10, the second is 1/100, the third is 1/1000, and so on. The decimal 0.375 literally means 3/10 + 7/100 + 5/1000, which equals 375/1000.

04 How do you simplify the fraction?

Find the Greatest Common Divisor (GCD) of the numerator and the denominator, then divide both numbers by it to get the fraction in its simplest form.

05 Can all terminating decimals be written as fractions?

Yes. Every terminating decimal is a rational number — it can be expressed exactly as a fraction of two integers. This is because a terminating decimal is just shorthand for a fraction with a power-of-10 denominator. For example, 0.875 = 875/1000 = 7/8.

|