MATH CALCULATOR
Decimal to Fraction Calculator
Convert terminating decimals to simplified fractions.
How decimal-to-fraction conversion works
For a terminating decimal, count the digits after the decimal point. Use the decimal digits as the numerator and a power of 10 as the denominator, then reduce the fraction by its greatest common factor. For example, 0.75 has two decimal places, so it becomes 75/100, which simplifies to 3/4.
Negative decimals
The sign is preserved during conversion. For example, −0.5 becomes −5/10 and simplifies to −1/2.
What about repeating decimals?
This calculator is designed for terminating decimal input. Repeating decimals such as 0.333… require a different algebraic method and should not be treated as a finite decimal with an arbitrary number of digits.
Browse all Calcora calculators
Frequently asked questions
What does this calculator do?
The conversion finds an equivalent fraction and reduces it to simplest form where possible.
Are the results exact?
The result is an estimate based on the values and assumptions entered. Check the formula and units shown on the page.
Can I use different inputs?
Yes. Enter your own values and recalculate to compare different scenarios.
Calculation context
Decimal-to-fraction conversion represents a terminating or repeating decimal as a fraction. The result can be reduced to lowest terms while preserving the same numerical value.
Terminating and repeating decimals
A terminating decimal has a finite number of digits after the decimal point, such as 0.125. Write it as 125/1000 and simplify to 1/8. A repeating decimal, such as 0.333…, can also represent a rational fraction (1/3), but its repeating pattern cannot be captured by entering only a finite rounded decimal without changing the exact value. Treat a calculator result based on a rounded input as the fraction for that entered decimal, not necessarily the exact fraction intended by a repeating-decimal problem.
Negative decimals and values greater than one
The same process works for negative decimals and values above one. For example, −1.25 = −125/100 = −5/4, while 2.5 = 25/10 = 5/2. Keep the sign in the numerator or place it in front of the simplified fraction. To verify a result, divide the numerator by the denominator and compare the decimal value, allowing for display rounding.
How to check whether a fraction is fully simplified
After conversion, compare the numerator and denominator and divide both by their greatest common factor. For example, 0.375 becomes 375/1000; dividing both numbers by 125 gives 3/8. A decimal that ends after a finite number of digits can always be represented as a fraction, although the first fraction produced from place value may not be in lowest terms. Repeating decimals need a different method because their digits do not terminate; use a repeating-decimal conversion rather than rounding the displayed value and treating it as exact.