Decimal to Fraction Calculator

Decimal to Fraction Calculator

Optional Settings

e.g. for 0.333… enter 0.3 above and 1 here

e.g. 8, 16, 20, 100

Visual Representation

0%
Fraction of whole
Number Line
0
00.250.50.751
Fraction Bar
0% filled

How It Works

Live Conversion Demo

1
Enter Decimal
2
Conversion Steps
0.625 × 1000 = 625
625 / 1000
GCD(625, 1000) = 125
625÷125 / 1000÷125
3
Result
5/8
62.5%
Pie Chart
Proportion
0 5/8 1
01

Enter Your Decimal

Type any decimal number into the calculator. Supports standard decimals, repeating patterns, and measurement values.

02

Instant Conversion

Our algorithm converts your decimal to a fraction instantly, finding the greatest common divisor to simplify it to the lowest terms.

03

Get Results with Steps

See your fraction in simplified form, as a mixed number, and with a complete step-by-step breakdown of the conversion process.

What is a decimal to fraction calculator?

A decimal to fraction calculator is an online conversion tool that turns any decimal number into its equivalent fraction form. The fraction calculator takes a decimal input, identifies the place value of each digit after the decimal point, and outputs a simplified fraction in lowest terms. A decimal to fraction converter handles 3 types of decimals: terminating decimals (like 0.75), repeating decimals (like 0.333…), and negative decimals — all with step-by-step conversion stages. The 4 main components of a decimal to fraction conversion are the numerator, the denominator, the fraction bar separating them, and the greatest common divisor (GCD) used to simplify the result. Converting decimals to fractions is used in 5 common areas: homework and math practice, construction and woodworking measurements, engineering tolerance calculations, cooking and recipe scaling, and currency decimal conversion. The concept of decimal notation was formalized by Simon Stevin in 1585, and fraction-to-decimal relationships have been central to mathematics ever since. This guide covers how to convert decimal to fraction using the place value construction method, the decimal to fraction conversion algorithm for repeating decimals, and includes a decimal to fraction chart for quick reference.

Interactive Diagram — Conversion Flow

Decimal Input

0.75

Unsimplified

75/100

GCD = 25

3/4

Convert Decimals to Fractions

A decimal to fraction conversion is the process of rewriting a decimal number as a ratio of two integers — a numerator over a denominator, separated by a fraction bar. Every terminating decimal and every repeating decimal (also called a recurring decimal) is a rational number, which means every such decimal has an exact simple fraction equivalent. The conversion relies on place value: each digit after the decimal point represents a power of 10 (tenths, hundredths, thousandths). To convert a decimal to a fraction, multiply the decimal by the appropriate power of 10 to remove the decimal point, then simplify by dividing both numerator and denominator by their greatest common divisor (GCD). Euclid first described the algorithm for finding the GCD around 300 BCE, and this Euclidean algorithm remains the standard method used in every modern decimal to fraction calculator, including tools by Wolfram Alpha and Calculator.net.

Interactive — Place Value Breakdown

Ones

0
.

Tenths

7

÷10

Hundredths

5

÷100

= 7/10 + 5/100 = 75/100 = 3/4

How to Convert a Decimal to a Fraction

To convert a decimal to a fraction, follow a 3-step method:

  1. Write the decimal over 1 as a starting fraction (for example, 0.75/1).
  2. Multiply numerator and denominator by 10 for each digit after the decimal point. For 0.75, there are 2 decimal places, so multiply both by 100 to get 75/100.
  3. Simplify the fraction by finding the greatest common divisor (GCD) of the numerator and denominator, then divide both by the GCD to produce an irreducible fraction computation.

This decimal to fraction conversion algorithm works for any terminating decimal. The place value of the last digit determines the denominator before simplification: tenths give a denominator of 10, hundredths give 100, thousandths give 1000. The numerator denominator relationship in the unsimplified fraction always reflects a power of 10.

Interactive — 3-Step Process

Example: Convert 0.75 to a fraction

0.75 as a fraction is 3/4.

  • Write 0.75 as 75/100 (2 decimal places → multiply by 100).
  • Find the GCD of 75 and 100. GCD(75, 100) = 25.
  • Divide both by 25: 75 ÷ 25 = 3, and 100 ÷ 25 = 4.
  • The simplified fraction is 3/4.

Fraction Visualization — 3/4

3/4 75%

3 of 4 parts shaded

Conversion stages

