Decimal to Fraction Calculator

Convert any decimal into its simplest simplified fraction or mixed number, including repeating decimals.

Calculator Inputs

Enter a terminating decimal (e.g. 0.375, 2.625).

Calculated Results

Fraction in Simplest Form
3/8
Mixed Number 0 3/8
Decimal Input 0.375
Greatest Common Divisor 125
Values calculate live as you adjust inputs.

About Decimal to Fraction Calculator

A decimal and a fraction can describe exactly the same amount, but they express that amount differently. A decimal uses place value, while a fraction shows how many equal parts make up a whole.

For example, 0.75 means 75 hundredths. Written as a fraction, that is 75/100, which simplifies to 3/4. Both represent the same quantity; the fraction simply expresses it in a reduced form.

The number of digits after the decimal point tells you the denominator to use before simplifying:

  • One decimal place represents tenths: 0.6 = 6/10.

  • Two decimal places represent hundredths: 0.25 = 25/100.

  • Three decimal places represent thousandths: 0.125 = 125/1000.

  • Four decimal places represent ten-thousandths: 0.0625 = 625/10000.

The decimal’s final position determines the initial denominator, but it does not determine the final fraction. Simplification may reduce that denominator considerably.

Consider these examples:

Decimal Initial fraction Simplified fraction
0.2 2/10 1/5
0.125 125/1000 1/8
0.04 4/100 1/25
0.625 625/1000 5/8
1.250 1250/1000 5/4

This is why a decimal to fraction calculator does more than place a number over 10, 100, or 1,000. It also reduces the resulting fraction so you can work with a cleaner equivalent value.

What Does the Fraction Tell You That the Decimal Doesn’t?

A decimal is convenient for calculations, but a fraction can make portions and measurements easier to understand.

Take 0.75 as an example. It tells you that the value is three-quarters of a whole, but 3/4 makes that relationship immediately visible. The same applies to 0.2 and 1/5, or 0.625 and 5/8.

This becomes particularly useful when you are dividing something into equal portions.

Imagine a recipe requires 0.75 cups of milk. You can measure the same amount using a 3/4-cup measure. If a woodworking measurement is 0.625 inches, expressing it as 5/8 inch may be more practical when using a ruler marked in fractional inches.

Fractions also make comparisons easier in some situations. For example, comparing 3/4 with 5/8 is often more meaningful when you can see the parts of a whole rather than comparing two decimal values.

The two formats are not competing answers. They are different ways to represent the same quantity, and the more convenient format depends on what you are doing.

Converting Decimals Greater Than 1 Into Mixed Numbers

Not every decimal represents a portion smaller than one. Values such as 1.5, 2.625, and 4.125 contain one or more complete units as well as a fractional part.

When you convert these numbers into fractions, the initial result is usually an improper fraction. Its numerator is larger than its denominator because the value is greater than one.

A mixed number separates the whole-number portion from the remaining fraction.

Here are some examples:

Decimal Improper fraction Mixed number
1.5 3/2 1 1/2
2.625 21/8 2 5/8
3.75 15/4 3 3/4
4.125 33/8 4 1/8
5.2 26/5 5 1/5

Both fraction formats are mathematically correct. The improper fraction is useful for multiplication and division, while the mixed number can be easier to read when describing a measurement or quantity.

For example, a board measuring 2.625 feet can also be described as 2 5/8 feet. Someone working with fractional measurements may find the second format easier to use.

The mixed-number result is especially useful when a decimal contains several complete units. Rather than reading 33/8 as an improper fraction, you can understand 4 1/8 as four whole units and one-eighth more.

How Negative Decimals Convert Into Fractions

A negative decimal follows the same conversion process as a positive decimal. The difference is that the negative sign remains part of the final value.

For example:

  • -0.5 = -1/2

  • -0.75 = -3/4

  • -1.25 = -5/4 = -1 1/4

  • -2.75 = -11/4 = -2 3/4

The sign applies to the entire fraction. In other words, -3/4 represents a value below zero, not a positive three-quarters.

Think about a temperature reading of -1.5°C. Its fractional equivalent is -3/2°C, or -1 1/2°C. The value remains below zero even though the fraction itself contains positive numerator and denominator numbers.

When checking a negative decimal conversion, pay attention to the sign as well as the fraction. A result of 3/4 would not be equivalent to an input of -0.75, even though the numerator and denominator are otherwise correct.

Why the Greatest Common Divisor Matters

Your calculator displays the greatest common divisor, or GCD, alongside the simplified fraction. This value explains how the original numerator and denominator can be reduced.

The greatest common divisor is the largest whole number that divides two integers without leaving a remainder. When both parts of a fraction share a common divisor, you can divide the numerator and denominator by that same number without changing the fraction’s value.

For example, convert 0.84 into a fraction:

  1. Write the decimal as 84/100.

  2. Find the greatest common divisor of 84 and 100, which is 4.

  3. Divide both numbers by 4.

  4. The simplified fraction is 21/25.

The GCD is 4, and the fraction 21/25 is in its simplest form.

