Calculate & Convert

Decimal to Fraction

Convert any decimal to a simplified fraction or mixed number.

Enter values

The formula

continued-fraction expansion, denominator ≤ 10 000

Terminating decimals convert directly: put the digits over the matching power of ten and simplify. Repeating decimals need approximation, and continued fractions find the simplest fraction closest to your value — which is how 0.3333 resolves neatly to 1/3.

All calculations run locally in your browser and update instantly as you type.

Example calculations

Common questions this calculator answers — select one to load its values.

Related calculators

Frequently asked questions

What about repeating decimals?+
Enter a few repeats (e.g. 0.33333) and the tool finds the closest simple fraction — 1/3 in that case. It searches denominators up to 10,000 using continued fractions.
All calculations run locally in your browser. Nothing you type is sent to a server.