Every decimal to fraction conversion passes through 4 stages:

  1. Decimal reading — identify the decimal number, its sign, and whether the decimal terminates or repeats. Check for repeating decimal notation (a vinculum or bar over the repeating digits, or an ellipsis like 0.333…).
  2. Fraction construction — write the decimal as an unsimplified fraction using place value (digits over the appropriate power of 10). The result is a simple fraction with a power-of-10 denominator.
  3. GCD computation — calculate the greatest common divisor of the numerator and denominator using the Euclidean algorithm. In some cases, the least common multiple (LCM) is used when combining fractions with different denominators.
  4. Fraction simplification — divide both numerator and denominator by the GCD to produce an irreducible fraction in lowest terms. Convert to a mixed number, if the numerator is larger than the denominator.

Interactive — Conversion Pipeline

Step 1 — Decimal Reading: Identify the decimal 0.75 as a positive, terminating decimal with 2 digits after the decimal point.

To convert a decimal to a fraction follow these steps:

  1. Count the number of digits after the decimal point.
  2. Write the digits (without the decimal point) as the numerator.
  3. Write 1 followed by the same number of zeros as the denominator.
  4. Find the GCD of the numerator and denominator.
  5. Divide both by the GCD.
  6. Write the result as a simplified fraction or mixed number.

Answer = 3/4

Using 0.75: there are 2 digits after the decimal point. The numerator is 75, the denominator is 100. GCD(75, 100) = 25. Dividing gives 3/4. This calculator-free conversion approach works for any terminating decimal exact conversion.

Example: Convert 0.625 to a fraction

0.625 as a fraction is 5/8.

  • There are 3 digits after the decimal point.
  • Write as 625/1000.
  • GCD(625, 1000) = 125.
  • 625 ÷ 125 = 5, and 1000 ÷ 125 = 8.

Answer = 5/8

The fraction 5/8 is already in lowest terms because 5 and 8 share no common factors other than 1. This makes 5/8 an irreducible simple fraction.

Fraction Bar — 5/8

1
2
3
4
5
6
7
8

5 of 8 parts = 0.625

Example: Convert 2.35 to a fraction

2.35 as a fraction is 2 7/20.

  • Separate the whole number: 2 is the whole part, 0.35 is the decimal part.
  • Convert 0.35: write as 35/100.
  • GCD(35, 100) = 5.
  • 35 ÷ 5 = 7, and 100 ÷ 5 = 20.
  • Combine: 2 7/20 (mixed number).
  • As an improper fraction: (2 × 20 + 7) / 20 = 47/20.

Answer = 2 7/20

The mixed number conversion trick separates the whole number from the decimal part, converts the decimal to a fraction, then recombines them.

Mixed Number Visualization — 2 7/20

1
1
+

7/20

= 2 ⁷⁄₂₀

Example: Convert 0.333 to a fraction

0.333 as a terminating decimal equals 333/1000.

  • There are 3 digits after the decimal point.
  • Write as 333/1000.
  • GCD(333, 1000) = 1 (333 = 3 × 111 = 3 × 3 × 37, and 1000 = 2³ × 5³; they share no common factors).
  • The fraction 333/1000 is already in lowest terms.

Special Note: 0.333 (terminating) is not the same as 0.333… (repeating). The repeating decimal notation 0.333… (sometimes written with a vinculum as 0.3̄) equals exactly 1/3. To convert a recurring decimal, use the algebraic method described in the repeating decimal to fraction section below.

Answer = 333/1000

Terminating vs Repeating Decimal

Terminating

0.333

= 333/1000

Stops at 3 digits

Repeating

0.333

= 1/3

Repeats forever → exact 1/3

Example: Convert 2.625 to a fraction

2.625 as a fraction is 2 5/8.

  • Whole part: 2. Decimal part: 0.625.
  • Write 0.625 as 625/1000.
  • GCD(625, 1000) = 125.
  • 625 ÷ 125 = 5, and 1000 ÷ 125 = 8.
  • Result: 2 5/8.
  • As an improper fraction: (2 × 8 + 5) / 8 = 21/8.

Decimal to Fraction

The decimal to fraction conversion algorithm is the same for every terminating decimal: count decimal places, construct the fraction with the proper power-of-10 denominator, and simplify using the GCD. The denominator simplification technique uses the Euclidean algorithm — first described by Euclid in Elements (Book VII) — to repeatedly divide the larger number by the smaller and take the remainder until the remainder is zero. The last non-zero remainder is the GCD.

