Fraction to Decimal Converter

Free fraction to decimal converter. Convert any fraction to a decimal, round to a chosen number of places, and detect repeating decimal cycles using long division.

AI-ready Use this tool with AI

This tool has a free JSON API. Copy a prompt or skill below to use it with ChatGPT, Claude, or any AI agent — no API key needed.

API docs
Enter a fraction above.

How fraction to decimal converter works

A fraction is just a division written differently: the numerator divided by the denominator. To convert a fraction to a decimal, divide the top by the bottom. Some fractions terminate (1/4 = 0.25) and some repeat forever (1/3 = 0.333…), and which one happens depends on the denominator's prime factors.

This converter performs the long division exactly, so it can tell the difference between a terminating decimal and a repeating one. It rounds the result to the number of places you choose (6 by default) and, when the decimal repeats, it reports the repeating cycle in the standard notation 0.(3) for 0.333…. A fraction terminates if the denominator's only prime factors are 2 and 5; otherwise it repeats.

Enter the numerator, denominator, and how many decimal places you want. The tool returns the rounded decimal, the exact value, and the repeating cycle if there is one. Use it for homework, machining measurements, and converting fractional odds or ratios into decimals.

Frequently asked questions

How do I convert a fraction to a decimal?
Divide the numerator by the denominator. 1/4 = 0.25 and 1/3 = 0.333…. This tool does the division and rounds to the number of places you choose.
What is a repeating decimal?
A decimal whose digits repeat forever, like 0.333… for 1/3. The tool writes the repeating part in parentheses, so 1/3 is shown as 0.(3) and 5/9 as 0.(5).
How can I tell if a fraction terminates?
A fraction terminates only if the denominator's prime factors are 2 and/or 5 (after simplifying). 1/4 = 0.25 terminates; 1/3 repeats because 3 is not 2 or 5.
Why does the tool show both a rounded and a repeating value?
The rounded value is the decimal at your chosen precision, useful for calculations. The repeating value shows the exact cycle, which is lost when a repeating decimal is rounded.