How to Convert a Fraction to a Decimal
A fraction is a division waiting to happen: 3/8 means 3 ÷ 8. Dividing the numerator (top) by the denominator (bottom) gives the decimal, so 3 ÷ 8 = 0.375. Some fractions produce terminating decimals that stop, like 1/4 = 0.25. Others produce repeating decimals that go on forever in a pattern, like 1/3 = 0.333… or 1/7 = 0.142857142857…. This converter performs exact long division, so it finds the repeating block precisely, even when it's hundreds of digits long, and marks it with a bar.
How to Use the Converter
- Type a fraction such as 5/12, a mixed number such as 2 3/4, or a whole number.
- Read the decimal, with the repeating part shown with a line above it.
- To go the other way, type a decimal in the second box. For repeating decimals, put the repeating digits in brackets, e.g. 0.(3) for 0.333… or 0.1(6) for 0.1666….
Terminating or Repeating?
There's a neat rule: once a fraction is in simplest form, its decimal terminates if and only if the denominator's only prime factors are 2 and 5. That's because our number system is based on 10 = 2 × 5. So 7/20 terminates (20 = 22 × 5) but 7/30 repeats (30 contains the factor 3). The length of the repeating cycle is always less than the denominator: 1/7 repeats every 6 digits, and 1/17 every 16.
Converting a Decimal to a Fraction
- Terminating decimal: write the digits over a power of 10 and simplify. 0.625 = 625/1000 = 5/8.
- Pure repeating decimal: 0.(36) = 36/99 = 4/11. The repeating digits go over the same number of 9s.
- Mixed repeating decimal: 0.1(6) = (16 − 1)/90 = 15/90 = 1/6. Take the digits up to one full repeat, subtract the non-repeating part, and divide by 9s followed by 0s.
Common Fraction to Decimal Conversions
| Fraction | Decimal | Fraction | Decimal |
|---|---|---|---|
| 1/2 | 0.5 | 1/8 | 0.125 |
| 1/3 | 0.333… | 3/8 | 0.375 |
| 2/3 | 0.666… | 5/8 | 0.625 |
| 1/4 | 0.25 | 1/6 | 0.1666… |
| 3/4 | 0.75 | 1/12 | 0.08333… |
| 1/5 | 0.2 | 1/16 | 0.0625 |
Features
- Exact repeating decimalsFinds the full repeating cycle with long division.
- Mixed numbersAccepts and outputs forms like 2 3/4.
- Decimal to fractionIncluding repeating decimals in bracket notation.
- Always simplifiedFractions reduced to lowest terms.
- PercentagesEvery result also shown as a percent.
- Explains whyTells you whether and why a decimal terminates.
Terminating vs Repeating Decimals
Every fraction becomes either a terminating decimal (it stops, like 3/8 = 0.375) or a repeating decimal (a block of digits repeats forever, like 1/7 = 0.142857142857…). You can predict which one before dividing. Simplify the fraction, then look at the prime factors of the denominator. If they are only 2s and 5s, the factors of 10, the decimal terminates. Any other prime factor (3, 7, 11, 13 and so on) makes it repeat. That's why 1/40 = 0.025 terminates (40 = 2³ × 5), but 1/12 = 0.08333… repeats (12 = 2² × 3).
The length of the repeating block, called the period, can be surprisingly long. 1/7 repeats every 6 digits, 1/17 every 16, and 1/97 every 96 digits. For a prime denominator p, the period always divides p − 1. This converter uses exact long division, keeping track of remainders, so it finds the full repeating cycle however long it is, rather than rounding after a few decimal places as ordinary calculators do.
Converting a Repeating Decimal to a Fraction
Here's the algebra trick behind the decimal-to-fraction mode. Let x = 0.272727…. The repeating block has 2 digits, so multiply by 100: 100x = 27.2727…. Subtract the original: 99x = 27, so x = 27/99 = 3/11. When there's a non-repeating part, as in 0.1666…, multiply to move the non-repeating part left of the point first: 10x = 1.666… and 100x = 16.666…, so 90x = 15 and x = 1/6. Type repeating decimals with brackets, such as 0.(27) or 0.1(6), and the tool does this for you.
The famous result 0.999… = 1 follows from the same method: 10x − x = 9.999… − 0.999… = 9, so x = 1. Enter 0.(9) to see it.
Frequently Asked Questions
What is 1/3 as a decimal?
0.333…, with the 3 repeating forever, written 0.3̅ or 0.(3). Rounded, it's 0.33 or 0.333.
How do I convert 0.625 to a fraction?
0.625 = 625/1000. Divide both by the GCF, 125, to get 5/8.
What is 3/8 as a decimal?
0.375. Divide 3 by 8.
How do I write 0.333… as a fraction?
Enter 0.(3). It equals exactly 1/3.
Is 0.999… equal to 1?
Yes, exactly. Enter 0.(9) and the converter gives 1/1. Since 1/3 = 0.333…, three times it gives 0.999… = 1.
What is 22/7 as a decimal?
3.142857 with "142857" repeating. It's a famous approximation of π (3.14159…).
How do I convert a fraction to a percentage?
Convert to a decimal and multiply by 100: 3/8 = 0.375 = 37.5%.