Decimal to Fraction Converter

Convert decimals to simplified fractions

Common Conversions

0.5

1/2

0.25

1/4

0.75

3/4

0.333

1/3

0.666

2/3

0.125

1/8

0.2

1/5

0.1

1/10

How It Works

  1. Count the decimal places (e.g., 0.75 has 2 decimal places)
  2. Write the number as a fraction with denominator as power of 10 (75/100)
  3. Find the GCD of numerator and denominator
  4. Divide both by GCD to get simplified fraction (3/4)

What is Decimal to Fraction Conversion?

Decimal to fraction conversion is the process of expressing a decimal number — a value written with a decimal point — as a ratio of two integers, where the top number (numerator) is divided by the bottom number (denominator). This conversion is useful in mathematics, cooking, construction, and any context where exact fractional values are preferred over decimal approximations.

Every terminating decimal can be written as a fraction. The number of decimal places determines the denominator: one decimal place means a denominator of 10, two places means 100, three places means 1000, and so on. For example, 0.75 has two decimal places, so it can initially be written as 75/100. The fraction can then be simplified by dividing both numerator and denominator by their greatest common divisor (GCD), yielding 3/4.

This calculator performs the complete conversion process automatically. Enter any decimal number and instantly receive the simplified fraction, the mixed number form (when the value exceeds 1), and additional useful representations. The tool handles both positive and negative decimals, and it shows the step-by-step logic so you can understand how each result is derived.

The Conversion Formula

The conversion relies on counting decimal places to determine the initial denominator, then simplifying using the greatest common divisor.

Decimal to Fraction

Fraction = (Decimal × 10^n) / 10^n, then simplify by GCD

Where:

  • Decimal= The decimal number to convert
  • n= Number of decimal places in the input
  • 10^n= Powers of 10 — the initial denominator
  • GCD= Greatest common divisor used to simplify the fraction

The Step-by-Step Process

The conversion follows four clear steps. First, count the number of decimal places in the input. If the number is 0.125, there are three decimal places. Second, write the number as a fraction by placing the digits without the decimal point over 10 raised to the power of the number of decimal places. So 0.125 becomes 125/1000.

Third, find the greatest common divisor of the numerator and denominator. The GCD of 125 and 1000 is 125. Fourth, divide both the numerator and denominator by the GCD to obtain the simplified fraction. In this case, 125 divided by 125 equals 1, and 1000 divided by 125 equals 8, giving the simplified fraction 1/8.

For numbers greater than 1, the calculator also provides a mixed number representation. For instance, 2.75 becomes 2 and 3/4. The whole number part is separated, and only the fractional remainder undergoes the GCD simplification process. Negative decimals are handled by placing the negative sign in front of the fraction or mixed number.

How to Use This Calculator

Using the decimal to fraction converter is straightforward:

  1. Enter a decimal number: Type any decimal value into the input field, such as 0.5, 2.25, or -0.333.
  2. View the fraction result: The simplified fraction appears immediately in the main result area.
  3. Check the mixed number: For decimals greater than 1, the mixed number form (whole number plus fraction) is displayed alongside the fraction.
  4. Explore common conversions: Quick-reference buttons show common decimal-to-fraction pairs like 0.5 = 1/2 and 0.75 = 3/4.

The calculator handles both positive and negative values and automatically simplifies fractions to their lowest terms.

Real-World Applications

Decimal to fraction conversion is critical in baking and cooking. Recipes frequently call for fractional measurements like 1/4 cup or 3/8 teaspoon, but digital scales often display weights in decimal form. Converting between these formats ensures recipe accuracy and consistent results. A scale reading of 0.75 cups needs to be understood as 3/4 cup for proper measuring with standard kitchen tools.

In construction and carpentry, measurements are routinely expressed in fractions of an inch. A measurement of 0.625 inches on a digital caliper translates to 5/8 inch, which is the marking on standard tape measures and ruler scales. Professionals who work with both digital and analog measurement tools need this conversion skill.

