Decimal to Fraction Calculator

Convert a decimal into the cleanest reduced fraction that fits a chosen denominator limit, showing when the result is exact and when it is an approximation.

Control the denominator, control the tradeoff

The calculator searches for the closest reduced fraction within your denominator limit. A smaller limit gives a simpler fraction; a larger limit can match the decimal more closely.

How to choose a denominator limit

  1. Use 10 for tenths.
  2. Use 100 for cents or percentages.
  3. Use 1000 for three-decimal measurements.
  4. Use 10000 or more when precision matters more than readability.

Loading tool...

Decimal approximation rules

Terminating decimals can often be exact. Repeating and long decimals may depend on the denominator limit.

Approximation searchxnd,1dDmax
Simplified resultgcdn,d=1
Error checkerror=|x-nd|
Terminating decimal0.375=3751000=38
Repeating decimal0.333...=13

Exact, approximate, or repeating?

Read the result with the denominator limit in mind. A close approximation can be useful, but it is different from an exact conversion of a terminating or recognized repeating decimal.

Common examples

  • 0.125 = 1/8.
  • 0.333... = 1/3.
  • 3.14159 can approximate to 355/113 when the denominator limit allows it.

FAQ

Why does the denominator limit matter?

It decides how complex the answer may be. A smaller limit gives a simpler fraction, while a larger limit can match the decimal more closely.

Are repeating decimals converted exactly?

They can be exact when the repeating pattern is recognized and the needed denominator is allowed. Otherwise, the calculator returns the closest simplified fraction within the limit.