Skip to main content
MathKit

Decimal to Fraction Calculator

Type any decimal value and get the nearest clean fraction, plus the decimal for reference.

Calculator

Use the Decimal to Fraction Calculator

Result

—

Formula

approximate decimal as a/b

Step-by-step

  1. 1

    Enter the decimal

    Any finite decimal works, e.g. 0.375.

  2. 2

    Read the fraction

    The result shows the closest simple fraction.

Worked example

Example input: value: 0.75

Result: 3/4

Related tools

Frequently asked questions

How does 0.375 become a fraction?

Exactly 3/8. The calculator runs a continued-fraction refinement until the guess matches the decimal to within one part in 10,000,000,000, so terminating decimals always land on their clean integer fraction. Kitchen measuring cups use the same idea: 0.75 reads naturally as three quarters on the counter.

What about repeating decimals like 0.333...?

Enter enough digits — 0.3333333333 — and the parser snaps to 1/3 without rounding noise. Ten or more repeated digits is the practical rule; short inputs such as 0.33 stay ambiguous between 1/3 and 33/100.

Does it accept negative decimals?

Yes — the sign carries over and the fraction keeps it: -0.5 converts to -1/2 rather than breaking. Integers convert too, appearing as n/1 in lowest terms.

Useful links