Decimal to Fraction Calculator

Convert a decimal to a simplified fraction

Enter a decimal and get the simplest fraction form. You can also round the input and show a mixed number for easier reading.

Decimal to fraction conversion for homework, shopping, and real-world measurements

This decimal to fraction calculator converts a decimal number into a fraction in simplest form. It is useful when a value is shown as a decimal but you need a fraction for a recipe, construction measurement, schoolwork, test prep, or any situation where fractions are more readable than long decimals. A common example is converting 0.75 into 3/4, or turning 2.125 into 17/8. The calculator supports negative decimals, whole numbers, and typical “everyday” decimals that come from rounding or measurements.

In the simplest case, a decimal that ends (a terminating decimal) can be converted exactly. For example, 2.75 means “two and seventy five hundredths.” That is 275/100, which simplifies to 11/4. The simplification step matters because it gives the cleanest fraction. A clean fraction is easier to compare, easier to use in later calculations, and reduces mistakes. If you prefer, you can also show the result as a mixed number, such as 2 3/4 instead of 11/4.

Not all decimals end neatly. Many decimals are repeating in reality, even if they are displayed as rounded values. For example, 0.3333 is often a rounded display of the repeating decimal 0.333333..., which equals 1/3. The calculator includes an optional maximum denominator setting to handle these cases. When the decimal cannot be represented exactly from the typed digits, the calculator finds a close fraction approximation with a denominator limit. This is a practical approach for real-world use because it avoids huge denominators that are not meaningful in everyday scenarios.

To use the calculator, type your decimal in the input field and click the convert button. If you want a quick answer, leave the optional fields blank. If you want more control, you can round the input to a specific number of decimal places before conversion. This is helpful when your decimal comes from a measurement tool or a report that is already rounded. You can also set a maximum denominator to force simple fractions like 1/3, 7/8, or 13/16 instead of unusually large denominators. Finally, you can enable mixed number output and calculation notes to see how the result was produced.

The result area shows the simplified fraction first. If mixed numbers are enabled and the fraction is improper, it also shows a mixed form. When the calculator uses an approximation, it will tell you that the result is the closest fraction under your denominator limit. This makes it easier to judge whether the fraction is appropriate for your use case. For example, for pricing and budgeting, a small approximation error might be fine. For engineering tolerances, you may want to increase the maximum denominator or avoid rounding.

Assumptions and how to use this calculator

  • If the decimal has a limited number of digits after the point, the calculator treats it as a terminating decimal and converts it exactly after trimming trailing zeros.
  • If the input is very long or uses scientific notation, the calculator may use an approximation method and a maximum denominator to keep the output practical.
  • If you enter a rounding value, the calculator rounds the decimal first, then converts the rounded value (this can change the exact fraction).
  • The “maximum denominator” setting exists to keep fractions readable; smaller limits favor simpler fractions but may reduce accuracy.
  • Mixed number output is a display choice only; it does not change the underlying fraction or its numeric value.

Common questions

Why does the calculator sometimes say the result is an approximation?

Some decimals cannot be represented exactly as a simple fraction from a standard rounded display. For example, 0.1 is exactly 1/10 if you mean one tenth, but many values shown on screens are rounded versions of repeating values. When the calculator cannot reliably convert the typed digits into a clean exact fraction (or when the number is effectively a floating value), it finds the closest fraction under a maximum denominator so you get a usable result.

What should I set for the maximum denominator?

If you want simple fractions for everyday use, 1000 to 10000 is usually enough. If you are working with common measurement fractions like sixteenths or thirty-seconds, a limit like 64, 128, or 256 can help the calculator prefer those styles. If you need higher precision, increase the limit, but be aware that larger denominators can produce fractions that are hard to interpret and easy to misread.

How does rounding affect the fraction?

Rounding changes the value you convert. For example, 0.3333 rounded to 2 decimal places becomes 0.33, which converts to 33/100. Without rounding, the calculator can often find a better fraction approximation like 1/3 under a reasonable denominator limit. Use rounding when your source value is already rounded and you want the fraction to match what is shown, not what the “true” repeating value might be.

Does it handle negative decimals and whole numbers?

Yes. A negative sign is preserved in the fraction. Whole numbers like 5 convert to 5/1, and the simplified fraction display will show them cleanly as an integer where appropriate.

How can I check if the fraction is correct?

You can divide the numerator by the denominator to confirm it matches the decimal. If the calculator indicates an approximation, compare the fraction value to your original decimal and decide if the difference is acceptable. If not, remove rounding, increase the maximum denominator, or enter more digits of the decimal if you have them.

Last updated: 2025-12-17