Fraction to Decimal Calculator

Turn a fraction or mixed number into an exact decimal. The calculator finds the repeating block (if there is one), explains why the decimal terminates or repeats, and shows the long-division steps and the percent.

Grades 4–8FreeNo sign-up

Try:

Leave the whole-number box empty for a simple fraction. A bar over digits (or parentheses) marks the block that repeats forever.

How to use the fraction to decimal calculator

  1. Type the numerator on top and the denominator underneath. For a mixed number like 2 3/4, put 2 in the whole-number box.
  2. Press Convert.
  3. Read the exact decimal. Repeating digits are shown with a bar over them and again in parentheses, so 5/12 appears as 0.416 and 0.41(6). Below that you get the percent, a rounded value, the reason the decimal terminates or repeats, and the long-division table.

How to convert a fraction to a decimal

A fraction is a division problem in disguise: the fraction bar means “divided by”. To convert a fraction to a decimal, divide the numerator by the denominator.

  1. Divide the numerator by the denominator to get the whole-number part and a remainder.
  2. Write a decimal point. Multiply the remainder by 10 (this is the same as “bringing down a zero”) and divide by the denominator again. The quotient is the next decimal digit.
  3. Repeat with each new remainder. Stop when the remainder is 0 — or when a remainder shows up for the second time.

Example: 3/8. 3 ÷ 8 = 0 remainder 3. Then 30 ÷ 8 = 3 remainder 6; 60 ÷ 8 = 7 remainder 4; 40 ÷ 8 = 5 remainder 0. The remainder is 0, so the division ends: 3/8 = 0.375.

Example: 5/12. 5 ÷ 12 = 0 remainder 5. Then 50 ÷ 12 = 4 r 2; 20 ÷ 12 = 1 r 8; 80 ÷ 12 = 6 r 8. The remainder 8 has appeared before, so from here the digit 6 repeats forever: 5/12 = 0.41666… = 0.41(6).

Want the full written-out bracket layout for any division? Use the long division calculator.

Terminating or repeating? Look at the denominator

You can tell what kind of decimal you will get before dividing. First reduce the fraction to lowest terms, then factor the denominator into primes:

Why must it repeat rather than wander forever? When you divide by d, the only possible remainders are 0, 1, 2, …, d − 1. After at most d steps a remainder has to come back, and from that moment the same digits are produced in the same order. So the repeating block is never longer than d − 1 digits — 1/7 uses the full six: 0.(142857).

Fractions to decimals chart

FractionDecimalFractionDecimal
1/20.51/80.125
1/30.(3)3/80.375
2/30.(6)5/80.625
1/40.257/80.875
3/40.751/90.(1)
1/50.21/100.1
1/60.1(6)1/110.(09)
1/70.(142857)1/120.08(3)

From decimal to percent

Once you have the decimal, a percent is one step away: multiply by 100, which moves the decimal point two places to the right. 3/8 = 0.375 = 37.5%. For more percent problems, see the percentage calculator. To go back the other way, use the decimal to fraction calculator.

Frequently asked questions

How do you convert a fraction to a decimal?

Divide the numerator by the denominator. For example 3/8 means 3 ÷ 8, which is 0.375. Use long division, adding zeros after the decimal point until the remainder is 0 or starts to repeat.

How can you tell if a fraction will be a terminating or repeating decimal?

Reduce the fraction to lowest terms and factor the denominator. If its only prime factors are 2 and 5 the decimal terminates; if it has any other prime factor the decimal repeats.

What is 1/3 as a decimal?

1/3 = 0.333…, with the 3 repeating forever. It is written 0.3 with a bar over the 3, or 0.(3). Rounded to three decimal places it is 0.333.

What does the bar over the digits mean?

The bar (called a vinculum) marks the block of digits that repeats forever. For example 0.41 with a bar over the 6 at the end means 0.41666…

How do you convert a mixed number to a decimal?

Keep the whole number and convert only the fraction part, then add them. For 2 3/4, 3 ÷ 4 = 0.75, so the decimal is 2.75.

How long can the repeating part of a decimal be?

For a denominator d the repeating block has at most d − 1 digits, because there are only d − 1 possible non-zero remainders in the long division. 1/7 has a 6-digit block: 0.142857142857…