Simplify fraction

Simplify fraction: use numerator, denominator. Review the formula, worked example and calculation steps.

Inputs

Use the units shown
RESULT
—

Enter your values and select Calculate.

Formula & explanation
Divide numerator and denominator by their greatest common divisor.

Variables & units

Numerator
Numeric value · minimum -1000000000, maximum 1000000000
Denominator
Numeric value · minimum -1000000000, maximum 1000000000

Worked example

12/18 = 2/3.

Assumptions

A negative sign is kept in the numerator.

Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.

Calculated on your device. Your latest 100 calculations stay in this browser.