Back to Free Tools

FREE TOOLS

Repeating Decimal to Fraction

Convert an explicitly written repeating decimal into an exact reduced fraction without inferring a cycle.

Decimal text with an explicit parenthesized repetend

JSON reduced-fraction report

Browser only

Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  • Enter Repeating decimal in the form 1.2(3), with a nonempty integer part and repeating block.
  • Select Convert repeating decimal.
  • Download repeating-fraction.json for the exact reduced fraction and original validated components.

Examples

1.2(3) converts to 37/30; 0.(9) converts to 1/1.

Limitations

  • Up to 100 integer digits, 100 nonrepeating prefix digits and 100 repeating digits; 310 raw input units, 512 intermediate digits, 64 KiB report and 30 seconds.
  • Use a decimal point and explicit parentheses, with no internal whitespace. The stated repetend length is retained even when a shorter cycle exists.
  • No cycle detection from arbitrary fractions, locale notation or approximation from finite decimal samples.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool