Decimal to Fraction Calculator

Turn a positive or negative terminating decimal into an exact simplified fraction—without floating-point guessing.

Try an example:

Quick guide

How to convert a decimal to a fraction

  1. Enter a terminating decimal such as 0.125 or -2.75.
  2. Select Convert to fraction.
  3. Read the exact lowest-term fraction, mixed number, and reduction steps.

Use decimal places to choose the denominator

One decimal place uses 10, two places use 100, three places use 1,000, and so on. Remove the decimal point to get the numerator, then reduce.

0.125 = 125/1000

The GCF of 125 and 1,000 is 125.

125/1000 = 1/8

Terminating versus repeating decimals

A terminating decimal has a finite number of digits, so it can be converted exactly using a power of ten. Repeating decimals require a different algebraic method and are intentionally outside this calculator's input format.

Frequently Asked

Decimal to Fraction Calculator – Frequently Asked Questions

Common questions, edge-cases, and mathematical explanations.

How do you convert a decimal to a fraction?

Write the decimal digits over a power of ten based on the number of decimal places, then reduce by the greatest common factor.

Can the calculator convert negative decimals?

Yes. A leading minus sign is preserved in the fraction and mixed-number results.

Does it support repeating decimals?

This version converts terminating decimals exactly. Repeating notation such as 0.3̅ is not accepted.

Why is 0.75 equal to 3/4?

0.75 is 75/100. Dividing both terms by their greatest common factor, 25, gives 3/4.