Code tool

Fractions Calculator

Enter two signed fractions to calculate an exact simplified result using integer arithmetic.

In-browser processingNo account requiredPrivacy details ↗

Signed integers only; each field may contain up to 1,000 digits. Denominators cannot be zero.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter numerators and non-zero denominators.
  2. Choose an operation.
  3. Calculate and review the simplified fraction and decimal check.

Exact rational arithmetic

All operations use BigInt integer arithmetic and reduce the result to lowest terms.

Input limits and zero rules

Each field accepts a signed integer of up to 1,000 digits. Denominators cannot be zero, and division by a zero fraction is rejected.

Local processing

All parsing and calculation happen in this browser; values are not uploaded.

GOOD TO KNOW

Common questions

Which operations are supported?

Addition, subtraction, multiplication, and division are supported.

Can I use negative values?

Yes. Negative numerators and denominators are normalized exactly.

Are decimals used for the answer?

The fraction result is exact. A decimal truncated to 12 places is shown only as a display check.