Fraction to Decimal Converter

Turn a fraction into an exact decimal, with the repeating part marked.

Fraction to Decimal Converter tool

For example 3/7, 22/7, 1 3/4 or -5/8

—
Exact decimal
—
Rounded to 10 places
—
Percent
—
Type of decimal

About the Fraction to Decimal Converter

Some fractions end neatly as decimals, like 3/8 = 0.375, while others repeat forever, like 3/7 = 0.428571428571… This fraction to decimal converter uses exact long division rather than rounded floating point, so it identifies precisely which block of digits repeats, works with mixed numbers and shows the equivalent percentage.

Long division produces one digit at a time from the remainders. Since a remainder is always smaller than the denominator, a remainder must eventually repeat, and from that moment the digits repeat too. If the remainder reaches zero instead, the decimal terminates. That happens exactly when the simplified denominator has no prime factors other than 2 and 5, which is why eighths and fifths terminate while thirds, sevenths and elevenths repeat.

Example: 3/7 = 0.(428571), a block of six digits that repeats forever, about 0.4285714286 or 42.857143%. 1 3/4 = 1.75 exactly, 5/6 = 0.8(3), where only the 3 repeats, and 1/97 has a repeating block 96 digits long. The calculator writes the repeating block in brackets, states its length, and shows the first long division steps so you can follow the method by hand.

To convert back, use the decimal to fraction converter. For percentages of a quantity try the percentage calculator, and for full fraction arithmetic the fraction calculator.

How to use the Fraction to Decimal Converter

  1. Type the fractionEnter 3/7, 22/7, 1 3/4 or -5/8.
  2. Read the exact decimalRepeating digits appear in brackets, such as 0.(428571).
  3. See the rounded value and percentGet the decimal to ten places and as a percentage.
  4. Follow the long divisionSee each step of the division and the length of the repeating block.

Fraction to Decimal Converter features

  • Exact decimal for any fraction
  • Repeating block found and marked in brackets
  • Terminating or repeating, with period length
  • Mixed numbers and negative fractions
  • Rounded to 10 decimal places
  • Percentage conversion
  • Long division steps

Common uses

  • Homework on fractions and decimals
  • Converting inch fractions to decimals
  • Checking repeating decimal patterns
  • Turning test scores into percentages
  • Exploring number theory with long periods

Fractions to decimals in practice: measurements, percentages and repeating patterns

By the FreeToolsWorld editorial team · Updated November 2026 · How we write and check our guides

Converting a fraction to a decimal is a division, but the results reveal interesting patterns: some fractions stop, some repeat with short cycles and some repeat with long ones. Decimals make fractions easy to compare, to enter into calculators and spreadsheets and to turn into percentages. This guide covers measurements, marks and probabilities, the curious behaviour of sevenths and how to handle repeating decimals in practical work.

Division is all it takes

A fraction is a division waiting to happen: 3/8 means 3 divided by 8, which is 0.375. Mixed numbers convert by dividing the fraction part and adding the whole number: 2 5/8 is 2.625. Long division by hand shows each digit as it is produced, which helps when you want to see whether a decimal will repeat.

Measurements in inches

Converting fractional inches to decimals is the first step in converting them to millimetres. A 5/16 inch bolt is 0.3125 inch, which is 7.9375 mm, close to an 8 mm metric bolt but not the same. Drill charts, spanner sizes and engineering drawings often list fractions with their decimal and metric equivalents for exactly this reason.

Marks and percentages

Marks out of a total convert to percentages through a decimal: 17 out of 20 is 0.85, or 85%. For tests with awkward totals, such as 37 out of 45, the decimal 0.8222… gives 82.2%. Converting each mark to a decimal makes results from tests with different totals directly comparable.

Probabilities

Probabilities written as fractions convert the same way. A 3/8 chance is 0.375, or 37.5%, and a 1/6 chance of rolling a particular number on a die is about 0.1667, or 16.7%. Decimal probabilities are easier to compare and to combine in calculations, while fractions are often easier to understand when counting outcomes.

The curious case of sevenths

Sevenths produce one of the prettiest patterns in arithmetic. 1/7 is 0.142857 repeating, and 2/7, 3/7, 4/7, 5/7 and 6/7 use the same six digits in the same cyclic order, just starting at different points: 2/7 is 0.285714 repeating and 3/7 is 0.428571 repeating. The number 142857 is called a cyclic number for this reason. Similar patterns appear for other primes such as 17 and 19, with longer cycles.

