Decimal to Fraction Calculator

Convert any decimal to a fraction instantly with our free Decimal to Fraction Calculator. Shows simplified fractions, mixed numbers, and step-by-step work.

866.7K usesUpdated · 2026-04-26Runs locally · zero upload

How to Use Decimal to Fraction Calculator

The Decimal to Fraction Calculator converts any decimal number to its equivalent fraction in just one step.

  1. Enter your decimal — Type the decimal value into the input field. The Decimal to Fraction Calculator accepts positive numbers, negative numbers, and whole integers (e.g. 0.75, -1.5, 3).
  2. Read the result — The Decimal to Fraction Calculator instantly displays the simplified fraction in the result panel on the right.
  3. Check the steps — Scroll down in the result panel to see the full conversion steps, including the raw fraction, the GCD, and the simplified form.

The Decimal to Fraction Calculator also shows the mixed fraction whenever the result is an improper fraction (numerator > denominator), making it easy to interpret values like 1 3/4 instead of 7/4.

Formula & Theory — Decimal to Fraction Calculator

The Decimal to Fraction Calculator uses integer arithmetic to guarantee exact results for finite decimals.

Step 1 — Write the decimal as a fraction over a power of 10:

$$\text{decimal} = \frac{\text{decimal} \times 10^n}{10^n}$$

where $n$ is the number of decimal places. For example, $0.75 = \frac{75}{100}$.

Step 2 — Find the Greatest Common Divisor (GCD):

$$\gcd(75,,100) = 25$$

Step 3 — Divide both by the GCD:

$$\frac{75}{100} = \frac{75 \div 25}{100 \div 25} = \frac{3}{4}$$

Symbol Meaning
$n$ Number of decimal places
$10^n$ Denominator before simplification
$\gcd(a,b)$ Greatest common divisor of numerator and denominator

The Decimal to Fraction Calculator applies this algorithm automatically for every value you enter, showing each step in human-readable form so you can follow along and verify the result.

Negative Decimals and Integers

For a negative decimal, the Decimal to Fraction Calculator applies the same algorithm to the absolute value and then restores the negative sign. For a whole integer, the result is simply $n/1$, and no simplification is needed.

Use Cases for Decimal to Fraction Calculator

The Decimal to Fraction Calculator is useful in a wide range of academic and everyday scenarios:

  • Math homework — Students learning fractions can use the Decimal to Fraction Calculator to check their manual work and understand each conversion step.
  • Cooking and recipes — Convert decimal measurements (e.g., 0.25 cups) into recognizable fractions (1/4 cup) with the Decimal to Fraction Calculator.
  • Engineering and manufacturing — Tolerances and dimensions often need to be expressed as fractions; the Decimal to Fraction Calculator speeds up this conversion.
  • Finance — Interest rates or ratios given as decimals can be expressed as fractions for clearer comparisons.
  • Teaching — Educators can use the Decimal to Fraction Calculator step-by-step output to demonstrate GCD-based simplification to students.

Whether you are a student, a professional, or simply need a quick reference, the Decimal to Fraction Calculator gives you an accurate answer and the reasoning behind it in seconds.

Frequently asked questions about Decimal to Fraction Calculator

How does the Decimal to Fraction Calculator work?

The Decimal to Fraction Calculator counts the decimal places, writes the decimal as a fraction over the corresponding power of 10, then divides both numerator and denominator by their GCD to produce the simplest form.

Can the Decimal to Fraction Calculator handle negative decimals?

Yes. The Decimal to Fraction Calculator supports positive and negative decimals, integers, and finite decimals such as -0.5 or -1.25.

What is a mixed fraction and when does the Decimal to Fraction Calculator show one?

A mixed fraction combines a whole number and a proper fraction, such as 1 3/4. The Decimal to Fraction Calculator displays the mixed fraction whenever the simplified result is an improper fraction greater than 1.

Is my data stored?

No. All calculations happen in your browser; nothing is sent to a server.