imagecropxlocal files only

Calculators / math

Ratio Calculator

Inputs

Ratio Calculator

Simplify a ratio and scale it to a given part.

Primary result
Ratio
8 : 12

Breakdown

Simplified2 : 3
Scaled B30

Formula

A:B = (A/g):(B/g) where g = gcd(A,B)

The greatest common divisor reduces a ratio. Scaling multiplies both parts by the same factor.

Example

8:12 simplifies to 2:3; if A=20 then B=30

FAQ

Can ratios use decimals?

Yes. They are converted with Decimal precision before simplifying integers when possible.

Related calculators