Skip to main content
Calculator Fractions

Fraction to Repeating Decimal Calculator

Convert fractions to recurring decimals.

Decimals & Percents

Use the Fraction to Repeating Decimal Calculator

Result
—

How Fraction to Repeating Decimal Calculator Works?

The Fraction to Repeating Decimal Calculator works in 5 steps: it reads the fraction, divides the numerator by the denominator, shows 6 decimal places, exposes the repeating block, and lets the user write the decimal in bar notation.

  1. Enter the fraction

    Type the numerator and denominator. For 5/18, enter 5 over 18.

  2. Press Calculate

    The calculator divides 5 by 18 and shows 0.277778, with the percentage 27.78% below.

  3. Account for the rounded last digit

    The sixth digit is rounded, so the 8 at the end stands for a 7 that continues forever. The true decimal is 0.27777...

  4. Find the repeating block

    The digit 2 appears once, and the digit 7 repeats. The repeating block, called the repetend, is 7.

  5. Write bar notation

    Place the repetend in parentheses or under a bar: 5/18 = 0.2(7).

Fraction to Repeating Decimal Calculator Formula

The fraction to repeating decimal formula splits the denominator as d = 2^a × 5^b × q: the decimal has max(a, b) non-repeating digits, and the repeating block length equals the smallest p with 10^p − 1 divisible by q.

Non-repeating digits

k = max(a, b), d = 2^a × 5^b × q

Factor out every 2 and 5 from the reduced denominator. 1/12 has 12 = 2^2 × 3, so 2 digits come before the repeat: 0.08(3).

Period length

p = smallest p with (10^p − 1) mod q = 0

The block length is the first p where 9, 99, 999, ... is divisible by q. For q = 37, 999 = 37 × 27, so p = 3.

Maximum period

p ≤ q − 1

The repeating block never exceeds q − 1 digits. 1/17 reaches the maximum with a 16-digit block.

Worked example: 7/22

  1. Factor the denominator: 22 = 2 × 11, so a = 1, b = 0, and q = 11. The decimal has 1 non-repeating digit.
  2. Find the period for q = 11: 99 = 11 × 9, so the block has 2 digits.
  3. Divide: 70 ÷ 22 = 3 remainder 4; 40 ÷ 22 = 1 remainder 18; 180 ÷ 22 = 8 remainder 4.
  4. The remainder 4 appears again, so the digits 1 and 8 repeat.
  5. Write the answer: 7/22 = 0.31818... = 0.3(18).

Fraction to Repeating Decimal Calculator Conversion Table

The fraction to repeating decimal conversion table lists 13 fractions with the decimal in bar notation, the repetend, the period length, and the count of non-repeating digits.

FractionExpanded DecimalBar NotationRepetendPeriod LengthNon-Repeating Digits
1/30.3333...0.(3)310
1/60.1666...0.1(6)611
2/150.1333...0.1(3)311
5/180.2777...0.2(7)711
1/120.08333...0.08(3)312
3/110.2727...0.(27)2720
4/330.1212...0.(12)1220
7/220.31818...0.3(18)1821
1/370.027027...0.(027)02730
11/270.407407...0.(407)40730
5/70.714285714285...0.(714285)71428560
7/130.538461538461...0.(538461)53846160
1/170.0588235294117647...0.(0588235294117647)0588235294117647160

What is Fraction to Repeating Decimal Calculator?

A Fraction to Repeating Decimal Calculator is a free online tool that divides a fraction and shows the recurring digit pattern of the decimal result.

A fraction in lowest terms gives a repeating decimal, if its denominator has a prime factor other than 2 or 5. The repeating digits form a block called the repetend. Bar notation writes the repetend once, under a bar or inside parentheses, so 3/11 becomes 0.(27) instead of 0.272727...

The calculator shows 6 decimal places, which covers every repetend of up to 6 digits, including 5/7 and 7/13. The period rules on this page give the exact block length for longer patterns such as the 16-digit block of 1/17.

What are the uses of Fraction to Repeating Decimal Calculator?

The Fraction to Repeating Decimal Calculator has 5 main uses, including bar notation homework, pattern study, and rounding decisions.

  • Complete bar notation homework

    Students in grades 7 and 8 write answers such as 2/15 = 0.1(3) with the bar over the correct digit.

  • Study number patterns

    Learners compare 1/7 and 5/7 and see that both share the digits 142857 in a rotated order.

  • Decide rounding places

    Analysts see that 4/33 repeats 12 and round to 0.1212 at 4 places without guessing the next digit.

  • Explore number theory

    Advanced students test the period rule on primes such as 13, 17, and 37 and record the block lengths 6, 16, and 3.

  • Write exact exam answers

    Test takers replace rounded answers with exact bar notation, which earns full marks on most mark schemes.

Related Decimals & Percents Tools

View all 270 tools →