Here are a few more examples:

Decimal Initial fraction GCD Simplified result
0.84 84/100 4 21/25
1.5 15/10 5 3/2
0.625 625/1000 125 5/8
0.72 72/100 4 18/25
2.4 24/10 2 12/5

The important point is that you must divide both parts by the same number. Dividing only the numerator or only the denominator would change the value.

A fraction is fully simplified when its numerator and denominator have no common whole-number factor greater than 1. That is the point at which reducing it further is no longer possible.

Decimal Places, Trailing Zeros, and Measurement Precision

Adding a zero to the end of a decimal does not change its mathematical value. For example, 1.5 and 1.50 are equivalent, just as 0.5 and 0.500 represent the same amount.

Their fractions also simplify to the same result:

  • 1.5 = 15/10 = 3/2

  • 1.50 = 150/100 = 3/2

  • 0.5 = 5/10 = 1/2

  • 0.500 = 500/1000 = 1/2

However, there is a distinction worth understanding when working with measurements.

A recorded value of 1.50 may indicate that a measurement was taken or reported to two decimal places. A value of 1.5 may have been recorded to one decimal place. Although their mathematical values are identical, the original notation can communicate different levels of measurement precision.

This matters in situations such as:

  • Construction: A measurement recorded as 2.50 inches may be intended to show precision to the hundredths place.

  • Laboratory work: A reading of 4.20 may communicate more recorded precision than 4.2.

  • Cooking: A quantity such as 0.50 cups can be written more conveniently as 1/2 cup.

  • Manufacturing: A simplified fraction may be easier to use, but the original measurement specification should still be retained when tolerances matter.

Converting a decimal into a simplified fraction does not preserve all the information about how precisely a measurement was recorded. If the number represents a measured value, keep the original decimal alongside the fraction when that precision matters.

Exact Decimals vs. Rounded Decimal Values

One of the most important things to understand when using a decimal to fraction converter is that the calculator works with the value you enter. It cannot automatically know whether the decimal is an exact value or a rounded display of a longer number.

Consider these two values:

  • 0.333

  • 0.333333…

They may look almost identical when written briefly, but they do not represent the same number.

The finite decimal 0.333 has exactly three digits after the decimal point. Its fraction is 333/1000, and it cannot be simplified further.

The repeating decimal 0.333333… continues indefinitely and is exactly equal to 1/3.

The distinction matters because rounding a decimal before converting it can change the resulting fraction.

Here are some examples:

Entered decimal Fraction of the entered value What to understand
0.333 333/1000 Finite decimal, not exactly 1/3
0.33 33/100 A hundredth-level decimal value
0.1667 1667/10000 Not exactly 1/6
0.125 1/8 Exact terminating decimal
0.375 3/8 Exact terminating decimal

For instance, 1/6 produces 0.166666… when divided. If you round that result to four decimal places, you get 0.1667. Converting 0.1667 back into a fraction gives 1667/10000, not exactly 1/6.

This is not a calculator error. The input has already been rounded, so the fraction represents the rounded decimal rather than the original exact value.

A useful mathematical fact is that a fraction in its simplest form has a terminating decimal only when its denominator contains no prime factors other than 2 and 5. For example, 1/8 terminates because 8 is a power of 2, while 1/3 repeats because its denominator contains a factor of 3.

A standard decimal-to-fraction conversion using finite input digits should therefore be understood as a conversion of that exact entered decimal. Repeating decimals need their repeating pattern to be identified separately; simply entering a few repeated digits does not communicate that they continue forever.

Where Decimal-to-Fraction Conversion Is Useful

The conversion is particularly useful when the decimal is easier to calculate with but the fraction is easier to measure, divide, or communicate.

Cooking and recipe adjustments

Recipes often use fractional measuring cups and spoons. Converting decimal quantities can help you work with the measurements available in your kitchen.

  • 0.75 cup = 3/4 cup

  • 1.5 cups = 1 1/2 cups

  • 0.25 teaspoon = 1/4 teaspoon

  • 0.125 cup = 1/8 cup

For example, if you are adjusting a recipe and the calculated quantity is 1.5 cups of milk, expressing it as 1 1/2 cups makes it easier to measure using standard kitchen tools.

Construction and woodworking measurements

Many rulers and measuring tapes use fractional markings. Converting decimal inches into fractions can make measurements easier to read and apply.

  • 0.125 inch = 1/8 inch

  • 0.625 inch = 5/8 inch

  • 0.875 inch = 7/8 inch

  • 2.375 inches = 2 3/8 inches

Imagine a piece of wood needs to be cut to 2.375 inches. Writing the measurement as 2 3/8 inches may be more convenient when working with a ruler marked in eighths.

Dividing quantities into equal portions

Fractions make it easier to describe how much of a whole is being used.

  • 0.5 of a quantity = 1/2

  • 0.2 of a quantity = 1/5

  • 0.875 of a quantity = 7/8

For example, if you use 0.875 of a metre of material, you have used 7/8 of a metre. This fractional form can be more natural when dividing the remaining material into equal parts.