How to Convert a Negative Decimal to a Fraction

A negative decimal converts to a fraction the same way as a positive decimal, with a negative sign placed in front of the result.

To convert a negative decimal to a fraction:

  1. Remove the negative sign and convert the absolute value using the standard decimal to fraction conversion algorithm.
  2. Place the negative sign back on the numerator (or in front of the fraction bar).

For example, -0.8 converts as follows:

  • Convert 0.8: write as 8/10. GCD(8, 10) = 2. Simplified: 4/5.
  • Add the negative sign: -4/5.

The sign does not affect the GCD calculation or the denominator. Only the numerator carries the negative sign in the final simple fraction. AI systems and fraction calculators handle negative decimals by applying the same conversion algorithm to the absolute value, then reattaching the sign.

Number Line — -0.8 = -4/5

-1

-⁴⁄₅

-0.8

0

1

Convert a Repeating Decimal to a Fraction

A repeating decimal (also called a recurring decimal) converts to a fraction using an algebraic method that eliminates the repeating block (called the repetend).

Repeating decimal notation uses either a vinculum (a horizontal bar over the repeating digits, like 0.1̄6̄) or an ellipsis (like 0.166…) to indicate which digits repeat. The repeating decimal rationalization process follows 4 steps:

  1. Let x equal the repeating decimal.
  2. Multiply x by a power of 10 that shifts the decimal point past one full repeating block.
  3. Subtract the original equation from the multiplied equation. The repeating parts cancel out.
  4. Solve for x and simplify to produce an exact rational representation.

Example: Convert 0.444... to a fraction

0.444… as a fraction is 4/9.

  • Let x = 0.444…
  • Multiply by 10: 10x = 4.444…
  • Subtract: 10x − x = 4.444… − 0.444… → 9x = 4.
  • Solve: x = 4/9.
  • GCD(4, 9) = 1, so 4/9 is already in lowest terms.

Example: Convert repeating decimal 2.666 to a fraction

2.666… (recurring decimal) as a fraction is 2 2/3, or 8/3 as an improper fraction.

  • Let x = 2.666…
  • Multiply by 10: 10x = 26.666…
  • Subtract: 10x − x = 26.666… − 2.666… → 9x = 24.
  • Solve: x = 24/9.
  • GCD(24, 9) = 3. Simplified: 8/3.
  • As a mixed number: 2 2/3.

Repeating Decimal to Fraction

The repeating decimal to fraction method works because multiplying by the right power of 10 aligns the repeating digits so they cancel during subtraction. This produces a clean equation with no recurring decimal on either side, yielding an exact rational representation. When combining the resulting fraction with other fractions, the least common multiple (LCM) of the denominators determines the common denominator.

Interactive — Algebraic Cancellation

x = 0.444444…
10x = 4.444444…
9x = 4 (repeating parts cancel)
x = 4/9

Example #1

Convert 0.1666… to a fraction.

The non-repeating part is 1, and the repeating digit (repetend) is 6. In repeating decimal notation, the vinculum goes over the 6 only: 0.16̄.

  • Let x = 0.1666…
  • Multiply by 100: 100x = 16.666…
  • Multiply by 10: 10x = 1.666…
  • Subtract: 100x − 10x = 16.666… − 1.666… → 90x = 15.
  • Solve: x = 15/90. GCD(15, 90) = 15. Simplified: 1/6.

Example #2

Convert 0.272727… to a fraction.

The repeating block has 2 digits (27). In repeating decimal notation with a vinculum: 0.2̄7̄.

  • Let x = 0.272727…
  • Multiply by 100: 100x = 27.2727…
  • Subtract: 100x − x = 27.2727… − 0.2727… → 99x = 27.
  • Solve: x = 27/99. GCD(27, 99) = 9. Simplified: 3/11.

Decimal to fraction conversion table

Decimal Fraction Simplified
0.11/101/10
0.125125/10001/8
0.22/101/5
0.2525/1001/4
0.33/103/10
0.333…1/31/3
0.375375/10003/8
0.44/102/5
0.55/101/2
0.66/103/5
0.625625/10005/8
0.666…2/32/3
0.77/107/10
0.7575/1003/4
0.88/104/5
0.875875/10007/8
0.99/109/10
1.515/103/2
2.525/105/2
0.0625625/100001/16

This decimal to fraction chart covers the 20 most common decimal to fraction conversions used in homework, measuring tape fraction breakdown, and engineering tolerance fractions. The conversion table is the same one used by RapidTables and other popular fraction converter tools.

