Decimal to Fraction Calculator

Converting decimals to fractions is one of those math tasks that sounds simple until you're staring at something like 0.3̄ and wondering where to even start. Whether you're working through a homework problem, splitting measurements for a woodworking project, or just trying to make sense of a number on your screen, having a reliable way to make that conversion matters. This page walks you through everything: the step-by-step method, the formula, how to handle repeating decimals, and a bunch of worked examples you can reference anytime. No calculator required, though having one handy never hurts.

Enter Details

Decimal

Result

Best rational approximation

Note — This result is an estimate. Talk to a healthcare provider for personalized guidance.

How to Convert a Decimal to a Fraction

The basic process is pretty straightforward once you know the steps. Here's how it works for any standard terminating decimal (one that ends, like 0.75):

  1. Write the decimal as a fraction with the decimal value on top and 1 on the bottom (so 0.75 becomes 0.75/1).
  2. Multiply both the numerator and denominator by 10 for each digit after the decimal point. 0.75 has two decimal places, so multiply by 100: you get 75/100.
  3. Simplify the fraction by dividing both numbers by their greatest common factor (GCF). The GCF of 75 and 100 is 25, so 75/100 simplifies to 3/4.

That's really it for most decimals. The trickier cases, like repeating decimals or decimals attached to a whole number, need a slightly different approach, but the core idea stays the same: turn the decimal into a ratio and then reduce it.

Decimal to Fraction Converter

A decimal to fraction converter automates the steps above so you don't have to crunch through the math by hand every time. You plug in a decimal value and it spits out the equivalent fraction, already in its simplest form.

These tools are especially handy when you're dealing with long or oddly-placed decimal values where the GCF isn't obvious. Most online converters handle terminating decimals, repeating decimals, and mixed numbers. Some will even show you the step-by-step work, which is great if you're trying to learn the method rather than just get an answer.

When using any converter, make sure you know what type of decimal you're entering. A repeating decimal like 0.666... needs to be flagged as repeating, otherwise the tool might treat it as the terminating decimal 0.666, which gives you a slightly different (and less accurate) fraction.

Convert Repeating Decimals to Fractions

Repeating decimals are the ones with a digit or group of digits that go on forever, like 0.333... or 0.142857142857... They can't be converted using the simple multiply-by-10 trick because the decimal never ends. You need a small algebraic workaround.

Here's how to handle a single repeating digit, using 0.333... as the example:

  1. Let x = 0.333...
  2. Multiply both sides by 10 (because one digit repeats): 10x = 3.333...
  3. Subtract the original equation from the new one: 10x - x = 3.333... - 0.333..., which gives you 9x = 3.
  4. Divide both sides by 9: x = 3/9, which simplifies to 1/3.

If two digits repeat, multiply by 100 instead. If three digits repeat, multiply by 1000. The idea is to shift the decimal just enough that the repeating part lines up and cancels when you subtract.

For example, 0.272727... works like this: let x = 0.272727..., then 100x = 27.272727..., subtract to get 99x = 27, so x = 27/99, which reduces to 3/11.

Convert Mixed Decimals to Fractions

A mixed decimal is a number that has both a whole number part and a decimal part, like 2.5 or 3.125. Converting these is a two-part job, but it's not complicated.

The easiest approach: ignore the whole number at first, convert just the decimal portion to a fraction, and then combine it with the whole number to form a mixed number. From there, if you need an improper fraction, multiply the whole number by the denominator, add the numerator, and put that result over the original denominator.

For 2.5: the decimal part is 0.5, which equals 1/2. Combined with the whole number, you get 2 1/2. As an improper fraction, that's (2 × 2 + 1)/2 = 5/2.

For 3.125: 0.125 = 125/1000 = 1/8. So the mixed number is 3 1/8, and the improper fraction is (3 × 8 + 1)/8 = 25/8.

Whole Number and Decimal Conversion

When a decimal includes a whole number, the whole number part stays intact during conversion. You're really only converting the digits that fall after the decimal point. The whole number just gets carried along for the ride.

That said, some contexts call for an improper fraction rather than a mixed number. In those cases, you do need to fold the whole number into the fraction. The formula is simple: multiply the whole number by the denominator of the fractional part, add the numerator, and keep the same denominator. So 4.25 becomes 4 1/4, and then as an improper fraction, (4 × 4 + 1)/4 = 17/4.

Whole numbers by themselves (no decimal) are already fractions, technically. The number 5 is just 5/1. That's worth keeping in mind when you're doing operations that mix whole numbers and fractions.

Repeating vs Terminating Decimals

Not all decimals behave the same way, and knowing the difference matters when you're choosing a conversion method.

