Calculator Problems

How to Calculate a Ratio

Ratios show how two or more quantities compare. Whether you are scaling a recipe, comparing measurements, or working through a maths problem, simplifying the ratio makes the relationship easier to understand.

Last updated: 2 November 2026

Open Ratio Calculator →

Step-by-step

  1. Identify the quantities you want to compare.
  2. Write the values in the same order as the comparison in your question.
  3. Check that both values use compatible units.
  4. Simplify the ratio by dividing each value by their greatest common divisor when applicable.
  5. Use the result to check the comparison or calculate an equivalent ratio.

How ratio simplification works

A ratio such as 12:8 can be simplified by dividing both numbers by 4, giving 3:2. Keep the order of the quantities intact because 3:2 and 2:3 describe different relationships.

Avoid mixing units

Convert values to compatible units before comparing them. For example, compare centimetres with centimetres rather than mixing centimetres and metres without conversion.

Worked examples

To simplify 12:18, divide both numbers by 6 to get 2:3.

To find the missing value in 3:4 = 9:x, multiply 9 by 4 and divide by 3, which gives x = 12.

To split 100 in the ratio 2:3, add the parts (5), divide 100 by 5 to get 20, then multiply: 40 and 60.

To scale 2:3 by 4, multiply both parts to get 8:12.

USE THE TOOL

Finish the task with DevUtilityKits

Use the relevant online utility, check the result, and continue with your development workflow.

Open Ratio Calculator →
FAQ

Frequently asked questions

How do you simplify a ratio?

Divide every part of the ratio by the same common factor, ideally the greatest common divisor, while preserving the order.

Can I calculate equivalent ratios?

Yes. Multiply or divide every part of a ratio by the same non-zero factor to create an equivalent ratio.

How do I find a missing value in a proportion?

Cross-multiply. In A:B = C:x, the missing value is C × B ÷ A.

How do I divide a number in a given ratio?

Add the ratio parts, divide the total by that sum, then multiply by each part. Splitting 100 in the ratio 2:3 gives 40 and 60.