How to use it
- Type a decimal, a fraction or a mixed number.
- Read the exact fraction, the mixed number and the percent.
- For a decimal that looks like a repeating one (such as 0.3333) check the closest simple fraction.
How it works
A decimal with k decimal places is exactly its digits ÷ 10ᵏ, reduced by the greatest common divisor. The closest simple fraction with a denominator up to your limit comes from the continued-fraction expansion, which gives the best rational approximation for that limit, for example 0.3333 ≈ 1/3 and 3.14159 ≈ 355/113.
Examples
- 0.75 = 3/4. 1.125 = 9/8 = 1 1/8. 3/8 = 0.375.
Limitations
- A typed decimal is treated as exact, so 0.3333 is 3333/10000, not 1/3; the closest-fraction line shows when it is probably a rounded repeating decimal. At most 30 decimal places.
Last verified . See our Accuracy & Editorial Policy. Found a problem? Email [email protected].