Home › Unit Converters › Repeating Decimal to Fraction

Repeating Decimal to Fraction

Convert any repeating (recurring) decimal into an exact fraction. Put the repeating digits in brackets, like 0.1(6) for 0.1666…, or type the decimal with dots and let the tool find the pattern. You get the simplified fraction, mixed number and the algebra behind it.

Last updated:

Input style

Put the repeating digits in brackets: 0.(3), 2.1(45), −0.(142857). You can also type 0.1666... and the pattern is detected.

Digits after the point before the repeat (may be empty)

Enter your values to see the result.
Advertisement
Advertisement

How to use the Repeating Decimal to Fraction

  1. Type the decimal with the repeating digits in brackets, for example 0.1(6) or 3.(142857).
  2. Or switch to separate parts and enter the whole number, non-repeating and repeating digits.
  3. Press Convert; results also update as you type.
  4. Read the simplified fraction and mixed number.
  5. Follow the steps and the back-conversion check.

The algebra method

For a decimal x with a non-repeating digits and a repeating block of b digits:

x = (all digits up to the end of the first block − the digits before the block) ÷ (10ᵃ × (10ᵇ − 1))

The denominator is b nines followed by a zeros. Example: 2.1(45) → (2145 − 21) ÷ 990 = 2124/990 = 118/55.

Common repeating decimals

DecimalFractionDecimalFraction
0.(1)1/90.1(6)1/6
0.(3)1/30.8(3)5/6
0.(6)2/30.08(3)1/12
0.(09)1/110.(142857)1/7
0.(18)2/110.(285714)2/7
0.(27)3/110.(037)1/27
0.(9)10.0(6)1/15

Frequently asked questions

How do you convert a repeating decimal to a fraction?

Let x be the decimal. Multiply x by a power of 10 that shifts one full repeating block past the decimal point, and by another power of 10 that shifts only the non-repeating digits. Subtract the two equations so the repeating tails cancel, then solve for x and simplify. For 0.1(6): 100x = 16.66…, 10x = 1.66…, so 90x = 15 and x = 1/6.

What is 0.333… as a fraction?

0.(3) = 1/3. With x = 0.333…, 10x = 3.333…, and subtracting gives 9x = 3, so x = 3/9 = 1/3.

Is 0.999… really equal to 1?

Yes. With x = 0.999…, 10x = 9.999…, so 9x = 9 and x = 1. Two different decimal expansions can name the same number, and 0.(9) is another way to write 1.

Is there a quick rule for purely repeating decimals?

Yes. If all digits after the point repeat, the fraction is the repeating block over as many 9s as it has digits: 0.(27) = 27/99 = 3/11 and 0.(142857) = 142857/999999 = 1/7.

What if some digits do not repeat?

Write the digits up to the end of the first block minus the non-repeating digits, over 9s followed by 0s. For 0.1(6): (16 − 1)/90 = 15/90 = 1/6. For 2.1(45): (2145 − 21)/990 = 2124/990 = 118/55.

Which fractions give repeating decimals?

A fraction in lowest terms has a terminating decimal only when its denominator has no prime factors other than 2 and 5. Any other prime factor, such as 3, 7 or 11, makes the decimal repeat forever.

How should I type a repeating decimal?

