Fraction to Decimal Calculator

Convert any fraction or mixed number to a decimal with step-by-step long division. Detects repeating decimals and shows them in bar notation.

Loading calculator…

How to use this calculator

The calculator has three input fields. Fill in only what your problem needs:

  • Whole — the integer part of a mixed number. Leave blank for a pure fraction like 34\frac{3}{4} or 78\frac{7}{8}.
  • Numerator — the top number of the fraction (how many parts you have).
  • Denominator — the bottom number (how many equal parts the whole is split into). Must be greater than zero.

Three common cases:

  1. Pure fraction (e.g. 34\frac{3}{4}): leave Whole blank, type 3 and 4. → 0.75
  2. Mixed number (e.g. 2382\frac{3}{8}): type 2, 3, 8. → 2.375
  3. Negative value: put the minus sign on either Whole or Numerator — never on both, and never on Denominator. 314=3.25-3\frac{1}{4} = -3.25. (If both Whole and Numerator are negative, the signs cancel and the result is positive.)

The calculator converts mixed numbers to improper fractions automatically — 2382\frac{3}{8} becomes 198\frac{19}{8} before dividing. You'll see the improper form displayed next to the result.

How to convert a fraction to a decimal

A fraction ab\frac{a}{b} is just division. To get the decimal form, divide the numerator by the denominator:

decimal = numerator ÷ denominator

For mixed numbers like 1121\frac{1}{2}, first rewrite them as improper fractions, then divide.

Tip: Mixed abc=a×c+bca\frac{b}{c} = \frac{a \times c + b}{c}. Example: 112=1×2+12=321\frac{1}{2} = \frac{1 \times 2 + 1}{2} = \frac{3}{2}.

Terminating vs. repeating decimals

Some divisions stop neatly — 14=0.25\frac{1}{4} = 0.25, 78=0.875\frac{7}{8} = 0.875. Others repeat forever — 13=0.333\frac{1}{3} = 0.333\ldots, 17=0.142857142857\frac{1}{7} = 0.142857142857\ldots. Which kind you get depends entirely on the denominator of the fraction in lowest terms.

A fraction terminates if and only if its reduced denominator has only the prime factors 2 and 5. So:

  • 18\frac{1}{8} terminates because 8=238 = 2^3.
  • 325\frac{3}{25} terminates because 25=5225 = 5^2.
  • 740\frac{7}{40} terminates because 40=23×540 = 2^3 \times 5.
  • 16\frac{1}{6} repeats because 6=2×36 = 2 \times 3 — the 3 is the problem.
  • 17\frac{1}{7} repeats because 7 is neither 2 nor 5.
Tip: A fraction terminates iff its reduced denominator has only 2 and/or 5 as prime factors. So 18=0.125\frac{1}{8} = 0.125 terminates (8=238 = 2^3), but 16=0.16\frac{1}{6} = 0.1\overline{6} repeats because 6=2×36 = 2 \times 3.

Mixed numbers

A mixed number combines a whole part and a fraction: 1121\frac{1}{2}, 2382\frac{3}{8}, 314-3\frac{1}{4}. To convert one to a decimal:

  1. Convert to an improper fraction: whole×denominator+numerator\text{whole} \times \text{denominator} + \text{numerator}, over the original denominator.
  2. Divide as usual.

For 2382\frac{3}{8}: 2×8+38=198=2.375\frac{2 \times 8 + 3}{8} = \frac{19}{8} = 2.375.

Sign rules for mixed numbers: a negative sign on either the whole part or the numerator (but not both) makes the result negative. 314=3.25-3\frac{1}{4} = -3.25. If both are negative the signs cancel.

Worked examples

Example 1 — 34\frac{3}{4}

  1. Divide: 3÷43 \div 4.
  2. Long-divide: 30÷4=730 \div 4 = 7 remainder 2. Then 20÷4=520 \div 4 = 5 remainder 0.
  3. Result: 0.75 (terminating).

Example 2 — 13\frac{1}{3}

  1. Divide: 1÷31 \div 3.
  2. Long-divide: 10÷3=310 \div 3 = 3 remainder 1. The remainder repeats → cycle "3".
  3. Result: 0.30.\overline{3} = 0.333…

Example 3 — 2582\frac{5}{8}

  1. Convert: 2×8+58=218\frac{2 \times 8 + 5}{8} = \frac{21}{8}.
  2. Divide: 21÷8=221 \div 8 = 2 remainder 5. Then 50÷8=650 \div 8 = 6 r 2, 20÷8=220 \div 8 = 2 r 4, 40÷8=540 \div 8 = 5 r 0.
  3. Result: 2.625 (terminating).

Common fractions reference

FractionDecimalTerminating?
12\frac{1}{2}0.5yes
13\frac{1}{3}0.30.\overline{3}repeats
14\frac{1}{4}0.25yes
15\frac{1}{5}0.2yes
16\frac{1}{6}0.160.1\overline{6}repeats
17\frac{1}{7}0.1428570.\overline{142857}repeats
18\frac{1}{8}0.125yes
19\frac{1}{9}0.10.\overline{1}repeats
110\frac{1}{10}0.1yes
111\frac{1}{11}0.090.\overline{09}repeats
112\frac{1}{12}0.0830.08\overline{3}repeats
34\frac{3}{4}0.75yes
58\frac{5}{8}0.625yes
78\frac{7}{8}0.875yes

Frequently asked questions

What is 13\frac{1}{3} as a decimal?
13\frac{1}{3} = 0.333… — the digit 3 repeats forever. In bar notation it's written 0.30.\overline{3}. Any rounded form (0.33, 0.333) is an approximation, not the exact value.
Why does 17\frac{1}{7} repeat infinitely?
A fraction terminates only when its reduced denominator has just 2 and 5 as prime factors. 7 is prime and isn't 2 or 5, so 17\frac{1}{7} must repeat — and its cycle is six digits long: 0.142857142857….
Which fractions give a terminating decimal?
A fraction pq\frac{p}{q} (in lowest terms) terminates exactly when q has no prime factor other than 2 or 5. So 18\frac{1}{8}, 325\frac{3}{25}, 740\frac{7}{40} all terminate; 13\frac{1}{3}, 16\frac{1}{6}, 17\frac{1}{7} do not.
Is a repeating decimal exact?
Yes — the repeating decimal and the original fraction are the same number, exactly. The notation just makes the infinite tail explicit. Only rounded decimals (0.333 instead of 0.30.\overline{3}) lose precision.
How is a repeating decimal written?
Two common notations: a horizontal bar over the repeating digits (0.30.\overline{3}, 0.1428570.\overline{142857}) or parentheses around them (0.(3), 0.(142857)). Both mean the digits inside repeat forever.

Related calculators