Ratio & proportion

Ratio Simplifier

Reduce a two-part ratio even when the inputs contain decimals or a negative sign. CalcFlow uses controlled decimal scaling and an exact BigInt greatest common divisor, then explains the scale and division.

● Runs locally
Example values
Runs in your browser · No account required

Ratio Simplifier

Simplified ratio
01

Formula

scale decimals → integers · divide both by gcd

Move both terms to a shared integer scale, compute their absolute GCD, divide, and normalize the sign to the first term.

02

Assumptions

  • At most nine decimal places are rationalized.
  • 0:0 is undefined; a ratio with one zero remains valid.

Both terms should represent compatible quantities. The simplified ratio itself is unitless.

03

Formula review

Formula v1.0.0

Reviewed 2026-08-03

CalcFlow engineering review

Worked example

Ratio Simplifier: Worked example

1.5:2.25 scales to 150:225. Their GCD is 75, so division gives the reduced ratio 2:3.

Frequently asked questions

Frequently asked questions

Can a ratio contain decimals?

Yes. CalcFlow moves both decimals to a common integer scale before finding the GCD.

Can a ratio be negative?

Yes. The sign is normalized to the first term so equivalent forms have one consistent display.

Why is 0:0 invalid?

Both terms have no defined relative scale, and every multiplier would produce the same pair.