Put the repeating part in round or square brackets: 0.(3), 0.12(34), 5.[6]. You can also type the decimal with three dots, like 0.272727..., and the tool will detect the shortest repeating pattern.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Decimal to Fraction CalculatorTurn decimals and repeating decimals into simplified fractions and mixed numbers.Fraction to Decimal CalculatorConvert fractions and mixed numbers to exact decimals with repeating digits and percent.Simplify Fractions CalculatorReduce any fraction to lowest terms with GCD steps, mixed number, decimal and equivalents.Least Common Denominator CalculatorFind the LCD of two or more fractions and rewrite them as equivalent fractions, with steps.Currency ConverterConvert currencies with live exchange rates.Unit ConverterConvert length, weight, volume, temperature and more.Roman Numeral ConverterConvert numbers to Roman numerals and back, up to 3,999,999.Number to WordsWrite any number in words, including cheque format.Words to NumberConvert written English number words back into digits.Ordinal Number GeneratorTurn numbers or ranges into ordinals like 1st, 2nd, 3rd or first.Time Zone Abbreviations & UTC OffsetsLook up time zone abbreviations like EST, CET or IST and their UTC offsets.Shoe Size ConverterConvert US, UK, EU and JP shoe sizes for men, women and kids, or size from foot length.Clothing Size ConverterConvert women's, men's and kids' clothing sizes between US, UK, EU, IT, FR, JP and AU.Ring Size ConverterConvert US, UK, EU and JP ring sizes, find a size from diameter, and print a ring sizer.Bra Size CalculatorFind your bra size from two measurements and convert it between US, UK, EU, FR and AU sizes.Paper Size ReferenceA, B, C, US and ANSI paper sizes in mm, inches, points and pixels at any DPI, with a visual compare.km/L to MPGConvert kilometers per liter to miles per gallon and back, with formula steps.Paper Weight ConverterConvert gsm to lb bond, text, cover and index paper weights, with a thickness guide.UK MPG to US MPGConvert UK miles per gallon to US miles per gallon and back, with formula steps.Fraction to PercentConvert a fraction or mixed number to a percentage and decimal, with repeating digits and steps.Percent to FractionConvert any percentage, including decimals like 12.5%, to a simplified fraction and mixed number.Asian Size Chart ConverterConvert Asian and China clothing sizes (S–5XL, 160/84A) to US, UK and EU sizes from your chest.Baby Clothing Size ConverterConvert baby sizes (preemie, NB, 0–3M to 24M) to weight, length, EU cm and UK sizes.Beaufort Scale ConverterConvert wind speed in mph, km/h, knots or m/s to Beaufort force with sea and land signs.Blood Sugar ConverterConvert blood glucose between mg/dL and mmol/L and see where the reading falls.Bra Sister Size CalculatorFind bra sister sizes (band up, cup down and band down, cup up) with a full sister-size grid.Bra Size ConverterConvert bra sizes between US, UK, EU, French, Australian and Japanese sizing.CAD to USDConvert Canadian dollars to US dollars at the daily ECB reference rate, with a 30-day chart.Coordinate ConverterConvert GPS coordinates between decimal degrees, DMS, DDM, UTM and MGRS, auto-detected.Crochet Hook Size ConverterConvert crochet hooks between mm, US letters and UK sizes, incl. steel hooks and yarn pairing.Decimal to Percent ConverterTurn decimals into percentages with the rounding you choose; convert a list at once.Drill Bit Size ConverterConvert drill bits between fractional, number, letter and metric sizes with decimal inches.EU to US Shoe SizeConvert EU shoe sizes to US men's, women's and kids' sizes, plus UK and foot length.EUR to USDConvert euros to US dollars at the daily ECB reference rate, with a 30-day chart.Font Size ConverterConvert font sizes between px, pt, em, rem, % and vw, with a 6–72px chart and CSS.Fuel Economy ConverterConvert US MPG, UK MPG, L/100km, km/L and mi/L, and compare two vehicles' fuel costs.GBP to USDConvert British pounds to US dollars at the daily ECB reference rate, with a 30-day chart.Hat Size ConverterConvert head circumference to US, UK and EU fitted hat sizes and S–XXL, with kids' sizes.mmol/L to mg/dLConvert glucose, cholesterol and triglycerides from mmol/L to mg/dL with reference ranges.Million Billion Trillion ConverterConvert thousands, millions, billions and trillions, with full numbers, zeros and words.Percent to Decimal ConverterConvert percentages to decimals and fractions, one value or a whole list, with steps.Scale ConverterConvert real sizes to model or drawing scale and back: 1:87 HO, 1:24, 1/4" = 1' and more.Sheet Metal Gauge ConverterSheet metal gauge to inches and mm for steel, galvanized, stainless and aluminum, and back.USD to CADConvert US dollars to Canadian dollars at the daily ECB reference rate, with a 30-day chart.USD to EURConvert US dollars to euros at the daily ECB reference rate, with a 30-day chart.USD to GBPConvert US dollars to British pounds at the daily ECB reference rate, with a 30-day chart.USD to INRConvert US dollars to Indian rupees with daily ECB rates, lakh/crore and a 30-day chart.USD to JPYConvert US dollars to Japanese yen with daily ECB rates, amount tables and a 30-day chart.USD to MXNConvert US dollars to Mexican pesos at the daily ECB reference rate, with a 30-day chart.SAE to Metric Wrench ConverterConvert SAE wrench and socket sizes to metric mm and back, with interchangeable sizes flagged.Climbing Grade ConverterConvert climbing grades between YDS, French, UIAA and Ewbank, and bouldering V-scale to Font.Satoshi to Bitcoin ConverterConvert sats to BTC, mBTC, bits and msat and back, with optional USD at your own price.Add Commas to NumbersFormat numbers with thousands separators (comma, space or period), or remove them, in bulk.Capacitance ConverterConvert F, mF, µF, nF and pF, and encode or decode 3-digit capacitor codes like 104.Lat Long to UTMConvert latitude/longitude (decimal or DMS) to UTM zone, easting and northing, one or in bulk.UTM to Lat LongConvert UTM zone, easting and northing (WGS84) to latitude/longitude in decimal and DMS, or a CSV batch.Engineering Notation ConverterConvert numbers to engineering notation with SI prefix, scientific notation and standard form.Excel Column Letter to NumberConvert spreadsheet column letters (A, AA, XFD) to numbers and back, one or many at once.Improper Fraction to Mixed NumberTurn improper fractions into simplified mixed numbers with long division and a bar model.Men's Suit Size ConverterConvert men's suit and blazer sizes between US/UK, EU and Italian from chest, height and drop.Jeans Size ConverterConvert jeans sizes between W/L waist inches, women's US, UK, EU and S–XL for men and women.Kids Clothing Size ConverterConvert kids' clothing sizes between US 2T–16, UK age and EU height sizes by height and weight.Knitting Needle Size ConverterConvert knitting needle sizes between US, metric mm and old UK, with yarn weight suggestions.Lumber Size ConverterConvert nominal lumber sizes (2×4, 4×4, 1×6…) to actual dimensions in inches and mm.Men's to Women's Shoe SizeConvert men's shoe sizes to women's (and back) in US, UK and EU, with foot length.Metric Prefix ConverterConvert between SI prefixes (nano, micro, milli, kilo, mega, giga…) for any unit.mg/dL to mmol/LConvert glucose, cholesterol and triglyceride results from mg/dL to mmol/L.Mixed Number to Improper FractionConvert mixed numbers to improper fractions and back, with steps and a pie model.
See all 67 Fuel Economy & Other Converters →