1. Home
  2. Everyday math
  3. Ratio Calculator
Everyday math

Ratio Calculator

Scale a ratio to find a missing equivalent value.

Your numbers

Results update as you type. Nothing you enter is sent anywhere.

Result

15

2 : 3 = 10 : 15

Formula used

a : b = c : x; x = (b × c) ÷ a

Enter a ratio and one new value to find the matching value that keeps the same proportion. That covers scaling a recipe, resizing an image without stretching it, mixing fuel or fertilizer, and reading map scales. The calculator solves a : b = c : x for x by cross-multiplication.

How to use the Ratio calculator

  1. Enter the two parts of the known ratio in First value and Second value, for example 16 and 9 for a 16:9 screen.
  2. Enter the quantity you already know for the new situation in New first value. It must correspond to the First value, not the second.
  3. Read the result, which is the missing second value. The detail line shows the full equivalent ratio.
  4. To scale in the other direction, swap the order of the First value and Second value so the known quantity lines up with the first position.

How the ratio calculation works

Formulaa : b = c : x; x = (b × c) ÷ a

Keeping the parts in the right order

A ratio has a direction. 3:2 flour to water is not the same as 3:2 water to flour. The calculator assumes the New first value plays the same role as the First value, and returns the quantity that plays the role of the Second value. Most wrong answers come from typing a water amount into a flour slot.

The arithmetic is x = b × c ÷ a. In words, divide the new quantity by the old first value to get a scale factor, then multiply the second value by that factor. A 3:2 ratio scaled to 7.5 has a factor of 7.5 ÷ 3 = 2.5, and 2 × 2.5 = 5.

Ratios, fractions and percentages

A part-to-part ratio can be converted to shares of the whole by adding the parts. In a 3:2 mix, there are 5 parts in total, so the first ingredient is 3/5 = 60% and the second is 2/5 = 40%. This matters when a recipe says ‘3 parts to 2 parts’ and you know the total batch size you want rather than one ingredient.

For a 2-gallon batch of 3:2 mix, each part is 2 ÷ 5 = 0.4 gallon, so you need 1.2 gallons of the first ingredient and 0.8 of the second. For simplifying a ratio such as 18:24 to lowest terms, divide both parts by their greatest common divisor, which the GCD Calculator finds.

Common real-world ratios

Screens and photos use aspect ratios: 16:9 for most video, 4:3 for older displays and many tablets, 3:2 for many camera sensors. Two-stroke engines use fuel-to-oil ratios such as 50:1, meaning 50 parts fuel to 1 part oil, so check the equipment manual for the exact figure. Maps state scales like 1:24,000, where 1 inch on paper represents 24,000 inches, or 2,000 feet, on the ground.

Worked examples

Scaling a 3:2 flour-to-water dough to 7.5 cups of flour

First value: 3 · Second value: 2 · New first value: 7.5

  1. Scale factor: 7.5 ÷ 3 = 2.5.
  2. Multiply the second part: 2 × 2.5 = 5.
  3. Same answer by cross-multiplication: x = 2 × 7.5 ÷ 3 = 15 ÷ 3 = 5 cups of water.

Result: 5

Height of a 16:9 video that is 1,440 pixels wide

First value: 16 · Second value: 9 · New first value: 1440

  1. Set up 16 : 9 = 1,440 : x.
  2. Cross-multiply: x = 9 × 1,440 ÷ 16.
  3. 9 × 1,440 = 12,960, and 12,960 ÷ 16 = 810.
  4. The frame is 1,440 × 810 pixels.

Result: 810

Assumptions and limits

Assumes a non-zero first ratio value and proportional scaling.

Formula and worked examples last checked November 20, 2026. Spotted a problem? Report an error.

Frequently asked questions

How do I calculate a ratio between two numbers?

Write the two numbers with a colon and divide both by their greatest common divisor. 45 boys and 30 girls give 45:30, and dividing by 15 gives 3:2. You can also express it as a single number, 45 ÷ 30 = 1.5 boys per girl.

How do I solve a proportion with a missing value?

Cross-multiply and divide. For 4 : 10 = 6 : x, multiply 10 × 6 = 60 and divide by 4 to get x = 15. Enter 4, 10 and 6 here to check.

How do I split an amount in a given ratio?

Add the parts, divide the amount by that total, then multiply by each part. Sharing $900 in the ratio 2:3:4 gives 9 parts of $100 each, so the shares are $200, $300 and $400.

What does a 1:50 ratio mean?

It means 1 part of the first item for every 50 parts of the second. For a 1-gallon (128 fl oz) fuel mix at 50:1 fuel to oil, you add 128 ÷ 50 ≈ 2.56 fl oz of oil. Make sure you know which item comes first in the stated ratio.

Can a ratio have decimals?

Yes. A ratio like 1.5:1 is valid and equals 3:2 after multiplying both parts by 2. The calculator accepts decimals and negative values in every field, though the first value cannot be zero.