Decimal to Fraction Calculator

Convert a decimal to a simplified fraction and percentage. Enter a positive or negative decimal to see its fraction representation.

Enter a decimal

The calculator finds a rational approximation with a practical denominator limit.

Your result

Fraction equivalent

Updates automatically as you change the inputs.

Fraction
3/8
Decimal0.375
Percentage37.5%

How to use the decimal to fraction calculator

Enter a decimal value. Terminating decimals are converted exactly when possible, while repeating or long decimals are approximated with a denominator up to the calculator's limit.

Decimal-to-fraction method

Calculation formulaDecimal-to-fraction method
Used for the result above
Represent the decimal as a rational number, then divide numerator and denominator by their greatest common divisor.

For example, 0.375 equals 375/1000. Dividing both by 125 gives 3/8.

Example: Noah converts 0.625

Noah needs to express 0.625 as a fraction. Writing it as 625/1,000 and dividing both numbers by 125 gives 5/8. The same value is 62.5%.

A rounded repeating decimal may produce an approximate fraction. The tool limits the denominator to keep the result practical; it does not infer unentered repeating digits.

Distinguish a typed decimal from a repeating decimal

The decimal 0.75 equals 3/4 exactly. A typed 0.3333 is a finite decimal; it is different from a repeating 0.333… .

The tool uses a denominator limit of 1,000,000 and a numerical tolerance. Long decimals may therefore produce an approximate fraction rather than an exact representation.

Assumptions and limitations

What the estimate assumes

Irrational numbers cannot be represented exactly as finite fractions; the result is an approximation for such inputs.

Decimal to Fraction Calculator FAQs

How do I convert 0.5 to a fraction?

0.5 = 5/10, which simplifies to 1/2.

What fraction is 0.25?

1/4.

Can repeating decimals be exact fractions?

Yes, many repeating decimals are rational numbers, but a finite decimal input may only approximate the repeating value.

Does the calculator simplify the fraction?

Yes.

Can every terminating decimal be written as a fraction?

Yes. A terminating decimal can be written over a power of ten and then reduced to lowest terms.

For general mathematical use. Some decimal inputs produce rational approximations rather than exact representations.