Ratio Calculator

A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call

Free ratio calculator. Solve A : B = C : D for the missing number, or simplify any ratio (decimals too) to whole numbers and to 1 : n form.

Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.

How to use the ratio calculator

The ratio calculator does two jobs. Pick one at the top.

Solve A : B = C : D

  1. Fill in three of the four boxes.
  2. Leave the one you want to find empty.

The ratio calculator finds the missing number and shows the cross-multiplication that proves it. This is the classic proportion problem: if 3 cups of flour need 4 eggs, how many eggs for 9 cups?

Simplify a ratio

  1. Type the ratio with colons or commas between the parts, such as 1.5 : 2.5 : 4 or 12, 18.
  2. The ratio calculator reduces it to the smallest whole numbers, and for two-part ratios also shows it as 1 : n and n : 1.

Decimals and fractions are fine in either mode. The simplifying is done with exact whole-number arithmetic, so a ratio like 0.1 : 0.3 comes back as exactly 1 : 3.

What a ratio means

A ratio compares amounts. A 3 : 5 ratio of red to white paint means that for every 3 parts of red, you use 5 parts of white, whatever the size of a "part". It doesn't tell you the total, only the proportions. 3 litres and 5 litres, or 30 ml and 50 ml, are both 3 : 5.

That's why ratios scale so well. A recipe, a concrete mix, a dilution or a screen shape all keep working at any size, as long as the ratio stays the same.

Ratios can have more than two parts. A classic concrete mix is 1 : 2 : 3 of cement, sand and gravel. The ratio calculator simplifies ratios with as many parts as you like.

Solving proportions

A proportion says two ratios are equal: A : B = C : D. The rule that solves it is cross-multiplication:

A × D = B × C

So if one value is missing, divide:

  • D = B × C ÷ A
  • C = A × D ÷ B
  • B = A × D ÷ C
  • A = B × C ÷ D

For 3 : 4 = 9 : ?, D = 4 × 9 ÷ 3 = 12. Three cups to four eggs is the same proportion as nine cups to twelve eggs.

For 2 : 3 = ? : 450, C = 2 × 450 ÷ 3 = 300. If a garden mix is 2 parts compost to 3 parts soil and you have 450 litres of soil, you need 300 litres of compost.

The ratio calculator needs exactly one empty box. If two are empty there isn't enough information, and if none are, there's nothing to solve, so it tells you which.

Simplifying ratios

To simplify a ratio, divide every part by the greatest common factor. 12 : 18 has a GCF of 6, so it simplifies to 2 : 3. 12 : 18 : 24 becomes 2 : 3 : 4.

With decimals, multiply every part by 10, 100 or whatever turns them into whole numbers first, then divide. For 1.5 : 2.5 : 4:

  • Multiply by 10: 15 : 25 : 40.
  • The GCF is 5: 3 : 5 : 8.

