Fraction to decimal: what is a fraction as a decimal?
Type a fraction such as 3/8 or 1 3/4 to see it as a decimal. Repeating digits get a bar over them, and you see why the decimal ends or goes on forever.
Fraction to decimal calculator
I want to write 3/8 as a decimal, rounded to 4 places.
Answer
0.375
3/8 as a decimal is 0.375. It ends after 3 digits. Rounded to 4 places: 0.3750.
- 0.3750Rounded to 4 decimal places
- 37.5%As a percent
- 3/8Already in lowest terms
- EndsAfter 3 digits
Fraction to decimal by long division
- Divide 3 by 8: 3 ÷ 8 = 0 remainder 3. Write 0 and a decimal point.
- Add a 0 to the remainder: 30 ÷ 8 = 3 remainder 6. Digit 1: 3.
- Add a 0 again: 60 ÷ 8 = 7 remainder 4. Digit 2: 7.
- Add a 0 again: 40 ÷ 8 = 5 remainder 0. Digit 3: 5.
- The remainder is 0, so the decimal ends: 0.375.
Every fraction with 8 on the bottom, smaller than 1. The marked row is the part after the whole number in yours.
| Fraction | Decimal | Percent |
|---|---|---|
| 1/8 | 0.125 | 12.5% |
| 2/8 | 0.25 | 25% |
| 3/8 | 0.375 | 37.5% |
| 4/8 | 0.5 | 50% |
| 5/8 | 0.625 | 62.5% |
| 6/8 | 0.75 | 75% |
| 7/8 | 0.875 | 87.5% |
How to use the fraction to decimal calculator
- Fraction: type the top number, a slash and the bottom number, such as 3/8. For a mixed number put a space after the whole number: 1 3/4. A minus sign in front makes it negative.
- Round to: pick 2, 3, 4 or 6 decimal places for the rounded answer. The exact decimal above it does not change.
- Read the answer: digits under a bar repeat forever. The facts below give the rounded value, the percent and whether the decimal ends.
When to turn a fraction to decimal
Use it when a recipe, a drawing or a tape measure gives a fraction and a scale, a spreadsheet or a calculator needs a decimal: 5/8 inch is 0.625 inch, 3/4 cup is 0.75 cup. It also helps with homework, where the question is often whether a fraction gives a decimal that ends or one that repeats, and what the repeating block is.
To go the other way, use the decimal to fraction page. To work with two fractions at once, use the fraction calculator. To show a share as a percent of a total, use the percentage calculator.
Fraction to decimal at a glance
What it does
Divides the top of a fraction by the bottom with exact long division, shows every digit up to 60 places with the repeating block marked, and rounds the result.
Who it's for
Students checking homework, cooks and makers converting measurements, and anyone typing a fraction into a spreadsheet.
Watch out for
A rounded decimal such as 0.3333 is not exactly 1/3. Keep the fraction, or many decimal places, when the answer is used again in a calculation.
How fraction to decimal conversion works
The line in a fraction means "divided by". So to turn a fraction into a decimal, divide the top number (numerator) by the bottom number (denominator). A mixed number such as 1 3/4 is first written as one fraction, 7/4, or you divide only the fraction part and put the whole number in front.
With your numbers: 3 ÷ 8 = 0.375. It ends because the denominator 8 = 2 × 2 × 2 has no prime factors other than 2 and 5.
Whether the decimal stops depends only on the denominator once the fraction is in lowest terms. Our numbers are built on 10 = 2 × 5, so a denominator made of only 2s and 5s (2, 4, 5, 8, 10, 16, 20, 25…) always gives a decimal that ends. Any other prime factor, such as 3, 7 or 11, gives a decimal that repeats forever. In long division you can see why: there are only as many possible remainders as the denominator, so sooner or later one comes back and the same digits follow again. A bar over the repeating digits, like 0.16 for 1/6, is the usual way to write it.
To go the other way, use the decimal to fraction page. To add, subtract, multiply or divide fractions, use the fraction calculator, and to write the decimal as a share of 100, the percentage calculator.
Fraction to decimal: worked examples
What is 5/8 as a decimal?
5 ÷ 8: 50 ÷ 8 = 6 remainder 2, 20 ÷ 8 = 2 remainder 4, 40 ÷ 8 = 5 remainder 0. So 5/8 = 0.625. It ends because 8 = 2 × 2 × 2.
Common mistake: writing 5.8 or 0.58: the slash means divide, not a decimal point.
What is 2/3 as a decimal, to 2 places?
2 ÷ 3 = 0.666… with the 6 repeating forever, written 0.6. To 2 places that is 0.67, because the third digit is 6, so you round up.
Common mistake: cutting it off at 0.66. Rounding looks at the next digit, and a 6 rounds up.
What is 2 3/4 as a decimal?
The fraction part: 3 ÷ 4 = 0.75. Put the whole number in front: 2.75. Or write it as 11/4 and divide: 11 ÷ 4 = 2.75.
Common mistake: dividing 23 by 4 (5.75) because the space was left out.
Does 7/12 give a decimal that ends?
No. 12 = 2 × 2 × 3, and the 3 makes it repeat: 7/12 = 0.583, so 0.58333… with only the 3 repeating.
Common mistake: putting the bar over 583. The 5 and 8 come once; only the 3 repeats.
Fraction to decimal in Excel and Google Sheets
Put the numerator in A2 and the denominator in B2. For a mixed number, put the whole number in C2. A spreadsheet shows about 15 significant digits and cannot mark repeating digits.
Read the table row by row: each row is one cell of your sheet, what to put in it and an example.
| Cell | What goes in it | Example |
|---|---|---|
| A2 | Numerator (top) | 3 |
| B2 | Denominator (bottom) | 8 |
| C2 | Whole number (mixed numbers only) | 1 |
| D2 | Answer (matches your rounding above) | =ROUND(A2/B2,4) |
Fraction to decimal
=A2/B2 Rounded to 4 places
=ROUND(A2/B2,4) Mixed number C2 A2/B2
=C2+A2/B2 As a percent
=A2/B2*100 Fraction typed as text in E2, such as 3/8
=LEFT(E2,FIND("/",E2)-1)/MID(E2,FIND("/",E2)+1,99) Typing 3/8 straight into a cell often turns it into a date (March 8). Type 0 3/8 instead, or format the cell as Fraction first, and Excel and Google Sheets store it as 0.375.
Fraction to decimal: frequently asked questions
How do you convert a fraction to a decimal?
Divide the numerator by the denominator. 3/8 is 3 ÷ 8 = 0.375. On paper, use long division: add a decimal point and zeros after the 3 and keep dividing.
How do I know if a fraction is a terminating decimal?
Simplify the fraction, then look at the denominator. If its only prime factors are 2 and 5, the decimal ends: 7/20 = 0.35. Any other prime factor makes it repeat: 7/30 = 0.2333…
What does the bar over a decimal mean?
The digits under the bar repeat forever. 0.27 means 0.272727…, which is 3/11. Some books use dots over the first and last repeating digit, or brackets: 0.(27).
What is 1/3 as a decimal?
0.333…, with the 3 repeating forever. Rounded, it is 0.33 to 2 places or 0.3333 to 4 places. 2/3 is 0.666…, which rounds to 0.67.
How long can the repeating part be?
Up to one less than the denominator. 1/7 repeats every 6 digits (142857) and 1/17 every 16. This page shows up to 60 digits; for 1/97, with a 96-digit block, it stops there and says so.
Why does another calculator show 0.16666666666667 for 1/6?
Most calculators work with about 15 significant digits and round the last one, so the repeating 6 ends in a 7. This page divides exactly and marks the repeat instead: 0.16.
Other math calculators
- Average calculator
- Decimal to fraction
- Fraction calculator
- Median calculator
- Percent change calculator
- Percent difference calculator
- Percent increase calculator
- Percent off calculator
- Percentage calculator
- Ratio calculator
- Rounding calculator
- Scientific notation calculator
- Simplify fractions calculator
- Square root calculator
- Standard deviation calculator
- Weighted average calculator
Report a problem with this calculator · Sponsor this calculator