Find your calculator

Use arrow keys, Enter to open, Escape to close.

Browse the full directory
Math & Numbers / Free online tool

Ratio Calculator

Simplify ratios, scale two quantities, or solve the missing quantity in a proportion.

Your inputs

Try a worked example

Scale the 2:3 quantities by 4 to get 8:12.

Calculated in your browser. Your inputs stay on this device.

Starting values are examples. First click or keyboard focus clears an example so you can enter yours. Reset restores the examples.

Your result

Enter your values to calculate.

Compare scenarios

Keep up to three results and their inputs during this visit. Reset clears the comparison.

Behind the answer

Simplify: a/gcd(a,b) : b/gcd(a,b); scale: a×factor : b×factor; proportion: D = B×C/A

How to use this calculator

Choose simplification, scaling, or a missing-proportion calculation. Simplification divides by the greatest common divisor. Scaling multiplies both quantities by the same positive factor. In A/B = C/D, enter A, B and C to find D. Proportion mode can solve any one of A, B, C or D using the other three.

  1. Enter calculation, missing proportion quantity, first quantity (a) and review the remaining options.
  2. Select Calculate or change a value to update the result. Read the result label and units before copying.
  3. Use Reset to restore the worked starting values.

Formula and method

Simplify: a/gcd(a,b) : b/gcd(a,b); scale: a×factor : b×factor; proportion: D = B×C/A

A and B are nonnegative integers and cannot both be zero. Proportion mode requires positive A, B and C so neither denominator is zero. Scaling accepts a positive decimal factor.

Worked example

12:18 simplifies to 2:3.

Questions about ratio calculator

Can one quantity in the ratio be zero?

Yes in simplify or scale mode: 0:5 simplifies to 0:1. Both quantities cannot be zero. Proportion mode solves A/B = C/D for the selected missing value; known values must satisfy the displayed positive-value restrictions.

What assumptions should I check?

A and B are nonnegative integers and cannot both be zero. Proportion mode requires positive A, B and C so neither denominator is zero. Scaling accepts a positive decimal factor.

Are my inputs saved?

Calculations run in your browser. We store only tool IDs for favorites and recent tools. A calculation link contains your inputs only when you explicitly choose to copy one.