Ratio Calculator

Ratio Calculator: Simplify a two-number integer ratio to its lowest terms.

Ratio Calculator

Ratio Calculator: Enter two integers. The tool divides both numbers by their greatest common divisor to make the simplest equivalent ratio.

Loading the tool...

✓ Your inputs stay in this browser

How to use Ratio Calculator

Enter two integers. The tool divides both numbers by their greatest common divisor to make the simplest equivalent ratio.

How Ratio Calculator calculates the result

Find the greatest common divisor (GCD) of both whole numbers, then divide each by the GCD. For example, 12:18 becomes 2:3 because GCD(12,18) = 6.

Example

A ratio of 12 to 18 simplifies to 2:3.

What to know

Only whole-number inputs are accepted. The ratio 0:0 has no defined simplest form.