Math Tools

Ratio Calculator

A ratio compares two or more quantities, like 12:18. To simplify it, divide every term by their greatest common divisor (6), giving 2:3. To find a missing value in A:B = C:D, cross-multiply so A × D = B × C, then solve for the blank.

Ratio Calculator

Instant resultsYour answer in one click, in seconds.
100% freeNo sign-up. Your numbers stay in your browser.
Works everywhereOn desktop, tablet and mobile.
Shows its workingStep-by-step math with cited sources.

More ratio calculators

Every calculator shows its working, runs in your browser, and explains what your result means.

How to use the ratio calculator

The calculator has four modes, one for each of the ratio problems people run into most:

  • Simplify reduces a ratio such as 45:60 to its lowest terms (3:4). It also shows the ratio as a fraction, a decimal and the share each part has of the total. Add a third number if you are working with a three-part ratio like 2:3:5.
  • Solve A:B = C:D finds a missing value. Fill in any three boxes, leave the fourth blank, and press Calculate. This is the classic “if 4 eggs make 12 pancakes, how many eggs for 30?” problem.
  • Ratio table lists equivalent ratios. Enter 2:3 and you get 4:6, 6:9, 8:12 and so on. Teachers use these to show that scaling both sides keeps the relationship the same.
  • Divide a total splits an amount by a ratio. Use it to share $1,200 between two people at 2:3, divide a recipe, or split a bill fairly.

Every answer comes with the working, so you can check it or copy the method into homework.

What is a ratio?

A ratio tells you how much of one thing there is compared with another. If a class has 12 girls and 18 boys, the ratio of girls to boys is 12:18, read “12 to 18”. It does not tell you the size of the class. It tells you the relationship between the two groups.

Ratios can be written three ways, and they all mean the same thing:

Written as Example
With a colon 12:18
With the word “to” 12 to 18
As a fraction 12/18

The order matters. 12:18 (girls to boys) is not the same as 18:12 (boys to girls).

How to simplify a ratio by hand

Simplifying makes a ratio easier to read without changing what it means.

  1. List the terms. Example: 12:18.
  2. Find the greatest common divisor. The largest number that divides both 12 and 18 is 6.
  3. Divide every term by it. 12 ÷ 6 = 2 and 18 ÷ 6 = 3, so 12:18 = 2:3.

If you cannot spot the GCD straight away, divide by any common factor and repeat. 12:18 ÷ 2 = 6:9, then ÷ 3 = 2:3. You land in the same place.

Ratios with decimals: multiply every term by the same power of ten to clear the decimals first. 0.75:1.25 × 100 = 75:125, which simplifies to 3:5.

How to solve a proportion

A proportion says two ratios are equal: A:B = C:D. Because the ratios are equal, the cross products are equal too: A × D = B × C.

Example: A recipe uses 3 cups of flour for 4 servings. How much flour do you need for 10 servings?

  • Set it up as 3:4 = ?:10.
  • Cross-multiply: ? × 4 = 3 × 10 = 30.
  • Divide: ? = 30 ÷ 4 = 7.5 cups.

The same method answers map-scale questions, unit conversions, recipe scaling and “best value” price comparisons.

How to divide an amount by a ratio

To share 1,200 in the ratio 2:3:

  1. Add the parts: 2 + 3 = 5 parts.
  2. Find the value of one part: 1,200 ÷ 5 = 240.
  3. Multiply each part: 2 × 240 = 480 and 3 × 240 = 720.

Check by adding the shares back up: 480 + 720 = 1,200.

Common ratios you might be looking for

Ratio Where you see it Simplified meaning
1:1 Equal mixes, square images Same amount of each
1:2 Rice to water, hair color developer Second is double the first
2:1 Concrete sand to cement (simplified mixes) First is double the second
3:2 Photography (35mm frames) 1.5 times as wide as tall
16:9 HD video and TVs 1.78 times as wide as tall
50:1 Two-stroke fuel premix 50 parts gas to 1 part oil

For screens and images, the aspect ratio calculator handles pixel sizes directly. For mixing liquids, use the dilution ratio calculator.

Ratios vs. rates vs. proportions

  • A ratio compares quantities of the same kind or of parts of a whole (3 cats to 2 dogs).
  • A rate compares different units (60 miles per hour, $4 per pound).
  • A proportion is a statement that two ratios are equal (3:4 = 6:8).

Most real-world ratio problems are really proportion problems: you know one ratio and need to scale it.

Frequently asked questions

How do you simplify a ratio?

Find the greatest common divisor (GCD) of all the terms and divide each term by it. For 24:36 the GCD is 12, so the simplified ratio is 2:3. If the ratio has decimals, multiply every term by 10, 100 or 1,000 first to make them whole numbers.

How do I find the missing number in a ratio?

Write the ratios as a proportion, A:B = C:D, and cross-multiply: A × D = B × C. If 3:4 = 9:?, then 3 × ? = 4 × 9, so ? = 36 ÷ 3 = 12.

What does a 1:2 ratio mean?

A 1:2 ratio means that for every one unit of the first thing there are two units of the second. Split 30 by 1:2 and you get 10 and 20. The second amount is always double the first.

How do you work out a ratio of three numbers?

Use the same method as with two numbers. Find the GCD of all three and divide each term by it. For 6:9:15, the GCD is 3, so the ratio simplifies to 2:3:5. This calculator accepts an optional third term.

How do I convert a ratio to a percentage?

Add the parts to get the total, then divide each part by the total and multiply by 100. For 3:1 the total is 4, so the first part is 75% and the second is 25%.

What is the difference between a ratio and a fraction?

A ratio compares parts to parts (girls to boys, 3:2). A fraction compares a part to the whole (girls are 3/5 of the class). You can turn the ratio 3:2 into the fractions 3/5 and 2/5 by dividing each part by the total, 5.

Can ratios have decimals?

Yes. A ratio like 1.5:2.5 is valid, but it is usually written with whole numbers. Multiply both terms by 10 to get 15:25, then simplify to 3:5. The calculator does this automatically and shows the step.

Sources

  1. Khan Academy: Intro to ratios
  2. Math is Fun: Ratios
  3. Common Core State Standards for Mathematics: Ratios and Proportional Relationships (Grades 6–7)