Terminating decimals end after a fixed number of digits. Think 0.5, 0.75, 0.125. These always convert to fractions cleanly using the multiply-by-10 method.

Repeating decimals have one or more digits that cycle forever. They're written with a bar over the repeating part (like 0.3̄) or with ellipses (0.333...). These require the algebraic subtraction method described above.

Here's a quick comparison:

TypeExampleConversion MethodResult
Terminating0.25Multiply by 100, simplify1/4
Terminating0.125Multiply by 1000, simplify1/8
Repeating (1 digit)0.666...Algebraic method (×10)2/3
Repeating (2 digits)0.363636...Algebraic method (×100)4/11

One practical note: irrational numbers like π or √2 are neither terminating nor repeating, which means they can't be expressed as fractions at all. Only rational numbers make the cut.

Decimal to Fraction Formula

If you want to think about this systematically, there's a clean formula behind the process. For a terminating decimal with n digits after the decimal point:

Fraction = decimal value / 10ⁿ

Then simplify by dividing both the numerator and denominator by their GCF. So for 0.6 (one decimal place), you get 6/10, simplified to 3/5. For 0.48 (two decimal places), you get 48/100, simplified to 12/25.

For repeating decimals, the formula shifts slightly. If a decimal has a non-repeating portion of length m and a repeating portion of length n, the denominator of the fraction is made up of n nines followed by m zeros. The numerator is the full decimal string (repeating + non-repeating) minus just the non-repeating part.

It sounds more complicated than it is. For 0.1666... (one non-repeating digit, one repeating digit): denominator = 90, numerator = 16 - 1 = 15, so the fraction is 15/90 = 1/6. That checks out.

Simplifying Fractions Using GCF

Once you've turned a decimal into a raw fraction, you almost always need to simplify it. The tool for that is the Greatest Common Factor (GCF), sometimes called the Greatest Common Divisor (GCD). It's the largest number that divides evenly into both the numerator and denominator.

To find the GCF, you can list the factors of each number and find the biggest one they share. For 36 and 48: factors of 36 are 1, 2, 3, 4, 6, 9, 12, 18, 36; factors of 48 are 1, 2, 3, 4, 6, 8, 12, 16, 24, 48. The largest shared factor is 12, so GCF(36, 48) = 12. Divide both by 12: 36/48 = 3/4.

For larger numbers, the Euclidean algorithm is faster: divide the bigger number by the smaller, take the remainder, and repeat until the remainder is zero. The last non-zero remainder is the GCF. Either way works; pick whichever feels more natural.

Reducing Fractions to Lowest Terms

A fraction is in its lowest terms (also called simplest form) when the numerator and denominator share no common factors other than 1. Basically, the GCF of the two numbers equals 1.

Sometimes you can get there in one step by dividing by the GCF. Other times, especially with big numbers, it's easier to reduce in stages. Divide by any common factor you spot, then check again. Keep going until nothing divides evenly into both numbers.

For example: start with 120/180. Both are divisible by 2: 60/90. Both divisible by 2 again: 30/45. Both divisible by 3: 10/15. Both divisible by 5: 2/3. Done. You could've gotten there in one step (GCF is 60), but step-by-step works just as well and is sometimes easier to see.

Always check your final fraction. If the numerator and denominator are both even, you haven't finished. If one ends in 0 and the other in 5, you haven't finished either. When in doubt, try dividing by small primes (2, 3, 5, 7) and see what sticks.

Decimal to Fraction Conversion Chart

A quick reference chart saves a lot of time for the decimals you run into most often. These are the ones that come up constantly in cooking, construction, and everyday math.

DecimalFractionSimplified
0.11/101/10
0.125125/10001/8
0.22/101/5
0.2525/1001/4
0.333...1/3
0.375375/10003/8
0.44/102/5
0.55/101/2
0.66/103/5
0.625625/10005/8
0.666...2/3
0.7575/1003/4
0.88/104/5
0.875875/10007/8
0.99/109/10

Bookmark this or print it out. Once these equivalents are in your head, a lot of mental math gets much faster.

Fraction and Decimal Equivalents

Fractions and decimals are just two different ways of writing the same value. Every fraction can be expressed as a decimal (just divide the numerator by the denominator), and every terminating or repeating decimal can be written as a fraction.

Some of the most useful equivalents to memorize:

  • 1/2 = 0.5
  • 1/3 = 0.333...
  • 1/4 = 0.25
  • 1/5 = 0.2
  • 1/6 = 0.1666...
  • 1/8 = 0.125
  • 1/10 = 0.1
  • 3/4 = 0.75
  • 2/3 = 0.666...
  • 5/8 = 0.625

Knowing these cold makes estimation way easier. If someone tells you something is 0.375 of the total, you instantly know that's 3/8, which is a little less than half. That kind of quick mental translation is genuinely useful.

