Decimal to Fraction Calculator - Simplify Instantly
Convert any decimal number to its simplest fraction form. The calculator finds the GCD and reduces the fraction automatically.
Enter a decimal number — including mixed decimals like 2.75 — and get the equivalent fraction in lowest terms.
Decimal to Fraction Calculator - Simplify Instantly
Convert any decimal number to its simplest fraction form. The calculator finds the GCD and reduces the fraction automatically.
Enter any decimal, e.g. 0.5, 0.75, 0.125, or 2.25. Scientific notation is not supported.
About the decimal to fraction calculator
Decimals and fractions are two different notations for the same underlying rational numbers. A decimal expresses a value using the base-10 positional system, placing digits after a decimal point to indicate tenths, hundredths, thousandths, and so on. A fraction expresses the same value as a ratio of two integers — a numerator over a denominator. Converting between these representations is a fundamental skill in arithmetic, and understanding the conversion process deepens your intuition for how numbers work.
The conversion algorithm starts from the observation that every terminating decimal is already a fraction with a power of ten in the denominator. The decimal 0.5 is five tenths, or 5/10. The decimal 0.75 is seventy-five hundredths, or 75/100. The decimal 0.125 is one hundred and twenty-five thousandths, or 125/1000. Once you have this fraction, you simplify it to its lowest terms by dividing both the numerator and the denominator by their greatest common divisor (GCD).
The greatest common divisor of two integers is the largest integer that divides both without a remainder. For 5 and 10, the GCD is 5, so 5/10 simplifies to 1/2. For 75 and 100, the GCD is 25, so 75/100 simplifies to 3/4. For 125 and 1000, the GCD is 125, so 125/1000 simplifies to 1/8. This calculator uses the Euclidean algorithm to compute the GCD efficiently, even for large denominators arising from decimals with many places.
For mixed decimals such as 2.25, the calculator handles the whole-number part separately. It isolates the fractional part (0.25 = 1/4), converts it to a fraction, then combines it with the whole number to form an improper fraction (9/4) and optionally displays the mixed-number form (2 1/4). Negative decimals are handled by treating the absolute value and then restoring the sign.
Repeating decimals (such as 0.333… = 1/3) require a different algebraic technique — setting x equal to the decimal, multiplying by the appropriate power of 10 to shift the repeating block, subtracting the original equation, and solving for x — which goes beyond the scope of this calculator. This tool is designed for terminating decimals, which arise naturally from measurements, money, and most everyday calculations.
Practical applications of decimal-to-fraction conversion are numerous. Recipes traditionally use fractional measurements (1/2 cup, 3/4 teaspoon), so converting a decimal weight from a kitchen scale to a fraction makes it compatible with a printed recipe. Construction plans and technical drawings use fractional tolerances (3/8 inch, 5/16 inch), so converting a decimal measurement from a digital caliper gives you the matching fraction for the blueprint. In education, understanding that 0.6 = 3/5 and 0.8 = 4/5 helps students develop number sense and check their work. In finance, stock price movements are sometimes quoted in fractions (1/8 point = 0.125), and converting decimals confirms the equivalence. Wherever decimals and fractions meet, this calculator bridges the gap instantly.
Decimal to fraction examples
Five common decimals converted to simplified fractions, showing the GCD used in each case.
| Decimal | Fraction | GCD and simplification |
|---|---|---|
| 0.5 | 1/2 | 5/10; GCD = 5; simplifies to 1/2. |
| 0.75 | 3/4 | 75/100; GCD = 25; simplifies to 3/4. |
| 0.125 | 1/8 | 125/1000; GCD = 125; simplifies to 1/8. |
| 2.25 | 9/4 | 225/100; GCD = 25; simplifies to 9/4. Mixed number: 2 1/4. |
How to use the decimal to fraction calculator
- Enter a decimal number in the input field — for example, 0.5, 0.375, or 2.25. Negative decimals and whole numbers are also accepted.
- Click Convert. The calculator counts the decimal places, builds the integer fraction with the appropriate power-of-10 denominator, then divides both numerator and denominator by their GCD.
- Read the simplified fraction from the result box. If the fraction is improper (numerator > denominator), the mixed-number form is also shown.
- Verify the result by multiplying the denominator back into the numerator: numerator ÷ denominator should equal your original decimal.
- Click Reset to clear the field and convert a new decimal.
Decimal to fraction FAQ
How do you convert a decimal to a fraction?
Write the decimal digits as an integer numerator and use the appropriate power of ten as the denominator (10 for one decimal place, 100 for two, 1000 for three, and so on). Then divide both numerator and denominator by their greatest common divisor to simplify. For example, 0.6 = 6/10; GCD is 2, so the simplified form is 3/5.
What is the GCD and why does it matter?
The greatest common divisor (GCD) of two numbers is the largest integer that divides both without a remainder. Dividing both the numerator and denominator by their GCD reduces a fraction to its lowest terms, the standard simplified form. For 75/100, GCD = 25, giving 3/4. For 125/1000, GCD = 125, giving 1/8.
Can this calculator handle repeating decimals like 0.333…?
No. This calculator is designed for terminating decimals — decimals with a finite number of digits after the decimal point. Repeating (recurring) decimals such as 0.333… = 1/3 require an algebraic method involving simultaneous equations, which is outside the scope of this tool. For repeating decimals, use the algebraic technique or a dedicated repeating-decimal converter.
What is a mixed number?
A mixed number combines a whole number and a proper fraction, such as 2 1/4. It is the standard way to write an improper fraction (where the numerator is larger than the denominator) in a more readable form. For example, 9/4 as a mixed number is 2 1/4, meaning two whole units plus one quarter. The calculator displays both forms when the result is improper.
Why might the fraction look unexpected for certain decimals?
Floating-point storage in computers means some decimals are not represented exactly in binary — for example, 0.1 in binary is an infinitely repeating fraction stored as an approximation. This can cause the denominator to be unexpectedly large. For standard decimal inputs with a reasonable number of digits, the calculator rounds to the nearest integer before computing the GCD, which gives the expected result.
How are decimal-to-fraction conversions used in real life?
Common uses include converting metric measurements to fractional inches for woodworking or plumbing, scaling recipe quantities to fractional cup and tablespoon measurements, expressing test scores as fractions for grading purposes, understanding stock price movements quoted in eighths or sixteenths, and teaching students that 0.25, 25%, and 1/4 all represent the same quantity. In engineering and manufacturing, blueprints specify tolerances in fractional inches, so converting a decimal reading from a digital caliper to a fraction makes it directly comparable to the drawing specification.