CalSolve

Fraction to Decimal Converter

Convert a fraction to a decimal, repeating digits included, or turn any decimal, even a repeating one, back into a simplified fraction.

Decimal

0.16

The digits under the bar repeat forever.

Fraction

16

Percentage
16.666667%

Steps

  1. 1Divide the numerator by the denominator: 1 ÷ 6 = 0.16666667…
  2. 2The block 6 repeats forever: 0.1(6)

About this tool

To convert a fraction to a decimal, divide the numerator by the denominator: 3/8 = 3 ÷ 8 = 0.375. Some divisions never end: 1/6 = 0.1666…, where the 6 repeats forever. The calculator detects the repeating block, called the period, and writes it in parentheses or with a bar over it: 1/6 = 0.1(6) and 1/7 = 0.(142857).

A fraction in lowest terms has a terminating decimal only if its denominator has no prime factors other than 2 and 5. That's why 3/8 and 7/20 end, while 1/3, 1/6 and 1/7 repeat. Conversely, every repeating decimal is a fraction, which is what makes it a rational number.

To turn a decimal into a fraction, write it over a power of 10 and simplify: 0.75 = 75/100 = 3/4. For a repeating decimal, a subtraction removes the period. With x = 0.1666…, 100x − 10x = 16.666… − 1.666… = 15, so x = 15/90 = 1/6. Type the period in parentheses, for example 0.(3) for 0.333… or 1.2(45) for 1.24545…

Worked example

  1. 1Choose the direction: fraction to decimal, or decimal to fraction.
  2. 2Enter the numerator and the denominator, or a decimal number with its repeating digits in parentheses.
  3. 3Read the decimal, the simplified fraction, the mixed number and the percentage, with the steps. Example: 1.2(45) = 137/110.

Formula

a/b = a ÷ b ; 0.d₁d₂…dₖ = d₁d₂…dₖ / 10ᵏ ; 0.(p) = p / (10ᵐ − 1), where m is the number of digits in the period p

Related tools

Frequently asked questions

How do I convert a fraction to a decimal?
Divide the numerator by the denominator. For example, 5/8 = 5 ÷ 8 = 0.625, and 2/3 = 0.666…, which is written 0.(6).
How do I convert a repeating decimal to a fraction?
Put the period over as many 9s as it has digits, then simplify: 0.(3) = 3/9 = 1/3 and 0.(27) = 27/99 = 3/11. If digits come before the period, the calculator subtracts them first, as in 0.1(6) = (16 − 1)/90 = 1/6.
Why doesn't 1/3 have an exact decimal value?
Because 3 doesn't divide any power of 10: the long division keeps leaving the same remainder, 1, so the digit 3 comes back forever. Only fractions whose denominator has no prime factors other than 2 and 5 have a finite decimal expansion.
Is 0.999… equal to 1?
Yes. With the same method, 0.(9) = 9/9 = 1. Another way to see it: 1/3 = 0.333…, and 3 × 1/3 = 1, while 3 × 0.333… = 0.999…
How do I convert a fraction to a percentage?
Convert it to a decimal and multiply by 100: 3/8 = 0.375 = 37.5%. The calculator shows the percentage directly under the result.