CalcWise All calculators

Numbers and fractions

Ratio calculator

Simplify a ratio like 12 : 18, or keep the same ratio while changing one side, for example to scale a recipe or read a map.

Press Calculate to see the answer and every step of the working.

How it works

A ratio compares two amounts by size. A class with 12 girls and 18 boys has a girl-to-boy ratio of 12 : 18. Because both numbers can be divided by 6, the same ratio can be written as 2 : 3. That means for every 2 girls there are 3 boys, which is far easier to picture.

To scale a ratio, find how many times bigger (or smaller) the new value is than the old one. That number is the scale factor. Multiply the other side by the same factor and the ratio stays the same. This is how recipes are doubled and how map distances are turned into real ones.

The formula

  • Simplify: divide A and B by their greatest common factor
  • Scale factor k = C ÷ A
  • Missing value D = B x k, so A : B = C : D

Worked example

A pancake recipe uses 3 cups of flour to 5 cups of milk. You are cooking for a whole team and want to use 12 cups of flour. The scale factor is 12 ÷ 3 = 4, so you need 5 x 4 = 20 cups of milk. That is a lot of pancakes.

Simplifying: 12 : 18. The greatest common factor is 6, so the ratio is 2 : 3. Out of every 5 students, 2 are in group A, which is 40%.

Common questions

Does the order of a ratio matter?

Yes. 2 : 3 girls to boys is different from 2 : 3 boys to girls. Always write the ratio in the order the question asks for.

How do I simplify a ratio with decimals?

Multiply both sides by 10, 100 or 1,000 until they are whole numbers, then simplify. 1.5 : 2.5 becomes 15 : 25, which is 3 : 5.

What is the difference between a ratio and a fraction?

A ratio compares part to part (2 girls : 3 boys). A fraction compares part to whole (2 out of 5 students are girls, so 2/5).