Fraction to Decimal Calculator

To convert a fraction to a decimal, divide the numerator by the denominator. 7/12 = 0.58333…, written 0.58(3) with the repeating digit in brackets. The decimal repeats because the reduced denominator, 12, has a prime factor other than 2 or 5.

Last updated · By · Runs in your browser, nothing is uploaded

Result

Step-by-Step Solution

Enter your values above to see the full working.

How Do You Convert a Fraction to a Decimal?

A fraction is a division in disguise. 7/12 means 7 ÷ 12. Carrying out that division, by hand with long division or with this calculator, gives the decimal value 0.58333… The three dots mean the digit 3 repeats forever.

Every fraction becomes one of two kinds of decimal. A terminating decimal stops after a finite number of digits, such as 1/8 = 0.125. A repeating decimal never stops but cycles through a pattern, such as 1/7 = 0.142857142857… Writing the repeating block in brackets, as in 0.(142857), is the exact way to record it.

Terminating or Repeating?

FractionReduced denominatorDecimalType
1/82³0.125Terminating
3/202² × 50.15Terminating
7/122² × 30.58(3)Repeating
1/770.(142857)Repeating, period 6
3/11110.(27)Repeating, period 2

The Rule for Terminating and Repeating Decimals

Decimal = numerator ÷ denominator The decimal terminates ⇔ the reduced denominator has no prime factors except 2 and 5
  • First simplify the fraction.
  • Factor the denominator. If it contains only 2s and 5s, the decimal terminates. Any other prime factor, like 3, 7 or 11, makes it repeat.
  • For a repeating decimal, the period is the length of the repeating block. It is at most one less than the denominator.

The reason is that a terminating decimal is a fraction over a power of ten (2ᵃ × 5ᵃ…), so only denominators built from 2s and 5s can be rewritten that way.

Check the Denominator

Reduced denominatorPrime factorsDecimal
102 × 5Terminates
202² × 5Terminates
255²Terminates
1255³Terminates
62 × 3Repeats
153 × 5Repeats
242³ × 3Repeats

Why 0.999… Equals 1

Since 1/3 = 0.333…, multiplying both sides by 3 gives 3/3 = 0.999…, and 3/3 is simply 1. A repeating decimal is an exact value, not an approximation, which is one reason the bracket notation matters.

Worked Example: 7/12

  1. Divide 7 by 12: 12 goes into 70 five times (60), leaving 10.
  2. Bring down a zero: 100 ÷ 12 = 8 (96), leaving 4.
  3. Bring down a zero: 40 ÷ 12 = 3 (36), leaving 4.
  4. The remainder 4 has appeared before, so the digit 3 will repeat forever.
  5. Result: 0.58(3), or 0.58333333… Rounded to 10 places, 0.5833333333, and as a percent about 58.33%.

Repeating Patterns Worth Knowing

FractionDecimalPeriod length
1/30.(3)1
5/60.8(3)1
3/110.(27)2
1/70.(142857)6
1/130.(076923)6
1/170.(0588235294117647)16

Long division reveals the repeat: as soon as a remainder reappears, the sequence of digits cycles. A denominator of n can produce at most n − 1 different non-zero remainders, so the period is never longer than n − 1.

The Shortcut for Terminating Fractions

If the denominator is built from 2s and 5s, scale the fraction to a denominator of 10, 100 or 1,000 instead of dividing. 3/20 = 15/100 = 0.15, 7/25 = 28/100 = 0.28 and 9/40 = 225/1000 = 0.225.

Fractions with Long Terminating Decimals

Fraction1/161/321/64
Decimal0.06250.031250.015625

Each time the denominator doubles, the decimal gains another digit, because every extra factor of 2 adds a decimal place.

Fractions as Percentages

Fraction1/81/62/94/7
Percent12.5%16.67%22.22%57.14%

When you round a repeating decimal, state whether you rounded or truncated. 2/3 is 0.6667 rounded to four places but 0.6666 if truncated.

How to Use This Fraction to Decimal Calculator

  1. Enter the numerator.
  2. Enter the denominator (it cannot be zero).
  3. Read the decimal with its repeating block in brackets, whether it terminates or repeats, the period length, the value rounded to 10 places and the percentage.
  4. Open the steps to follow the long division.

For a mixed number, convert it to an improper fraction first with the mixed number calculator.

Where Fraction-to-Decimal Conversion Is Used

  • Calculators and spreadsheets: which usually need decimals, not fractions.
  • Measurements: converting 5/8 inch to 0.625 inch for a digital caliper.
  • Finance and statistics: turning ratios into proportions and percentages.
  • Science: expressing results as decimals for further calculation.
  • Education: studying why some fractions repeat.

What Are the Most Common Mistakes With the Fraction to Decimal Calculator?

  • Dividing the wrong way. 7/12 is 7 ÷ 12, not 12 ÷ 7.
  • Treating a rounded decimal as exact. 0.5833 is only an approximation of 7/12.
  • Not simplifying first. 3/12 and 1/4 are the same, and only the reduced denominator decides whether the decimal terminates.
  • Stopping a repeating decimal too early. Use the bracket notation or enough digits.
  • Confusing the repeating part. In 0.58(3), only the 3 repeats, not 58.
  • Zero denominator. Division by zero is undefined.

Where Can You Verify These Formulas?

The definitions and formulas on this page follow standard references. Check them against these sources:

Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.

Frequently Asked Questions

How do you convert a fraction to a decimal?

Divide the numerator by the denominator. 7/12 = 7 ÷ 12 = 0.58333…

How can I tell whether a fraction gives a terminating or repeating decimal?

Reduce the fraction and factor the denominator. If the only prime factors are 2 and 5, the decimal terminates. Otherwise it repeats.

How long can the repeating block be?

At most one less than the denominator. 1/7 has a period of 6, and 1/17 has a period of 16.

What is 1/3 as a decimal?

0.333…, written 0.(3), which repeats forever. It cannot be written exactly as a finite decimal.

How do I write a repeating decimal correctly?

Put a bar over the repeating digits or place them in brackets, as in 0.58(3). Alternatively, round the value and show it with an approximation sign.

How do I convert a fraction to a percentage?

Convert to a decimal, then multiply by 100. 7/12 = 0.5833…, or about 58.33%.