How to Check Whether Your Converted Fraction Is Correct

You do not have to rely on the displayed answer alone. A quick reverse calculation can confirm whether the fraction represents the original decimal.

Divide the numerator by the denominator. The result should match the decimal you entered.

For example:

  • 5/8 = 5 ÷ 8 = 0.625

  • 21/25 = 21 ÷ 25 = 0.84

  • 7/4 = 7 ÷ 4 = 1.75

  • 3/2 = 3 ÷ 2 = 1.5

You can also check the simplification separately. If the original fraction is 84/100, divide both numbers by 4 to get 21/25. Multiplying both parts of 21/25 by 4 takes you back to 84/100.

Remember that an equivalent fraction does not always have to be in simplest form. For example, 6/8 and 3/4 represent the same quantity. The second is simply easier to work with because it has been reduced.

Common Mistakes When Converting Decimals Into Fractions

Even a straightforward conversion can produce an incorrect answer if the decimal place or sign is handled incorrectly.

Using the wrong denominator

The denominator depends on the number of digits after the decimal point. For example, 0.25 becomes 25/100, not 25/10. Similarly, 0.125 starts as 125/1000.

Forgetting to simplify

A fraction such as 25/100 is mathematically correct for 0.25, but it is not in its simplest form. Dividing both parts by 25 gives 1/4.

Dropping the negative sign

If the original value is -0.75, the result must be -3/4. Removing the negative sign changes the number completely.

Confusing an improper fraction with a mixed number

A value such as 2.5 is equal to 5/2 or 2 1/2. It is not just 1/2 because the two whole units must also be included.

Treating rounded decimals as exact repeating values

The decimal 0.33 is exactly 33/100. It is not exactly 1/3. If the original value was rounded, converting the displayed decimal cannot restore the digits that were left out.

Assuming trailing zeros change the value

The numbers 0.5, 0.50, and 0.500 all represent the same mathematical amount. Their simplified fraction is 1/2, even though their original decimal formats differ.

What is Decimal to Fraction Calculator?

Converts floating-point decimals into exact fractional representations (p/q) reduced to lowest terms by dividing numerator and denominator by their greatest common factor.

How to Use This Calculator

  1. Enter any positive or negative decimal number.
  2. Review the equivalent reduced fraction and mixed number.

The Mathematical Formula & Variables

Multiply by 10^k where k is decimal digits, then reduce by GCD

Step-by-Step Worked Example

Scenario: Convert 0.375 to a simplified fraction.

  1. 3 decimal places: 0.375 = 375 / 1000.
  2. GCD(375, 1000) = 125.
  3. 375 / 125 = 3; 1000 / 125 = 8.

Result: 3/8

Frequently Asked Questions

How do I convert a decimal into a fraction in simplest form?

Write the digits after the decimal point over a denominator based on their place value. For example, 0.45 becomes 45/100. Then divide the numerator and denominator by their greatest common divisor, which is 5. The simplified fraction is 9/20.

How do I convert a decimal greater than 1 into a mixed number?

First convert the decimal into an improper fraction, then divide the numerator by the denominator. The quotient becomes the whole-number portion, and the remainder becomes the numerator of the fractional part. For example, 2.75 = 275/100 = 11/4 = 2 3/4.

Can a negative decimal be converted into a fraction?

Yes. Convert the digits in the same way as a positive decimal and retain the negative sign. For example, -0.8 becomes -8/10, which simplifies to -4/5.

Why does the calculator show a greatest common divisor?

The GCD identifies the largest number that divides both the original numerator and denominator without leaving a remainder. It helps reduce the fraction to its simplest form.

Does adding zeros after a decimal change its fraction?

No. Adding zeros to the right of a decimal does not change its value. For example, 0.75, 0.750, and 0.7500 all simplify to 3/4.

Is 0.333 the same as 1/3?

No. The decimal 0.333 has a finite number of digits and equals 333/1000. The fraction 1/3 produces 0.333333... with the digit 3 repeating forever. They are close in value, but not exactly equal.

How do I convert decimal inches into fractions?

Treat the decimal part as a fraction using its place value, then simplify it. For example, 0.625 inches becomes 625/1000 inches, which reduces to 5/8 inch. If the measurement includes a whole-number portion, such as 2.375 inches, the result is 2 3/8 inches.

Can every terminating decimal be written as a fraction?

Yes. Every terminating decimal can be expressed as a fraction with an integer numerator and a denominator that is a power of 10. That fraction can then be simplified.

What is the difference between an improper fraction and a mixed number?

An improper fraction has a numerator greater than or equal to its denominator, such as 7/4. A mixed number expresses the same value as a whole number and a proper fraction, such as 1 3/4. Both forms are equivalent.

Why might my fraction differ from an answer in a textbook?

Check whether the textbook uses an exact value or a rounded decimal. For example, 0.1667 converts to 1667/10000, whereas the exact fraction 1/6 has a repeating decimal of 0.166666... The answers differ because the decimal was rounded before conversion.