Fraction & Decimal Calculator

Pick a mode: simplify, fraction → decimal, or decimal → fraction.

Result
2/3
= 0.666667

How it works

We use the greatest common divisor (GCD) for simplification and continued fractions for decimal-to-fraction conversion.

Formula

Simplified = (num ÷ GCD) / (den ÷ GCD)

Worked example

8/12 = 2/3. 0.625 = 5/8.

FAQ

Negative numbers?
Yes.
Repeating decimals?
We approximate to the best rational.
Where it helps?
Cooking, sewing, school math.

Related calculators