Skip to main content

Decimal to Fraction Calculator

Best-fit fraction for a decimal, searching denominators up to the cap you set.

Rated 4.7 out of 5 based on 340 reviews

Results

How to use Decimal to Fraction Calculator

  1. Enter decimal, max denominator. Leave a field blank only when the page says the value is missing.
  2. Read the result rows under the form. Errors appear in the status line. Nothing is uploaded.
  3. Rounding follows IEEE floating point in this browser unless the page says it uses integers or BigInt.

Decimal to Fraction Calculator

Best-fit fraction

ComputesBest-fit fraction for a decimal, searching denominators up to the cap you set.
IncludesBest-fit fraction
IncludesMixed number
Enginepercentage
UploadNone
AdviceArithmetic only

What Decimal to Fraction Calculator is

0.375 is 3/8. The search picks the smallest denominator that matches within floating error, up to max denominator. Repeating 0.333… toward 1/3 depends on how many 3s you typed.

The formula runs in this tab. CZNull does not receive the numbers.

How this page computes

The inverse is fraction to decimal. Exact fraction math is fraction.

Entities and related jobs

Best-fit fraction for a decimal, searching denominators up to the cap you set. Named features: Best-fit fraction, Mixed number.

See also Fraction to Decimal Calculator, Fraction Calculator, Percentage to Fraction, Percentage Calculator, Scientific Calculator, GCD Calculator.

Use cases

Turning calculator output back into a fraction for homework.

Limits

Invalid input appears in the status line. IEEE floating point applies unless a row says otherwise. CZNull does not receive the numbers.

Decimal to Fraction Calculator questions

Does this page upload my numbers?
No. The formula runs in the page you opened. CZNull does not receive the values.
What does Decimal to Fraction Calculator compute?
0.375 is 3/8.
Why is this its own URL?
Search queries name this job. Nearby modes stay on their own pages so inputs do not mix. Related calculators are linked below Decimal to Fraction Calculator.
0.375?
3/8.
Method?
Continued fractions under your max denominator.
Can I treat the result as official?
No. Rounding and real-world rules can differ. Use the page to check the arithmetic.