The ratio calculator does this automatically, using the exact common denominator of all the parts, so fractions like 1/2 : 1/3 also work (that's 3 : 2).

The 1 : n form

Sometimes it's more useful to have one side equal to 1. A ratio of 3 : 5 as 1 : n is 1 : 1.667, meaning for every one part of the first, you need 1.667 of the second. As n : 1 it's 0.6 : 1.

This form is how map scales (1 : 50,000), gear ratios, dilutions (1 : 10) and leverage are usually written. The ratio calculator shows both forms for any two-part ratio.

Where ratios are used

  • Recipes: scaling up or down while keeping flavours balanced. Bakers use ratios like 5 : 3 flour to water by weight.
  • Mixing and dilution: cleaning products, paint, fertiliser, epoxy and two-stroke fuel are all mixed by ratio.
  • Screens and images: 16 : 9, 4 : 3 and 1 : 1 are ratios of width to height. The aspect ratio calculator works out pixel sizes.
  • Maps and models: a 1 : 25 model is 25 times smaller than the real thing.
  • Business: staff-to-customer ratios, debt-to-equity, price-to-earnings, and splitting profits between partners.
  • Classrooms: pupil-to-teacher ratios, and dividing groups fairly.

Sharing an amount in a ratio

A common question is how to split a total in a given ratio. To share 600 in the ratio 2 : 3 : 5:

  1. Add the parts: 2 + 3 + 5 = 10.
  2. Find one part: 600 ÷ 10 = 60.
  3. Multiply: 2 × 60 = 120, 3 × 60 = 180, 5 × 60 = 300.

The amounts add back up to 600. You can check each pair with the ratio calculator: 120 : 180 simplifies to 2 : 3.

Ratios, fractions and percentages

The same relationship can be written three ways. In a 2 : 3 ratio of boys to girls:

  • Boys are 2 out of 5 parts, so 2/5 or 40% of the class.
  • Girls are 3/5 or 60%.
  • There are 2/3 as many boys as girls, or 1.5 times as many girls as boys.

Mixing these up is the most common ratio mistake. A 2 : 3 ratio does not mean boys are 2/3 of the class. For fraction arithmetic, use the fraction calculator; for percentages, the percentage calculator.

Tips

  • Keep the order. 3 : 5 is not the same as 5 : 3. Write down which quantity comes first.
  • Use the same units on both sides. Compare grams with grams, not grams with kilograms, or convert first.
  • Check proportions by cross-multiplying. If A × D doesn't equal B × C, the two ratios aren't equal.
  • Round only at the end. Scaling a recipe by a ratio and rounding each step can drift; the ratio calculator keeps full precision.

Privacy and accuracy

What you type stays in your browser. Nothing is uploaded or stored. The ratio calculator uses exact arithmetic for simplifying and plain cross-multiplication for proportions, with no AI involved, so the same numbers always give the same answer. Cooks, builders, designers, students and business owners use it on phones, tablets and computers, with no sign-up.

Scaling a recipe with a ratio

Ratios make recipes easy to scale. Many bakers work with "baker's percentages", where every ingredient is a ratio to the flour. A simple bread might be flour 100, water 65, salt 2 and yeast 1. To make a dough with 750 g of flour, multiply each part by 7.5: 487.5 g of water, 15 g of salt and 7.5 g of yeast.

With the ratio calculator, you can check any single ingredient as a proportion: 100 : 65 = 750 : ? gives 487.5. Because every ingredient keeps the same ratio to the flour, the dough behaves the same at any size.

Cocktail and coffee recipes work the same way. A pour-over at 1 : 16 coffee to water needs 375 g of water for 23.4 g of coffee; an espresso at 1 : 2 turns 18 g of coffee into 36 g in the cup.

Unit rates and best value

A unit rate is a ratio with 1 on one side: price per kilogram, kilometres per litre, words per minute. Turning ratios into unit rates makes comparisons simple. If 3 kg of rice costs 7.20 and 5 kg costs 11.50, the unit rates are 2.40 and 2.30 per kilogram, so the bigger bag is cheaper per kilo. The unit price calculator compares up to several products at once.

A worked example

A café makes its cold brew concentrate with 1.5 kg of ground coffee to 2.5 litres of water, and mixes each glass at a ratio including 4 parts milk. The owner types 1.5 : 2.5 : 4 in simplify mode, and the ratio calculator returns 3 : 5 : 8, a ratio the staff can remember.

For a busy weekend, she wants to brew with 9 litres of water and needs the matching amount of coffee. In solve mode she enters A = 3 (coffee), B = 5 (water), D = 9 (water for the weekend), leaving C empty. The ratio calculator gives C = 5.4: she needs 5.4 kg of coffee, because 3 × 9 = 5 × 5.4 = 27.

Need more customers from Google?

This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.

Frequently asked questions

How do I solve a ratio with a missing number?

Cross-multiply: in A : B = C : D, A × D = B × C. Divide by the number next to the blank. The ratio calculator does it when you leave one box empty.

How do I simplify a ratio?

Divide every part by their greatest common factor. 24 : 36 becomes 2 : 3. With decimals, multiply to whole numbers first.

Can a ratio have more than two parts?

Yes, such as 1 : 2 : 3 for concrete. The ratio calculator simplifies ratios with any number of parts.

How do I write a ratio as 1 : n?

Divide both parts by the first. 4 : 10 becomes 1 : 2.5.

Is a ratio the same as a fraction?

Not quite. In a 2 : 3 ratio, the first part is 2/5 of the total, not 2/3. A fraction compares a part to the whole; a ratio compares parts to each other.

Is the ratio calculator free?

Yes, it's free, works in your browser and needs no account.

Free PPC audit

See where your ad budget leaks.

We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.

Book a free audit call 30-minute call · Free · The audit is yours to keep