Decimal to Fraction
Turn any decimal into an exact, reduced fraction.
How to use
- 1 Type a decimal number, for example 0.625 or -1.5.
- 2 For a repeating decimal, put the recurring digits in parentheses, e.g. 0.(3).
- 3 Read the reduced fraction, mixed number, numerator and denominator.
- 4 Copy the fraction for use elsewhere.
About Decimal to Fraction
The Decimal to Fraction converter turns a decimal value into its exact equivalent fraction, reduced to lowest terms, along with a tidy mixed-number form.
Enter something like 0.75 and you instantly get 3/4; enter 1.5 and you get 3/2 shown as the mixed number 1 1/2.
The conversion is exact rather than approximate: the tool counts the decimal places, builds the corresponding base-ten fraction, and then divides through by the greatest common divisor so the answer is always in its simplest form, with the sign kept on the numerator and the denominator left positive.
It also handles repeating decimals, which most quick converters get wrong.
Write the recurring digits in parentheses — 0.(3) for one-third, 0.1(6) for one-sixth, or 2.(142857) for fifteen-sevenths — and the tool applies the standard repeating-decimal algebra to recover the precise rational value.
Leading-dot inputs like .25 and negative values like -2.25 are understood too, and anything that is not a valid number is rejected with a clear, specific message instead of a confusing result.
This is handy for students checking homework, woodworkers and cooks translating measurements, and anyone who simply prefers fractions to decimals.
Every calculation runs locally in your browser, so nothing is uploaded or stored, and it keeps working offline once the page has loaded.
FAQ
How do I enter a repeating decimal?
Wrap the repeating digits in parentheses. For example 0.(3) means 0.3333…, which converts to 1/3, and 0.1(6) means 0.1666…, which converts to 1/6.
Is the fraction always fully reduced?
Yes. The result is divided by the greatest common divisor, so it is always in lowest terms, with the denominator kept positive.
What about very long decimals?
Non-repeating decimals up to 15 places convert exactly. Beyond that, enter the value as a repeating decimal using parentheses to keep the result exact.