Math / CALCULATOR

Ratio Calculator

Simplify a two-part ratio or scale it to a new first value.

Use non-negative numbers with up to six decimal places for quantities such as ingredients or proportions.

Your calculation

Enter your values below.

Your calculation is not saved.

Use a decimal point. For single values, enter 1500 rather than 1,500.
YOUR RESULT · Calculating…

Ready when
you are.

Enter your values and select Calculate.

Calculated with unrounded values. Display precision follows each result.

THE WORKING

How this calculator works

Values are scaled to integers at six-decimal precision and divided by their greatest common divisor. Equivalent mode keeps B/A constant when the new A is supplied. A ratio of 0:0 is undefined; a ratio with just one zero can be simplified, but scaling from A=0 is undefined.

The formula

Simplified ratio = A/g : B/g after equal decimal scaling
Equivalent B = New A × B / A.

A quick example

20:30 simplifies to 2:3. For 2:3 = 10:x, x = 10 × 3 / 2 = 15.

How to use this calculator

  1. Choose simplification or equivalent-ratio mode.
  2. Enter A and B; equivalent mode also needs the new A.
  3. Calculate the simplest integer ratio and any missing equivalent value.

A few common questions

Can I enter decimals?
Yes, up to six decimal places, with each original value no larger than one million.
Can one side be zero?
Yes, for simplification. Both sides cannot be zero and equivalent mode requires a nonzero A.
Can I resize an image here?
A ratio helps, but the Aspect Ratio Calculator provides labeled width and height controls.

Was this calculator useful?

Report an issue

Recently used