Online Decimal to Fraction Calculator

Convert terminating and repeating decimals into simplified fractions with step-by-step reduction.

What Is a Decimal to Fraction Conversion?

Converting a decimal to a fraction expresses a fractional numerical value as a ratio of two integers (a numerator and a denominator). A terminating decimal has a finite number of digits after the decimal point, each representing a negative power of 10. By multiplying by the appropriate power of 10 and dividing by the greatest common divisor (GCD), the decimal is reduced to its simplest fractional form.

How to Use the Decimal To Fraction Calculator

  1. Enter the decimal value into the input field (for example, 0.75 or 2.6).
  2. Click the "Convert to Fraction" button.
  3. The calculator calculates the equivalent fraction, determines the greatest common divisor, and displays both the simplified fraction and the mixed number if applicable.

Formula & How the Calculation Works

Fraction = (Decimal × 10ⁿ) / 10ⁿ
Simplified Fraction = (Numerator ÷ GCD) / (Denominator ÷ GCD)
(where n is the number of digits after the decimal point)

For example, 0.625 has 3 decimal places. Multiply 0.625 by 10³ = 1000 to get 625 / 1000. Finding the GCD of 625 and 1000 (which is 125) gives 625 ÷ 125 = 5 and 1000 ÷ 125 = 8, resulting in 5/8.

Worked Calculation Example

Scenario: Convert 0.375 into a simplified fraction.

Key Considerations & Common Mistakes to Avoid

Frequently Asked Questions

How do you convert a decimal into a fraction?

Count how many digits appear after the decimal point (n). Multiply the decimal by 10ⁿ to create an integer numerator, set 10ⁿ as the denominator, and then divide both numbers by their greatest common divisor (GCD).

Can this calculator handle repeating decimals?

This calculator converts finite terminating decimals with high precision. For repeating decimals like 0.333..., the standard algebraic method involves setting x = 0.333... and solving 10x - x = 3 to get 1/3.

What is a mixed number?

A mixed number combines an integer and a proper fraction. For example, 2.75 equals 2 3/4 (or the improper fraction 11/4).