A worked example: comparing offers

A shop offers "3 for the price of 2" on one product and "a third off" on another. Paying for 2 out of 3 means paying 2/3 of the normal price, which is 0.6667, or a saving of 1/3, about 33.3%. "A third off" is also 1/3, so the two offers give the same discount per item, provided you actually want three of the first product.

Converting each offer to a decimal saving makes such comparisons clear, especially when offers use different wording.

Repeating decimals in practical work

For everyday use, round repeating decimals to a sensible number of places: 1/3 becomes 0.333 or 33.3%. In spreadsheets, keep fractions as formulas such as =1/3 rather than typing 0.333, so the full precision is kept in later calculations. In exact work, keep the fraction itself until the final step.

Common mistakes

  • Dividing the denominator by the numerator.
  • Rounding repeating decimals too early in a calculation.
  • Converting a mixed number by dividing the whole number as well.
  • Treating a rounded decimal as exact in later steps.

Related tools

To convert the other way, use Decimal to Fraction Converter. For percentages, try Percentage Calculator, and for division with steps, Long Division Calculator.

Fractions in spreadsheets

Typing a fraction such as 1/2 into a spreadsheet cell often turns it into a date, such as 1 February, because the program reads the slash as a date separator. To enter the value as a number, type =1/2, which gives 0.5, or type 0 1/2 with a space, which many spreadsheets store as the fraction one half. Checking the cell's format after typing avoids silent errors in later calculations.

Equivalents worth memorising

A few decimal equivalents come up so often that they are worth learning: 1/8 is 0.125, 3/8 is 0.375, 5/8 is 0.625 and 7/8 is 0.875; 1/3 is about 0.333 and 2/3 about 0.667; 1/6 is about 0.167. With these in mind, many conversions can be done instantly, and sums such as 0.375 + 0.125 = 0.5 become easy to check by recognising 3/8 + 1/8 = 1/2.

Weightings and shares

Course weightings, ownership shares and budget allocations are often given as fractions, such as an exam worth 3/10 of a grade or a partner owning 2/5 of a business. Converting them to decimals, 0.3 and 0.4, makes them ready for multiplication in a calculator or spreadsheet. Checking that all the decimal shares add up to 1 is a quick way to make sure nothing has been missed.

Limits

Conversions are exact, with repeating parts identified; displayed decimals are rounded where they would otherwise be very long.

Frequently asked questions

How do I convert a fraction to a decimal?

Divide the numerator by the denominator. 3/8 = 3 ÷ 8 = 0.375. For a mixed number, convert the fraction part and add the whole number: 2 3/8 = 2.375.

How do I know if a fraction gives a repeating decimal?

Simplify it, then factor the denominator. If its only prime factors are 2 and 5, the decimal terminates; otherwise it repeats. 7/20 terminates because 20 = 2² × 5, while 1/12 repeats because 12 includes the factor 3.

What is 1/3 as a decimal?

0.333…, written 0.(3) or with a bar over the 3. The 3 repeats forever. Rounded, it is 0.33 to two places or about 33.33%.

What is 1/7 as a decimal?

0.(142857). The six digits 142857 repeat forever. All the sevenths share these digits in rotated order: 2/7 = 0.(285714) and 3/7 = 0.(428571).

How long can the repeating part be?

At most one less than the denominator. 1/7 repeats every 6 digits and 1/17 every 16 digits. When the period is exactly denominator minus one, the denominator is called a full reptend prime.

What is 3/8 as a decimal and a percent?

3/8 = 0.375, which is 37.5%. Eighths always terminate after three decimal places because 8 = 2³. Other common eighths: 1/8 = 0.125, 5/8 = 0.625 and 7/8 = 0.875.

Why are the repeating digits in brackets?

Brackets are an easy way to type a repeat; textbooks often draw a bar over the repeating digits instead. 0.8(3) means 0.8333…, with only the 3 repeating.

How do I convert a fraction to a percent?

Divide the numerator by the denominator and multiply by 100. 3/7 = 0.428571…, so it is about 42.86%. For a fraction over 100, such as 37/100, the percent is simply the numerator: 37%.