Decimal to Fraction Converter - Terminating & Repeating Solver

Free online Decimal to Fraction Converter. Convert terminating and repeating decimals into reduced proper fractions, mixed numbers, and step-by-step math breakdowns.

AI Quick Summary

Definition & Purpose:

The Decimal to Fraction Converter changes terminating and repeating decimals into simplified proper or mixed fraction equivalents with exact step-by-step math.

When to Use:

Use this converter to turn measurement decimals into precise fractions or to simplify recurring decimal math.

Key Takeaway Insights:

  • Supports a Terminating Decimal mode (for example, 0.375 → 3/8) and a Repeating Decimal mode (for example, 0.333... → 1/3).
  • Reduces every raw fraction to lowest terms using the Greatest Common Factor (GCF, also called GCD).
  • Displays a mixed-number equivalent for decimals greater than 1, such as 2.75 → 11/4 = 2 3/4.
  • Verifies each conversion by dividing the resulting fraction back out to a decimal, which should match the original input.

Decimal Value

Fraction Output

Reduced Fraction3 / 8
Verification (Decimal Equivalent)0.375
Share or Export Results

Introduction

Decimal to Fraction Converter – Terminating & Repeating Guide

Converting decimals into fractions is an essential mathematical skill used in woodworking, engineering, cooking, and algebra. Decimals represent parts of a whole using powers of 10 (0.1, 0.01, 0.001), while fractions express those same parts as exact ratios of two integers. This calculator converts both terminating decimals and repeating decimals into reduced proper fractions and mixed numbers.

Terminating vs. Repeating Decimals

Terminating decimals end cleanly after a finite number of digits — examples include 0.2, 0.375, 0.625, and 2.75. Repeating decimals continue infinitely in a repeating pattern after the decimal point — examples include 0.333..., 0.1818..., and 0.142857...

How to Convert Terminating Decimals to Fractions

  1. Count decimal digits (k): identify how many digits follow the decimal point.
  2. Set the denominator: the denominator is 10^k — 10 for one digit, 100 for two digits, 1000 for three digits.
  3. Set the numerator: multiply the original decimal by 10^k to create a whole-number numerator.
  4. Reduce using the GCF: divide both numerator and denominator by their Greatest Common Factor.

Worked Examples

  • Convert 0.2: 1 decimal digit → denominator 10^1 = 10. Numerator = 0.2 × 10 = 2. Raw fraction = 2/10; GCF of 2 and 10 is 2. Reduced fraction = 1/5.
  • Convert 0.375: 3 decimal digits → denominator 10^3 = 1000. Numerator = 0.375 × 1000 = 375. Raw fraction = 375/1000; GCF of 375 and 1000 is 125. Reduced fraction = 3/8.
  • Convert 0.625: 3 decimal digits → denominator = 1000. Numerator = 625; GCF of 625 and 1000 is 125. Reduced fraction = 5/8.
  • Convert 2.75 (greater than 1): 2 decimal digits → denominator = 100. Numerator = 2.75 × 100 = 275. Raw fraction = 275/100; GCF of 275 and 100 is 25. Reduced fraction = 11/4, or as a mixed number, 2 tfrac34 (2 whole, with a remainder of 75/100 = 3/4).

How to Convert Repeating Decimals to Fractions

Repeating decimals cannot be placed directly over a power of 10 because they never terminate. Instead, an algebraic subtraction technique is used.

Algebraic Method for 0.333...

  1. Let x = 0.333...
  2. Since 1 digit repeats (3), multiply both sides by 10^1 = 10: 10x = 3.333...
  3. Subtract x from 10x: 10x - x = 3.333... - 0.333... Rightarrow 9x = 3
  4. Solve: x = 3/9 = 1/3

General Formula for Repeating Decimals

For a repeating digit block R of length k:

Fraction = (R / 10^k - 1)

Example (0.1818...): repeating block R = 18, length k = 2. Fraction = 18 / (10^2 - 1) = 18/99. GCF of 18 and 99 is 9, so (18/9)/(99/9) = 2/11.

Common Mistakes to Avoid

  1. Treating repeating decimals as terminating: entering 0.333 as a terminating decimal yields 333/1000, which does not exactly equal 1/3 (0.33333...). Use Repeating Decimal mode for recurring numbers.
  2. Forgetting to reduce to lowest terms: leaving 375/1000 unreduced instead of dividing by the GCF of 125 to get 3/8.

