Skip to content
➗

Decimal to Fraction Calculator

Turn any terminating decimal into a simplified fraction and mixed number, with GCD steps.

Runs in your browser

Updated

—

    Every decimal is a fraction over a power of ten

    The tool counts the digits after the point, writes the number without the point as the numerator, and uses ten raised to that count as the denominator. It then divides both by their greatest common divisor. Because the denominator is built from the digits you typed, 3.75 becomes 375 over 100 and reduces to 15 over 4; it does not search for a simpler fraction with a smaller denominator.

    A worked example

    Enter 3.75: the fraction is 15/4, the mixed number is 3 3/4, and the three steps show 375/100, the GCD of 25, and the reduced result. Enter 0.5 and you get 1/2. Up to twelve decimal places are accepted, and a comma is treated as a decimal point for European-style input.

    Repeating decimals

    A repeating value such as 0.333333 is read literally as 333333/1000000 rather than recognised as one third. That is a deliberate limitation of the digit-counting method: with no repetition notation in the input, the calculator cannot tell a truncated decimal from an exact one.

    Where it stops

    • No recurring-decimal notation, so 0.1 recurring cannot be expressed.
    • A trailing point such as "3." is accepted and treated as 3.
    • Negative signs are shown with a Unicode minus, and a zero numerator drops the sign.
    • Twelve decimal places is a hard limit.

    Questions people ask

    Why is my fraction not the one I expected?

    The denominator always follows the number of digits. Reduce it manually or enter fewer decimals if you want a cleaner result.

    How do I do maths with the result?

    Paste the numerator and denominator into the fraction calculator. To find common factors first, use the GCD and LCM calculator.