How this calculation works
Reduce the fraction first, then divide the absolute numerator by the positive denominator. Each successive remainder determines the next decimal digit. A zero remainder finishes a terminating decimal. Seeing the same remainder again identifies the beginning and length of an infinitely recurring block, written in parentheses.
Decimal digits come from repeated division: next digit = floor(10 × remainder / denominator)A worked example
3/4 divides to 0.75 with no remainder. For 1/6, the first decimal digit is 1 and then the remainder repeats, giving 0.1(6). The parentheses mean that only the six repeats forever.
Good to know
Integer numerator and denominator within ±10¹²; denominator must be nonzero. Up to 200 decimal digits are generated before the tool labels a longer unfinished expansion as truncated. Parentheses denote recurrence rather than multiplication. This does not guess a fraction from an approximate decimal measurement.
Reference: OpenStax Prealgebra: fractions and representations (opens in a new tab) ↗
A recurring decimal is a repeated remainder pattern
Long division has a finite set of possible remainders for a fixed positive denominator. A zero remainder ends the expansion. If a nonzero remainder repeats, the following digits repeat as well. This is why a rational fraction has either a terminating decimal or a recurring pattern rather than an arbitrary endless digit sequence.
For 1/6, division first produces the digit one, after which the same remainder returns and the digit six repeats. The notation 0.1(6) records that structure. For 1/7, the repeating block is 142857, so 0.(142857) means the entire six-digit block repeats.
After reducing a fraction, a denominator containing only prime factors two and five gives a terminating base-ten decimal. Those are the prime factors of ten. A remaining factor such as three or seven produces recurrence. The fraction simplifier shows why reduction must come before inspecting that denominator.
A displayed prefix is not the complete infinite expansion
The tool stops after two hundred generated digits if no recurrence has yet been detected. That protects the browser from a very long cycle. The ellipsis is explicitly marked as truncation; it does not claim that the displayed digits form the complete recurring block.
The finite decimal to fraction converter performs the reverse task for a written finite decimal. Passing a truncated recurring prefix to it produces the exact fraction of that prefix, not the original fraction. The repeating decimal to fraction tool is the appropriate companion when the recurring block itself is known.
Negative fractions use one overall sign. The division and recurrence detection operate on the magnitude, so the location of a recurring block is unaffected by whether the original numerator or denominator carried the negative sign.
A few questions, answered
What do parentheses mean in 0.1(6)?
Only the six repeats indefinitely; the initial one does not repeat.
Why can an expansion stop with an ellipsis?
The 200-digit display limit was reached before termination or a repeated remainder was identified.
Does 0.333 equal 1/3?
No. It is a finite decimal. The recurring decimal 0.(3) equals 1/3.