decimal to fraction conversion calculator

Tip: You can type integers too (like 4), decimals with leading dot (.75), or negative values (-1.25).

What this decimal to fraction calculator does

This calculator converts decimal numbers into fractions in simplest form. It works great for homework, recipe math, measurement conversions, and any situation where you want an exact fraction instead of a decimal value. Enter a number like 0.5, 0.125, or 2.75, and the tool instantly shows:

  • the simplified fraction,
  • the improper fraction format, and
  • the mixed number format (when applicable).

How decimal to fraction conversion works

1) Write the decimal over a place value

A decimal is a fraction whose denominator is a power of 10. For example, 0.75 means 75 hundredths, so it starts as 75/100.

2) Simplify using the greatest common divisor (GCD)

Once the fraction is written, both numerator and denominator are divided by their greatest common divisor. In the case of 75/100, the GCD is 25, giving 3/4.

3) Convert to mixed form when useful

If the numerator is larger than the denominator, the calculator also displays a mixed number. For example, 2.75 becomes 11/4, which is also 2 3/4.

Examples

  • 0.2 → 1/5
  • 0.875 → 7/8
  • 1.25 → 5/4 = 1 1/4
  • -3.6 → -18/5 = -3 3/5
  • 4 → 4/1

Exact fractions vs. simple approximations

Some decimals are long because they are rounded versions of repeating values. For example, 0.3333 is exactly 3333/10000, but many people prefer the simpler nearby fraction 1/3. That is why this calculator can also show a simple approximation using a maximum denominator you choose.

When to use decimal and when to use fraction form

Use decimals when:

  • you need quick comparisons in finance or data tables,
  • you are using calculators or spreadsheets heavily,
  • you care about place-value precision.

Use fractions when:

  • you want exact values in algebra and geometry,
  • you are scaling recipes and measurements,
  • you want cleaner ratios and proportional reasoning.

Quick FAQ

Can I enter negative decimals?

Yes. The sign is preserved in both fraction and mixed-number output.

Can this tool convert whole numbers too?

Absolutely. Whole numbers are shown with denominator 1.

Is the output simplified?

Yes. The exact fraction is always reduced to lowest terms using the GCD method.

Final thoughts

A reliable decimal-to-fraction converter saves time and removes manual simplification mistakes. Whether you're a student, teacher, engineer, DIYer, or cook, this calculator gives clear, fast results and helps you move confidently between decimal and fraction formats.

🔗 Related Calculators