Skip to content

Fraction to Decimal Calculator

Enter a numerator and a denominator and the calculator performs the division, simplifies the fraction, and reports whether the decimal terminates or repeats. In the default case 7/8 = 0.875 exactly, which is 87.5%. A zero denominator is rejected.

Updated 2026-11-21 Editorial estimate Calccc Editorial Team Free · No sign-up

The top number. Negative values are allowed.

The bottom number. It cannot be zero.

How many digits to show after the point. Terminating decimals stop earlier.

Scenarios A/BSave two input sets and compare the results. Stored only in this browser.
AEmpty
BEmpty

Your inputs stay in this browser. No account, no uploads.

Professional worksheet

Detailed schedule & assumptions

Inputs used, method, sensitivity, and any year-by-year table. The summary above stays compact; the audit lives here.

Professional worksheet

Inputs, scope, and sensitivity

Inputs used

Method and scope

Result audit

MetricValue

What this calculator does

Every fraction is a division waiting to be done. Converting one to a decimal is usually taught as a calculator button, but the interesting part is what the digits do. Some fractions stop after a few places because the denominator is built from twos and fives. Others repeat forever, and the repeating block can be found exactly by tracking the remainders in long division. This calculator does both.

How to use it

  1. Enter the numerator, allowing negative values if needed.
  2. Enter the denominator; zero is rejected because division is undefined.
  3. Choose how many decimal places to display.
  4. Read the exact decimal, percentage, and simplified fraction.
  5. Check whether the decimal terminates or repeats.

How it works

Decimal = numerator / denominator. In long division, multiply the current remainder by 10, record the whole-number quotient as the next digit, and keep the new remainder. A repeating cycle begins when a remainder repeats. The fraction simplifies by dividing numerator and denominator by their greatest common divisor. Example: 7/8 = 7 ÷ 8 = 0.875, and 5/6 = 0.8(3), where 3 repeats forever.

Example calculations

Example 1: a terminating decimal

3/8: 3 divided by 8 is 0.375 exactly, because 8 = 2³ has no prime factors other than 2. The percentage is 37.5%, the simplified fraction is already 3/8, and the mixed number is 0 3/8. A denominator of 2^a × 5^b always terminates.

Example 2: a single repeating digit

5/6: the long division gives 0.83333…, so the decimal is 0.8(3). The preperiod is 8, the repetend is 3, and the period length is one digit. Rounded to two places it is 0.83, but the exact value only exists with the repeating notation.

Example 3: a preperiod plus a cycle

7/12: 7 ÷ 12 = 0.58333…, so the calculator reports 0.58(3). The digits 58 do not repeat; only the 3 does. This happens when the denominator carries prime factors other than 2 and 5 alongside them, here 12 = 2² × 3.

What the result means

A fraction in lowest terms terminates exactly when its denominator has no prime factors except 2 and 5. If any other prime divides the denominator, the decimal repeats, and the period can be as long as the denominator's multiplicative order. That is why 1/3 and 1/6 repeat while 1/8 and 3/40 terminate. The percentage is the decimal times 100 and inherits the same repeating structure. When a decimal is rounded for display, the exact value is still the fraction, so use the fraction form for algebra and the repeating notation for exact comparisons.

Common mistakes

  • Dividing the denominator by the numerator instead of the other way round.
  • Entering a zero denominator and expecting infinity.
  • Rounding a repeating decimal and calling it exact.
  • Forgetting that a negative sign belongs in front of the whole value.
  • Failing to simplify before judging whether the decimal terminates.

Assumptions and limits

  • Both inputs are whole numbers within the calculator's range.
  • The exact repeating cycle is found within the long-division step limit.
  • The displayed decimal places are a presentation choice, not a rounding of the fraction.
  • The fraction is reduced by the greatest common divisor, not by trial and error.
  • A mixed number uses the absolute whole part and the reduced remainder.

Frequently asked questions

How do I know if a fraction terminates?

Reduce it first. If the reduced denominator factors into only 2s and 5s, the decimal terminates; any other prime factor makes it repeat.

What does 0.8(3) mean?

It means 0. 83333… with the digit 3 repeating forever. Parentheses mark the repeating block, also called the repetend.

Can every fraction be written as a decimal?

Yes, as either a terminating or a repeating decimal. Every fraction is a rational number, and rationals always have one of those two decimal forms.

Why does a repeating period have a maximum length?

In long division there are only denominator − 1 possible non-zero remainders, so a cycle must appear within that many steps.

What is a mixed number useful for?

It shows the whole units separately from the fractional part, which is easier to read for values above 1, such as 7/4 = 1 3/4 = 1. 75.

Sources

Educational estimate only, not professional financial, legal, tax, medical, or construction advice. Verify important decisions with a qualified professional.

2026 update

How to use the professional output

This page is not just a formula box. The result is designed to be checked, compared, and taken away.

  • Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
  • A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
  • Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.

The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.

Calccc Editorial Team · Updated 2026-11-21

Prepared by Calccc Editorial Team as an educational estimate. This page is not a licensed professional review and is not financial, medical, legal, or tax advice.

Editorial estimate prepared by the Calccc Editorial Team; exact arithmetic checked against long division.