Calculate fractions

Add, subtract, multiply or divide fractions exactly, then simplify the result.

Local processing · Nothing is uploaded · 1 MB input limit

Input & settings

Enter the values below. No file is needed.
Ready. Enter your input to begin.

How to use this tool

Enter integer numerators and nonzero integer denominators. The simplified numerator and denominator are returned as exact strings.

Limits and behavior

Integers are limited to ±10^9. Exact fraction arithmetic uses BigInt; the decimal approximation uses 12 significant digits and an absolute maximum of 10^15. Division by a zero fraction is rejected. Input is limited to 1 MB and output to 3 MB. No input content is saved by CraftAI.

Calculate arithmetic with fractions

Enter supported fractions to add, subtract, multiply or divide and reduce the result to simplest terms.

Can division by a zero fraction work?

No. Dividing by zero is undefined, and the tool should reject it.

Related tools: calculate ratios and proportions · calculate percentage

Built on Hatchable