Decimal to Fraction Calculator

Convert a terminating decimal to its simplified fraction form.

Inputs

Up to 10 digits after the decimal point.

Result

Fraction
5/8
Improper fraction.
  • Initial fraction625/1000
  • GCD125
  • Simplified5/8
  • Mixed (if proper)5/8

Step-by-step

  1. Decimal has 3 digits after the point → denominator = 10^3 = 1000.
  2. Numerator = 0.625 × 1000 = 625.
  3. Simplify by dividing both by gcd(625, 1000) = 125 → 5/8.

How to use this calculator

  • Enter the decimal value (terminating only).
  • Read the simplified fraction.

About this calculator

A terminating decimal can be converted to a fraction by reading the digits after the decimal point as a numerator and using a power of ten as the denominator, then simplifying. 0.625 = 625/1000, which simplifies (dividing both by 125) to 5/8. For repeating decimals, see the dedicated repeating-decimal-to-fraction approach (not in this tool).

Frequently asked

Not directly. For repeating decimals like 0.333…, use the algebraic identity x = 0.333…, 10x = 3.333…, subtract to get 9x = 3, x = 1/3.

Related calculators