Decimal to fraction converter
Turn any decimal into its simplest fraction, shown as a mixed number where appropriate plus the improper-fraction form. It is useful for cooking measurements, woodworking, schoolwork and any calculation that reads more naturally as a fraction than a decimal.
How it works
The tool separates the whole part from the fractional part, then converts the fractional part using the continued-fraction algorithm. This method finds the simplest exact fraction whose denominator stays within a bounded limit (up to 1,000,000), which means it handles repeating decimals such as 0.333… cleanly as 1/3. The fraction is then reduced to lowest terms by dividing numerator and denominator by their greatest common divisor (GCD). The sign of the original number is carried through to the result.
Example
Convert 0.375:
0.375 = 375/1000 → divide both by GCD 125 → 3/8
| Decimal | Simplest fraction | Improper form |
|---|---|---|
| 0.375 | 3/8 | 3/8 |
| 1.25 | 1 1/4 | 5/4 |
| 0.333… | 1/3 | 1/3 |
| −0.75 | −3/4 | −3/4 |
Everything runs in your browser — nothing you type is uploaded.