How to convert a fraction to a decimal
Every fraction is a division written in a compact form. The fraction a/b means “a divided by b”, so converting 5/8 to a decimal is just the question: how much is 5 divided by 8?
Method 1: divide the numerator by the denominator
Divide the top number by the bottom number. When the division does not finish in one step, continue with long division: multiply the remainder by 10, write down the next digit of the quotient, and repeat. The digits you write after the decimal point are the decimal expansion of the fraction.
Method 2: change the denominator to 10, 100 or 1,000
If the denominator divides evenly into a power of ten, you can scale the fraction instead of dividing. Multiply the numerator and the denominator by the same number so the denominator becomes 10, 100, 1,000 and so on, then read the decimal straight off the numerator.
This shortcut only works when the reduced denominator has no prime factors other than 2 and 5. For 1/3, 1/6 or 5/12 there is no such multiplier, so long division takes over and the digits start to repeat.
Mixed numbers and negative fractions
For a mixed number such as 2 3/4, convert it to an improper fraction first: 2 3/4 = (2 × 4 + 3)/4 = 11/4, and then 11 ÷ 4 = 2.75. The whole-number part of the mixed number becomes the whole-number part of the decimal, and only the fraction part is divided.
For a negative fraction the sign simply travels with the answer: −7/4 = −1.75. A negative denominator is a double negative, so 1/−2 = −0.5 and −1/−2 = 0.5. This calculator normalises the sign automatically and shows the fraction with a positive denominator.
Terminating and repeating decimals
Write the fraction in lowest terms first. Then look only at the denominator.
Terminating decimals
If the reduced denominator is built only from the prime factors 2 and 5, the decimal stops. Such a denominator always divides some power of ten, so the fraction can be rewritten with 10, 100, 1,000 … underneath and the decimal is finite. Examples: 1/2 = 0.5, 1/4 = 0.25, 3/8 = 0.375, 7/20 = 0.35.
Repeating decimals
If the reduced denominator has any prime factor other than 2 or 5 — a 3, a 7, an 11 — the decimal can never stop. The long division runs out of new remainders: once a remainder appears a second time, the digits are forced to repeat from that point forever. Examples: 1/3 = 0.(3), 1/6 = 0.1(6), 5/12 = 0.41(6), 1/7 = 0.(142857).
Two notations are used on this page. Parentheses are the reliable plain-text form, with the repeating block inside them: 0.41(6). The overbar form is the classic textbook notation, with a line drawn over the digits that repeat.
Repeating is not the same as rounded
A rounded decimal is an approximation you choose; a truncated decimal is a cut-off approximation the tool falls back on when a cycle is too long to display. Neither is the same thing as a repeating decimal, which has an exact value. 1/3 is exactly 0.333…, not 0.333 — and rounding it to six places gives 0.333333, which is only an approximation.
Common fraction-to-decimal conversions
The table below covers the fractions people look up most often. Repeating blocks are shown in parentheses.
| Fraction | Division | Decimal | Type |
|---|---|---|---|
| 1/2 | 1 ÷ 2 | 0.5 | Terminating |
| 1/3 | 1 ÷ 3 | 0.(3) | Repeating |
| 2/3 | 2 ÷ 3 | 0.(6) | Repeating |
| 1/4 | 1 ÷ 4 | 0.25 | Terminating |
| 3/4 | 3 ÷ 4 | 0.75 | Terminating |
| 1/5 | 1 ÷ 5 | 0.2 | Terminating |
| 1/6 | 1 ÷ 6 | 0.1(6) | Repeating |
| 5/6 | 5 ÷ 6 | 0.8(3) | Repeating |
| 1/7 | 1 ÷ 7 | 0.(142857) | Repeating |
| 1/8 | 1 ÷ 8 | 0.125 | Terminating |
| 3/8 | 3 ÷ 8 | 0.375 | Terminating |
| 5/8 | 5 ÷ 8 | 0.625 | Terminating |
| 7/8 | 7 ÷ 8 | 0.875 | Terminating |
| 1/10 | 1 ÷ 10 | 0.1 | Terminating |
| 1/12 | 1 ÷ 12 | 0.08(3) | Repeating |
| 5/12 | 5 ÷ 12 | 0.41(6) | Repeating |
| 1/16 | 1 ÷ 16 | 0.0625 | Terminating |
| 7/16 | 7 ÷ 16 | 0.4375 | Terminating |
| 22/7 | 22 ÷ 7 | 3.(142857) | Repeating |
Frequently asked questions
How do I convert a fraction to a decimal?
Divide the numerator by the denominator. For 5/8, divide 5 by 8 to get 0.625. If the division does not finish, keep going with long division until the remainder becomes zero or starts to repeat.
How do you convert a fraction to a decimal without a calculator?
Use long division on paper: the denominator goes outside the bracket, the numerator inside. Bring down a zero after the decimal point whenever you have a remainder, and record each quotient digit. If the denominator is 2, 4, 5, 8, 20, 25, 40 or 50, you can instead scale the fraction to a denominator of 10, 100 or 1,000 and read the decimal directly.
How do you write a fraction as a decimal when it repeats?
Write the digits that repeat and put them in parentheses: 1/3 = 0.(3), 1/6 = 0.1(6), 5/12 = 0.41(6). The overbar notation, with a line over the repeating block, is the same idea in textbook form.
What is 3/8 as a decimal?
3/8 = 0.375. The denominator 8 is 2³, so the decimal terminates after three places.
What is 5/12 as a decimal?
5/12 = 0.41(6). Long division gives remainders 5, 2, 8, 8, and the return of the remainder 8 forces the digit 6 to repeat forever.
What is 1/7 as a decimal?
1/7 = 0.(142857). The repeating block has six digits, the longest possible cycle for a denominator of 7, and rounding it to six places gives 0.142857.
How do you convert a mixed number to a decimal?
Convert the mixed number to an improper fraction, then divide. For 2 3/4: (2 × 4 + 3)/4 = 11/4 = 2.75. Equivalently, keep the whole number 2 and convert the fraction 3/4 to 0.75, then add the two parts.
Why does a fraction produce a repeating decimal?
Because long division only has finitely many possible remainders (one for each value below the denominator). Once a remainder reappears, every following digit repeats in the same order, so the decimal runs in a cycle. A terminating decimal happens only when the reduced denominator is made of 2s and 5s alone.