How to use the fraction to decimal calculator
Type a fraction with a slash, such as 5/12, or a mixed number with a space between the whole part and the fraction, such as 2 5/6. The decimal appears straight away. If it repeats, the result shows the first digits followed by “…”, and the stats give the exact form in bracket notation, such as 0.41(6), and bar notation, where a line is drawn over the repeating digits. Pick how many places you want in the rounded value. Open the long division table to see every digit being worked out. Everything is calculated with exact whole numbers in your browser, so the digits are right even far past the 16 digits an ordinary calculator keeps.
How to convert a fraction to a decimal
A fraction is a division: the numerator divided by the denominator. To convert it, divide the top by the bottom using long division. Each time a remainder is left, bring down a zero and divide again; every division gives one more decimal digit. For the default example:
- Divide 5 by 12: it goes 0 whole times with remainder 5.
- Keep bringing down a zero. A remainder comes back after 3 decimal places, so from decimal place 3 the block 6 repeats forever.
- Why it repeats: take the 2s and 5s out of 12 and 3 is left, so no power of 10 divides evenly by 12.
So 5/12 = 0.4166666666…, with 6 repeating forever.. Rounded to 4 places that is 0.4167, and as a percent 41.67%.
A fraction that ends cleanly works the same way. 3/8 = 0.375 exactly. The working is short:
- Divide 3 by 8: it goes 0 whole times with remainder 3.
- Keep bringing down a zero. The remainder reaches 0 after 3 decimal places, so the decimal stops.
- Why it stops: 8 has no prime factors other than 2 and 5, the factors of 10.
Terminating and repeating decimals
Every fraction gives a decimal that either stops (a terminating decimal) or falls into a block of digits that repeats forever (a repeating or recurring decimal). There is no third option, because the long division can only produce remainders smaller than the denominator; once a remainder comes back, the digits after it come back too.
Which one you get depends only on the denominator in lowest terms. If its only prime factors are 2 and 5, the factors of 10, the decimal stops: 1/2, 3/8, 7/20 and 9/40 all end. Any other prime factor makes it repeat: 1/3, 5/12 and 1/7 all repeat. The calculator tells you which factor is responsible. Simplify first, though: 18/24 looks like it has a 3 in the denominator, but it equals 3/4, so 3/4 = 0.75 exactly.
The repeating block can be long: 1/7 = 0.1428571428…, with 142857 repeating forever.. For a prime denominator p the block is at most p − 1 digits long, and 1/97 reaches that limit. Its block is 010309278350515463917525… (96 digits).
Common fractions as decimals
| Fraction | Decimal | Fraction | Decimal |
|---|---|---|---|
| 1/2 | 0.5 | 1/8 | 0.125 |
| 1/3 | 0.(3) = 0.333… | 3/8 | 0.375 |
| 2/3 | 0.(6) = 0.666… | 5/8 | 0.625 |
| 1/4 | 0.25 | 7/8 | 0.875 |
| 3/4 | 0.75 | 1/9 | 0.(1) = 0.111… |
| 1/5 | 0.2 | 1/10 | 0.1 |
| 1/6 | 0.1(6) = 0.1666… | 1/11 | 0.(09) = 0.0909… |
| 1/7 | 0.(142857) | 1/12 | 0.08(3) = 0.08333… |
| 5/6 | 0.8(3) = 0.8333… | 1/16 | 0.0625 |
Ninths are a handy pattern: n/9 is 0.nnn…, so 4/9 = 0.444…. Elevenths repeat in two-digit blocks that are multiples of 09: 2/11 = 0.1818…, 3/11 = 0.2727….
Mixed numbers and negative fractions
A mixed number is converted by keeping the whole part and converting only the fraction, or, as the calculator does, by first making it an improper fraction. 17/6 = 2.8333333333…, with 3 repeating forever. Rounded to 2 places it is 2.83. A negative fraction simply gets a minus sign in front of the decimal: −7/9 = −0.777….
To go the other way, from a decimal (even a repeating one) back to a fraction, use the decimal to fraction calculator. To add or multiply fractions before converting, use the fraction calculator, and to round a long decimal in a specific way (up, down, half to even) use the rounding calculator.
Writing repeating decimals
There are three common ways to write a repeating decimal, and the calculator shows all of them:
- Ellipsis: 0.41666…, which shows the pattern but is not exact on its own.
- Bar notation: a line (vinculum) over the repeating digits, the usual form in school maths in the US and UK.
- Brackets: 0.41(6), common in Europe and easy to type.
Some textbooks use dots over the first and last repeating digit instead of a bar. They all mean the same number. When you round a repeating decimal, state the number of places, because 0.4167 and 0.41667 are both correct roundings of 5/12.
Related calculators and converters
Fraction to decimal calculator FAQ
How do you turn a fraction into a decimal?
Divide the numerator by the denominator. 3/8 = 3 ÷ 8 = 0.375. If the division never ends, the digits fall into a block that repeats.
What is 5/12 as a decimal?
5/12 = 0.4166666666…, with the 6 repeating forever. Rounded to 4 places it is 0.4167.
How can I tell if a fraction will give a repeating decimal?
Simplify the fraction, then factor the denominator. If it has only 2s and 5s the decimal stops; any other prime factor, such as 3 or 7, makes it repeat.
What is 1/7 as a decimal?
1/7 = 0.142857142857…, where the six digits 142857 repeat forever.
How do I convert a mixed number to a decimal?
Keep the whole number and convert only the fraction part, then add them. 2 5/6 = 2 + 0.8333… = 2.8333….
What does the line over a decimal mean?
It marks the digits that repeat forever. 0.1 with a bar over the 6, written 0.16̅, means 0.16666…, the same as 0.1(6) in bracket notation.
Is the decimal exact?
Yes. The calculator uses exact whole-number long division, so every digit shown is correct; only the rounded value is rounded.