Maths & numbers

Fraction calculator

Add, subtract, multiply or divide exact fractions.

Fraction calculator
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

Integer fractions are calculated exactly using BigInt, then reduced by the greatest common divisor. Denominators cannot be zero. The decimal approximation is rounded.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

First numerator
1
First denominator
3
Operation
Add (+)
Second numerator
1
Second denominator
6

Example result

Simplified fraction
1/2
Decimal approximation
0.5