Decimal to Fraction Calculation Examples

Let's run through a handful of worked examples covering different scenarios.

Example 1: Simple terminating decimal
Convert 0.6 to a fraction.
0.6 = 6/10. GCF of 6 and 10 is 2. Divide: 3/5.

Example 2: Two decimal places
Convert 0.48 to a fraction.
0.48 = 48/100. GCF is 4. Divide: 12/25.

Example 3: Three decimal places
Convert 0.375 to a fraction.
0.375 = 375/1000. GCF is 125. Divide: 3/8.

Example 4: Repeating decimal (one digit)
Convert 0.555... to a fraction.
Let x = 0.555..., so 10x = 5.555.... Subtract: 9x = 5, so x = 5/9.

Example 5: Repeating decimal (two digits)
Convert 0.181818... to a fraction.
Let x = 0.181818..., so 100x = 18.181818.... Subtract: 99x = 18, so x = 18/99 = 2/11.

Example 6: Mixed decimal
Convert 1.75 to an improper fraction.
0.75 = 3/4, so 1.75 = 1 3/4 = 7/4.

Mixed Number Conversion

Mixed numbers sit right at the intersection of whole numbers and fractions, and converting them to decimals (or vice versa) is a skill that comes up more than you'd expect, especially in measurement and cooking contexts.

To convert a mixed number to a decimal, just divide the fractional part and add it to the whole number. For 3 2/5: divide 2 by 5 to get 0.4, then add 3. Result: 3.4.

Going the other direction (decimal to mixed number), separate the whole number from the decimal, convert the decimal portion to a fraction, and combine them. For 5.875: the whole number is 5, the decimal 0.875 converts to 7/8, so you end up with 5 7/8.

When you need to do arithmetic with mixed numbers, it's often easier to convert to improper fractions first, do the math, and then convert back. Improper fractions are just cleaner to multiply and divide.

Fraction to Decimal Conversion

Going the other direction is actually simpler. To convert a fraction to a decimal, divide the numerator by the denominator. That's it.

3/4: divide 3 by 4 = 0.75.
5/8: divide 5 by 8 = 0.625.
1/3: divide 1 by 3 = 0.333... (repeating).
7/11: divide 7 by 11 = 0.636363... (repeating).

If the division terminates, you have a terminating decimal. If it doesn't, look for the repeating pattern in the remainder. The decimal will always either terminate or repeat for any fraction made of integers, that's a guaranteed mathematical property.

Long division works fine for this, but a calculator handles it in seconds. Either way, the result is exact (or exactly repeating), not an approximation, as long as you're working with a proper fraction and not rounding.

Common Decimal Values and Their Fraction Forms

Some decimal values show up constantly across different fields, from finance to engineering to baking. Recognizing these on sight saves time and reduces errors.

DecimalFractionCommon Context
0.51/2Splitting things in half
0.251/4Quarter portions, percentages
0.753/4Three-quarter measurements
0.11/10Percentage calculations (10%)
0.21/520% discounts, recipe scaling
0.1251/8Cooking measurements (1/8 cup)
0.333...1/3Dividing by three, 33% off
0.666...2/3Two-thirds portions
0.06251/16Woodworking, metal fabrication
0.011/100Percentages, currency

That 0.0625 = 1/16 one is surprisingly useful if you work with imperial measurements at all. Sixteenths come up constantly on tape measures and drill bit sizing.

Practical Uses of Decimal to Fraction Conversion

This isn't just textbook math. Decimal to fraction conversion shows up in real life more than most people realize.

Cooking and baking: Most recipes use fractions, not decimals. If a calculator tells you to use 0.375 cups of something, knowing that's 3/8 of a cup (or just under half) helps you measure accurately with standard measuring cups.

Construction and woodworking: Tape measures in the US are marked in fractions of an inch (1/8, 1/16, 1/32). If your plans show dimensions in decimals, you need to convert before you can cut anything accurately.

Finance: Interest rates, stock prices, and loan terms sometimes get expressed as decimals that are easier to compare or communicate as fractions. A 0.0625% rate is 1/16 of a percent, for instance.

School and standardized tests: Fraction and decimal conversions are a core skill tested on the SAT, ACT, GED, and most state math assessments. Knowing the method cold, not just the chart, makes those questions fast and easy.

Engineering and science: Precision matters in these fields, and fractions often communicate exact values better than rounded decimals. A measurement of 5/16 is exact; 0.3125 is the same value but looks like it might have been rounded.

Basically, any time you're moving between different measurement systems, working with real-world tools, or needing exact values rather than approximations, fraction conversion is part of the job.

Other Maths Calculators

Explore all