Decimal to Fraction Calculator
Convert decimal numbers into simplified fractions, mixed numbers, and percentage equivalents with clear calculation steps.
Results
The Decimal to Fraction Calculator converts a decimal representation into an equivalent reduced fraction. Terminating decimals come directly from place value, while repeating decimals require algebra that removes the repeating block.
How a repeating block becomes a fraction
For a terminating decimal, write the digits as an integer over a power of ten and reduce. For example, 0.375=375/1000=3/8. A value greater than 1 may remain an improper fraction or be reported as a mixed number.
A terminating decimal with n digits after the point can be written as an integer over 10^n, then reduced.
Enter the values in their mathematical roles
Enter the decimal exactly as known. If the tool supports repeating notation, identify only the digits that repeat rather than rounding the pattern. Review the unreduced power-of-ten fraction and the greatest common factor used to simplify it.
The governing relationship
A terminating decimal with n digits after the point can be written as an integer over 10^n, then reduced.
A compact example
0.375 = 375/1000 = 3/8 after dividing numerator and denominator by 125.
Valid inputs and boundary cases
A displayed decimal may already be rounded. Converting 0.33 gives 33/100, not exactly 1/3. Scientific notation should first be expanded or interpreted by its power of ten. Preserve the negative sign separately from numerator and denominator reduction.
Read the answer in context
Repeating and rounded decimals may require a different method or tolerance because the displayed digits are not necessarily exact.
An independent check
Divide the reduced numerator by the denominator. It should reproduce the terminating decimal or the repeating pattern. For a rounded source value, state that the resulting fraction represents the entered approximation rather than an unknown exact original.
Errors that change the answer
- Assuming every short decimal is a familiar fraction
- Using 10 instead of the correct power of ten
- Dropping leading zeros after the decimal point
- Treating a rounded decimal as exact
- Failing to reduce numerator and denominator
Continue with a related calculator
Continue with the Mixed Number Calculator or Fraction to Decimal Calculator. For everyday arithmetic and order-of-operations checks, use the Basic Calculator.
What this numerical result cannot decide
Many different fractions round to the same displayed decimal. Without knowing whether the source value terminates, repeats, or was measured, the calculator cannot reconstruct more precision than was entered.
A second way to understand the method
Let x=0.272727… . Multiplying by 100 shifts one two-digit repeat: 100x=27.272727… . Subtracting x removes the repeating tail, giving 99x=27 and x=27/99=3/11. Longer nonrepeating prefixes require an additional shift before subtraction.
Terminating decimals come from place value
The last written decimal place determines the initial denominator: tenths use 10, hundredths 100, thousandths 1,000, and so on. Thus 2.045 becomes 2045/1000 and reduces to 409/200. The zero between 2 and 4 matters because it fixes the place value of the remaining digits.
Measured decimals may need a tolerance instead
If 1.27 m came from a measurement rounded to the nearest hundredth, it represents an interval near that value rather than the exact rational number 127/100. Converting the displayed value is still mathematically valid, but engineering or scientific work should retain the measurement precision and uncertainty instead of implying an exact ratio.
Decimal To Fraction Calculator FAQ
Is 0.5 equal to 1/2?
Yes. It begins as 5/10 and reduces by dividing both parts by 5.
Why does 0.333 become 333/1000?
Because a terminating entry has three decimal places; it is not the same as an infinite repeating 3.
Can a negative decimal be converted?
Yes. Convert the absolute value, reduce it, and keep one negative sign.
For additional worked mathematics, see the free OpenStax Prealgebra 2e reference.