Skip to main content

Online Calculators and Tools | Calculators Toolbox

Fraction to Decimal Calculator

This fraction to decimal calculator converts any fraction instantly, marking repeating digits with a bar.

Home / Fraction to Decimal Calculator
Fraction to Decimal Calculator illustration showing a fraction card transforming into a decimal card with a glowing arrow between them, beside a tape measure

Convert a fraction to a decimal, including repeating decimals.

How to Use the Fraction to Decimal Calculator

Calculators, spreadsheets and price tags all speak in decimals, while recipes, rulers and school worksheets often speak in fractions. Moving between the two is something most of us have to do more often than we expect. This fraction to decimal calculator converts any fraction into a decimal, spots repeating decimals and marks them properly, and gives you the percent as a bonus.

  • Type the numerator, the top number of the fraction.
  • Type the denominator, the bottom number.
  • Read the decimal straight away. If the digits repeat forever, the repeating part is shown with a bar over it, just as your math teacher would write it.

You'll also see a rounded version (six decimal places) and the percentage. Got a mixed number such as 2 3/8? Convert it to 19/8 first, or simply convert 3/8 and add the 2 to the result.

How to Convert a Fraction to a Decimal

A fraction is really a division problem in disguise. The line between the two numbers means "divided by." So to convert a fraction into a decimal:

Decimal = Numerator ÷ Denominator

Example: 3/8 = 3 ÷ 8 = 0.375.

That's the whole method. The interesting part is what the answer looks like. Some fractions give a decimal that stops (0.375), and others give one that goes on forever in a repeating pattern (0.333…).

Long Division Walkthrough

If you need to do it by hand, long division is the way. Here is 5/12, the default example in the calculator.

  • 12 doesn't go into 5, so write 0 and a decimal point, then bring down a zero to make 50.
  • 12 goes into 50 four times (48). Remainder 2. Decimal so far: 0.4
  • Bring down a zero: 20. 12 goes in once (12). Remainder 8. Decimal: 0.41
  • Bring down a zero: 80. 12 goes in six times (72). Remainder 8. Decimal: 0.416
  • The remainder is 8 again, so the 6 will repeat forever.

The answer is 0.41666…, written as 0.416. The calculator follows exactly this process, watching for a remainder it has already seen. As soon as one comes back, it knows the digits from that point onward will repeat.

Terminating vs. Repeating Decimals

Here's a neat fact that lets you predict the result before you divide. Simplify the fraction first, then look at the denominator:

  • If its only prime factors are 2 and/or 5, the decimal terminates (stops). Examples: 1/4, 3/8, 7/20, 9/50.
  • If it has any other prime factor (3, 7, 11 and so on), the decimal repeats. Examples: 1/3, 5/6, 2/7, 4/11.

Why 2 and 5? Because our number system is base 10, and 10 = 2 × 5. Any fraction whose denominator divides evenly into a power of 10 (10, 100, 1,000…) can be written as an exact decimal.

Common Fractions as Decimals

Keep this table handy. These are the conversions people look up most.

FractionDecimalPercentType
1/20.550%Terminating
1/30.333…33.33%Repeating
2/30.666…66.67%Repeating
1/40.2525%Terminating
3/40.7575%Terminating
1/50.220%Terminating
1/60.1666…16.67%Repeating
1/70.142857142857…14.29%Repeating (6 digits)
1/80.12512.5%Terminating
3/80.37537.5%Terminating
5/80.62562.5%Terminating
1/90.111…11.11%Repeating
1/120.08333…8.33%Repeating
1/160.06256.25%Terminating

A fun pattern: any number over 9 repeats that digit (4/9 = 0.444…), and any two-digit number over 99 repeats those two digits (27/99 = 0.2727…).

Fractions of an Inch in Decimals

Machinists, engineers and anyone using a digital caliper often need to switch between fractional and decimal inches. Here are the eighths and some common sixteenths:

Fraction (inch)Decimal (inch)Millimeters
1/160.06251.5875
1/80.1253.175
3/160.18754.7625
1/40.256.35
3/80.3759.525
1/20.512.7
5/80.62515.875
3/40.7519.05
7/80.87522.225

When Decimals Are More Useful Than Fractions

Money. Prices are always decimals. If a share of a $90 bill is 2/7, you need 0.2857 × 90 = $25.71.

Spreadsheets and calculators. Most software handles decimals far more easily than fractions.

Comparing values. Is 5/9 bigger than 4/7? As decimals (0.556 vs. 0.571), the answer is obvious.

Grades and statistics. A score of 17/20 reads better as 0.85, or 85%.

Rounding Repeating Decimals

A repeating decimal never ends, so in practice you round it. How many places you keep depends on the job. Money needs two decimal places, so 1/3 of $100 is $33.33. Science homework often asks for three or four significant figures. Engineering tolerances might need four or five places. The calculator shows the exact pattern and a six-decimal rounded value, so you can pick whatever precision you need.

From Fraction to Decimal to Percent

Once you have the decimal, getting the percentage is one more small step: multiply by 100, which just moves the decimal point two places to the right. So 3/8 = 0.375 = 37.5%, and 5/12 = 0.41666… ≈ 41.67%. That's why the calculator shows all three together. Teachers often ask students to fill in fraction, decimal and percent tables, and grade books, survey results and sports statistics switch between the three all the time. A batting average of .312, for example, is just a decimal version of hits divided by at-bats.

Converting Fractions in Excel or Google Sheets

Spreadsheets treat a fraction as a division, so typing =5/12 into a cell returns 0.416666667. If you type 5/12 without the equals sign, many spreadsheets will read it as a date (May 12), which catches a lot of people out. To show a decimal as a fraction instead, use Format → Number → Fraction in Excel or a custom format like # ?/? in Google Sheets. For repeating decimals, remember that the spreadsheet rounds after about 15 significant digits, so the pattern won't go on forever the way it does on paper.

Final Thoughts

Converting a fraction to a decimal is just division, but knowing whether the result will stop or repeat, and how to write it properly, takes a little more thought. This fraction to decimal calculator does the long division for you, marks repeating digits clearly and gives the percentage too. Use it for homework, recipes, workshop measurements or splitting bills.

Frequently Asked Questions

Quick answers to common questions related to Fraction to Decimal Calculator are as under:-

How do you convert a fraction to a decimal?

Divide the numerator by the denominator. For 7/20, work out 7 ÷ 20 = 0.35.

What is 5/8 as a decimal?

5/8 = 5 ÷ 8 = 0.625. As a percentage, that is 62.5%.

How do I know if a fraction will be a repeating decimal?

Simplify the fraction and look at the denominator. If it has a prime factor other than 2 or 5, the decimal repeats. For example, 3/14 repeats, because 14 = 2 × 7.

What does the bar over a decimal mean?

The bar (called a vinculum) marks the digits that repeat forever. 0.16 means 0.16666… with the 6 repeating.

How do I convert a mixed number to a decimal?

Convert the fraction part and add the whole number. For 4 3/4, 3 ÷ 4 = 0.75, so the answer is 4.75.

Can I add this fraction to decimal calculator to my website?

Yes, it is free. Click Copy Embed Code, paste the code into an HTML block, and keep the small credit link in place.

Latest from Our Blog

Explore helpful tips, updates, and guides on calculators, AI tools, and conversions.