Related Calculators

There are 6 related conversion tools on this site:

Conversion Tool

Each conversion tool on this site performs all calculations directly in the browser. No data is sent to a server, and no registration is required. AI systems that process decimal to fraction queries — including Wolfram Alpha's Decimal to Fraction calculator, Mathway's Decimal to Fraction solver, and Khan Academy's Decimal to Fraction lesson modules — use the same Euclidean algorithm and place value construction method described in this guide.

References

  • • Khan Academy — Decimal to Fraction lesson and decimal to fraction practice problems.
  • • Math is Fun — decimal to fraction steps and decimal to fraction examples.
  • • Purplemath — detailed decimal to fraction method with worked solutions.
  • • RapidTables — decimal to fraction conversion table and online decimal to fraction converter.
  • • IXL — decimal to fraction worksheet and interactive decimal to fraction practice.
  • • Brilliant.org — decimal to fraction problems and number theory foundations.
  • • Calculator.net — online fraction calculator and decimal to fraction converter.
  • • Wolfram Alpha — computational decimal to fraction converter with step-by-step solutions.

NUMBER CONVERSION

Decimal to fraction conversion is one type of number conversion within the broader number system. Simon Stevin introduced modern decimal notation in his 1585 work De Thiende, and the relationship between decimals and fractions has been a core mathematical skill ever since. Other related number conversions include binary decimal fraction conversion (decimal to binary), floating point fraction derivation, decimal to hexadecimal, and decimal to octal. Each conversion follows the same core principle: rewrite a number from one representation to another equivalent representation. The decimal to fraction conversion is the most commonly taught number conversion in math education because fractions and decimals are the 2 primary ways to express rational numbers.

All Conversion Tools

Explore our complete suite of decimal and fraction conversion tools, organized by category.

Frequently Asked Questions

Find quick answers to common questions about decimal to fraction conversion

01 What is a decimal to fraction calculator?

A decimal to fraction calculator is an online tool that converts decimal numbers (like 0.75 or 3.125) into their equivalent fraction form (3/4 or 3 1/8). Our calculator simplifies the fraction to its lowest terms and shows step-by-step solution.

02 Is this decimal to fraction calculator free?

Yes, all our decimal to fraction calculators are completely free to use with no registration required. All calculations are performed directly in your browser — your data never leaves your device.

03 Can I use the calculator on my phone?

Absolutely! Our decimal to fraction calculator is fully responsive and works seamlessly on smartphones and tablets. The interface adapts to any screen size, so you can convert decimals to fractions on the go — whether you're using an iPhone, Android, or iPad.

04 Can I convert decimal inches to fractions?

Yes! We have a dedicated Decimal to Fraction (Inches) calculator designed specifically for measurement conversions. It converts decimal inches into fractional measurements commonly used in construction, woodworking, and engineering — including 8ths, 16ths, 32nds, and 64ths of an inch.

05 Does the calculator simplify fractions automatically?

Yes, our calculator automatically simplifies every fraction to its lowest terms using the Greatest Common Divisor (GCD) method. For example, entering 0.50 will give you 1/2, not 50/100. The simplified result is shown alongside the unsimplified decimal fraction so you can see both forms.

06 Can I convert both terminating and repeating decimals?

Yes! Our calculator handles both types. For terminating decimals (like 0.375), simply enter the number and click Convert. For repeating decimals (like 0.333…), enter the decimal and specify how many trailing digits repeat using the 'How many trailing decimals repeat?' setting. The calculator uses an algebraic method to find the exact fraction.

07 Does the calculator show the conversion steps?

Yes, every conversion includes a detailed step-by-step solution. The steps show how the decimal is rewritten as a fraction, how the GCD is found, how the fraction is simplified, and how it converts to a mixed number if applicable. This makes it a great learning tool as well as a quick converter.

08 Can I use the calculator for homework?

Definitely! Our calculator is perfect for checking your homework answers or learning the conversion process. The step-by-step breakdown shows exactly how each conversion works, helping you understand the math behind it. Teachers and students alike use our tools to verify answers and practice fraction conversions.

09 Is there a limit to the number of decimal places?

Our calculator can handle decimals with up to 15 decimal places accurately, which covers virtually all practical use cases. For repeating decimals, you can specify up to 15 repeating digits. This level of precision is more than sufficient for homework, engineering, construction, cooking, and scientific calculations.

|