Mathematics education also benefits from decimal-to-fraction conversion. Understanding the relationship between decimals and fractions strengthens number sense and helps students grasp concepts like equivalent fractions, simplification, and the connection between different representations of the same value. This foundational skill supports more advanced topics like ratios, proportions, and algebraic manipulation.

Worked Examples

Converting 0.75 to a Fraction

Problem:

Convert the decimal 0.75 to a simplified fraction.

Solution Steps:

  1. 1Count decimal places: 0.75 has 2 decimal places
  2. 2Write as fraction over 100: 75/100
  3. 3Find GCD of 75 and 100: GCD = 25
  4. 4Divide both by 25: 75 ÷ 25 = 3, 100 ÷ 25 = 4

Result:

0.75 = 3/4

Converting 2.125 to a Mixed Number

Problem:

Convert 2.125 to a mixed number.

Solution Steps:

  1. 1Separate the whole number: 2 + 0.125
  2. 2Convert 0.125: 3 decimal places → 125/1000
  3. 3GCD of 125 and 1000 = 125
  4. 4Simplify: 125 ÷ 125 = 1, 1000 ÷ 125 = 8
  5. 5Combine whole and fractional parts: 2 + 1/8

Result:

2.125 = 2 1/8

Converting -0.6 to a Fraction

Problem:

Convert the negative decimal -0.6 to a fraction.

Solution Steps:

  1. 1Work with the absolute value: 0.6
  2. 21 decimal place → 6/10
  3. 3GCD of 6 and 10 = 2
  4. 4Simplify: 6 ÷ 2 = 3, 10 ÷ 2 = 5
  5. 5Reapply the negative sign: -3/5

Result:

-0.6 = -3/5

Tips & Best Practices

  • Terminating decimals always convert to fractions with denominators that are powers of 10
  • Use the GCD to simplify fractions — the Euclidean algorithm is the fastest method
  • Mixed numbers are more practical for everyday use than improper fractions
  • Repeating decimals like 0.333... can also be converted using algebraic methods
  • Practice common conversions: 0.5 = 1/2, 0.25 = 1/4, 0.125 = 1/8, 0.333 = 1/3
  • Negative decimals convert to negative fractions — keep the sign separate from the conversion

Frequently Asked Questions

Every terminating decimal (one that ends) can be expressed as an exact fraction. However, repeating decimals like 0.333... can also be written as fractions, though the process is different — it involves algebraic manipulation. Irrational numbers like π or √2 cannot be expressed as exact fractions because their decimal expansions never terminate or repeat.
A fraction consists of a single numerator over a denominator, such as 7/4. A mixed number combines a whole number with a proper fraction, such as 1 3/4. Both represent the same value — 7/4 equals 1 3/4 — but mixed numbers are often easier to visualize and use in everyday contexts like cooking or construction.
To simplify a fraction, find the greatest common divisor (GCD) of the numerator and denominator, then divide both by that number. For example, to simplify 75/100, the GCD of 75 and 100 is 25, so dividing both by 25 gives 3/4. The GCD can be found using the Euclidean algorithm or by listing factors.
The greatest common divisor (GCD) is the largest positive integer that divides both numbers evenly. For example, the GCD of 12 and 18 is 6. The most efficient method to find it is the Euclidean algorithm: repeatedly replace the larger number with the remainder of dividing the two numbers until one becomes zero. The other number is the GCD.
Decimal to fraction conversion is useful in cooking (recipes use fractions), construction (measurements in fractional inches), mathematics education (understanding number relationships), and any situation where exact ratios are preferred over decimal approximations. Fractions also make certain comparisons and calculations more intuitive.

Sources & References

Last updated: 2026-06-06

💡

Help us improve!

How would you rate the Decimal to Fraction Converter?

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

Source

Formula Source: NIST Guide to SI Units

by National Institute of Standards

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.