What This Calculator Does Not Include

Real-world exclusions: This calculator handles rational decimals only — terminating decimals and simple repeating decimals where the repeat starts immediately after the decimal point. It does not handle mixed repeating decimals where a non-repeating part precedes the repeating block (such as 0.1666...).

To simplify or combine fractions once converted, see the Fraction Calculator.

Formula & Variables Explained

Terminating: Num = Decimal × 10^k, Den = 10^k | Repeating: Num = Repeating Digits R, Den = 10^k − 1 | Simplify via GCF

This tool utilizes standard equations formulated under standard rules.

Variables:

  • Input parameter: Values supplied to resolve the output formula.

How to Calculate (Step-by-Step)

  1. Input the required parameters into the form.
  2. Click the calculate or auto-compute option.
  3. The outputs will refresh instantly with step-by-step variables.

Worked Examples Calculation

1Terminating Decimal Example (0.375)

Inputs Given:

Mode = Terminating, Decimal = 0.375

Step-by-Step Calculation:

3 decimal digits -> Denominator = 10^3 = 1000. Raw Fraction = 375 / 1000. GCF of 375 and 1000 is 125. Reduced Fraction = (375/125) / (1000/125) = 3 / 8.

Result Obtained:

Reduced Fraction = 3 / 8 | Verification Decimal = 0.375

2Repeating Decimal Example (0.333...)

Inputs Given:

Mode = Repeating, Repeating Digits = 3

Step-by-Step Calculation:

Repeating block R = 3 (length k = 1). Denominator = 10^1 - 1 = 9. Raw Fraction = 3 / 9. GCF of 3 and 9 is 3. Reduced Fraction = 1 / 3.

Result Obtained:

Reduced Fraction = 1 / 3 | Verification Decimal = 0.333333333

3Decimal Greater Than 1 (2.75)

Inputs Given:

Mode = Terminating, Decimal = 2.75

Step-by-Step Calculation:

2 decimal digits -> Denominator = 100. Raw Fraction = 275 / 100. GCF of 275 and 100 is 25. Reduced Fraction = 11 / 4. Whole = 2, Remainder = 3/4 -> 2 3/4.

Result Obtained:

Reduced Fraction = 11 / 4 | Mixed Number = 2 3/4

Real-World Applications

Widely used in student curriculum, professional projections, and quick estimations.

Limitations & Common Mistakes

Caution & Mistakes:
  • Entering incompatible unit formats (e.g. Mixing Metric and Imperial).
  • Typographical mistakes in numeric entry fields.
Limitations:

Converts rational terminating and repeating decimals — it cannot represent irrational decimals as fractions, since none exist.

Frequently Asked Questions (FAQ)

Q:What is the difference between terminating and repeating decimals?

A terminating decimal has a finite number of digits after the decimal point, such as 0.375. A repeating decimal has digits that repeat infinitely in a periodic pattern, such as 0.333... or 0.1818...

Q:How do you convert a repeating decimal to a fraction by hand?

Let x = 0.333... Multiply both sides by 10^k, where k is the length of the repeating block, to get 10x = 3.333... Subtracting x from 10x gives 9x = 3, so x = 3/9 = 1/3.

Q:Why do we reduce fractions using the GCF?

Reducing by the Greatest Common Factor removes every shared factor between the numerator and denominator, leaving the smallest equivalent whole-number fraction — the same value expressed in its simplest possible form.

Q:Can all decimals be converted into fractions?

Only rational decimals, meaning terminating or repeating ones, can be converted into fractions. Irrational numbers like Pi (3.14159...) or √2 (1.4142...) have digits that never terminate and never repeat, so they cannot be expressed as an exact fraction.

Last Updated: 2026-08-11
Formula Verified
Written By

CalculationDesk Editorial Team

Content & Calculation Editors

The CalculationDesk Editorial Team consists of math educators, technical writers, and product specialists dedicated to ensuring accuracy and clarity for everyday calculations.

Reviewed By

CalculationDesk Review Team

Quality Assurance & Formula Verifiers

Our internal Review Team ensures that every calculator logic corresponds precisely to established academic standards and industry specifications.

Was this calculator helpful?

Embed this Calculator

You are welcome to embed this tool on your own blog or website. Simply copy the code snippet below and paste it into your HTML code.