Decimal ↔ Fraction: instructions, examples and limits
Finite decimals become an integer over a power of ten, then reduce by GCD.
Open Decimal ↔ FractionThis tool is registered for local processing. Its tool input is handled in the current page; LittleKit’s product analytics do not include the input value.
What it does
Finite decimals become an integer over a power of ten, then reduce by GCD. Fractions divide numerator by denominator.
Worked example
0.125 ↔ 1/8.
The example demonstrates the operation. For file-based tools, results depend on the selected file and options.How the result is produced
Finite decimals become an integer over a power of ten, then reduce by GCD. Fractions divide numerator by denominator.
Important limits
At most 9 decimal places and safe-integer numerator. Recurring decimals are not inferred.
Choosing the next step
Enter values in the units and convention named by the page, then compare the displayed formula with your question. For money, change the assumptions rather than treating an estimate as an offer; for statistics, decide whether the data represents a sample or a full population.
See a mismatch between these instructions and the tool? Report a correction with a non-sensitive example.