Decimal to fraction calculator
Last updated 2026-10-02
This decimal to fraction calculator turns any decimal into a fraction in simplest form, and into a mixed number when it is bigger than 1. It handles repeating decimals too: put the repeating digits in parentheses, so is typed as 0.1(6).
How to convert a terminating decimal to a fraction
- Write it over a power of 10. Count the decimal places: one place is tenths, two is hundredths, three is thousandths. .
- Find the greatest common factor of the top and bottom. For 375 and 1000 it is 125.
- Divide both by it. .
- Check it. Divide back: .
How to convert a repeating decimal to a fraction
Call the decimal , multiply by a power of 10 that lines up the repeating part, and subtract so the endless tail cancels.
Example 1: 0.(3) as a fraction
- Let
- Multiply by 10, because one digit repeats:
- Subtract the first line from the second:
- Solve: .
So . Check:
Example 2: 0.1(6) as a fraction
- Let Only the 6 repeats, and it starts one place after the point.
- and
- Subtract:
- Solve: .
So . Check:
Common decimals as fractions
| Decimal | Fraction |
|---|---|
| 0.125 | 1/8 |
| 0.2 | 1/5 |
| 0.25 | 1/4 |
| 0.375 | 3/8 |
| 0.625 | 5/8 |
| 0.75 | 3/4 |
More rows are in the decimal to fraction chart, and the reverse conversion is in the fraction to decimal calculator.
Questions
How do I type a repeating decimal?
Put the repeating digits in parentheses: 0.(3) for one third, 0.1(6) for one sixth, 3.(142857) for twenty-two sevenths. If you type 0.333... the calculator assumes the last digit repeats and says so.
Does 0.999 repeating really equal 1?
Yes. With , , so and . The calculator gives 1.
Can it convert negative decimals?
Yes. becomes , which is as a mixed number.
For a decimal inside a longer problem, photograph the problem in AI Math Tutor and follow each step to the answer.