Ratio Calculator

What's the missing value in your proportion or ratio?

Calculate ratios and proportions to solve real-world scaling problems. Find missing values in proportions, convert between equivalent ratios, and determine proper mixing ratios for recipes, solutions, and design layouts.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Imagine two gears connected by a belt - when one gear turns, the other must turn at a fixed rate determined by their size difference. Ratios work the same way, creating an unbreakable mathematical connection between quantities.

The calculator uses cross-multiplication to solve proportions. When you have A:B = C:D, it rearranges to A × D = B × C, then solves for whichever value is missing. This relationship holds true whether you're scaling up a recipe from 2 servings to 8, or scaling down a building blueprint from 1:100 to 1:500.

The power comes from maintaining exact proportional relationships. If flour and milk have a 2:3 ratio in your original recipe, that same 2:3 relationship must be preserved no matter how large or small you make the batch, ensuring consistent taste and texture every time.

When To Use This
Right tool, right situation

Use ratio calculations when scaling recipes, adjusting chemical solutions, or resizing design layouts where proportional relationships must be maintained. They're perfect for situations where increasing one element requires a predictable increase in related elements.

Ratios work well for unit conversions, mixing ratios, and any scaling problem where the relationship between quantities stays constant. Construction projects use ratios for material quantities, while photographers use them for enlarging images without distortion.

Avoid ratios for exponential growth patterns, compound calculations, or situations where the relationship between variables changes based on scale. For example, heating times don't scale linearly with food quantity, and structural engineering loads don't follow simple proportional rules.

Common Mistakes
Why results sometimes look wrong

The most common error is mixing up which values go where in the proportion. If your recipe calls for 2 cups flour per 3 cups milk, and you want to use 8 cups flour, the setup is 2:3 = 8:?, not 3:2 = 8:?. Reversing the ratio gives you the wrong ingredient balance.

Many people forget that ratios must maintain consistent units on both sides. Converting 2 cups flour and 3 tablespoons salt to a larger batch requires keeping cups with cups and tablespoons with tablespoons - you cannot directly scale 2 cups to 6 tablespoons.

Another mistake is assuming ratios work for exponential relationships. Ratios only apply to linear scaling - doubling one ingredient doubles the other. They don't work for relationships like compound interest or population growth, where doubling time doesn't double the result.

The Math
Worked examples and deeper derivation

Proportions follow the cross-multiplication rule: if a/b = c/d, then a × d = b × c. This algebraic relationship allows you to solve for any missing value when three values are known.

To find the greatest common divisor for simplified ratios, the calculator uses the Euclidean algorithm. This ancient method repeatedly divides the larger number by the smaller until the remainder is zero, revealing the largest number that divides both values evenly.

Ratio calculations preserve mathematical precision through careful decimal handling. The calculator rounds intermediate steps to avoid floating-point errors while maintaining accuracy in the final result, ensuring your scaled measurements remain as precise as possible.

Scaling a Recipe for More Servings
Original recipe calls for 2 cups flour to 3 cups milk. You have 8 cups flour.
The missing value is 12 cups of milk. The proportion 2:3 = 8:12 maintains the same ratio, so your scaled recipe will have the correct consistency and taste.
Mixing Paint Colors to Match a Sample
Sample uses 5 parts blue to 2 parts white. You need to use 20 parts blue.
You need 8 parts white. The 5:2 ratio scales to 20:8, ensuring your mixed paint matches the original color exactly.
Converting Currency Exchange Rates
3 dollars equals 2.5 euros. How many euros for 15 dollars?
15 dollars equals 12.5 euros. The exchange rate 3:2.5 scales proportionally, giving you the accurate conversion for any dollar amount.
Expert Unlock
The thing most explanations skip

Professional bakers know that not all ingredients scale proportionally - yeast, salt, and leavening agents often require adjustment curves rather than straight ratios. The calculator gives you the mathematical baseline, but experience teaches when to deviate from pure proportional scaling for optimal results.

How do I solve ratio and proportion problems?

What is the difference between a ratio and a proportion?
A ratio compares two quantities, like 3:4, while a proportion states that two ratios are equal, like 3:4 = 6:8. You use proportions to find missing values when you know three of the four numbers in the relationship.
How do I know if my ratio calculation is correct?
Cross-multiply to check your answer: A × D should equal B × C. For example, if 3:4 = 6:8, then 3 × 8 = 24 and 4 × 6 = 24, confirming the proportion is correct.
Can I use ratios with different units of measurement?
Yes, but both sides of the ratio must use consistent units. If you start with cups and tablespoons on one side, maintain cups and tablespoons on the other side of the proportion.

Need something this doesn't cover?

Suggest a tool — we'll build it →