Ratio Calculator

Missing Value: C
15
 

1First Ratio (A : B)

Decimals are fine — 2.5 : 1 is a valid ratio.

2Second Ratio (C : D)

Fill three fields and leave exactly one blank to solve A : B = C : D. Or fill only A and B to simplify that ratio.

Breakdown

Full proportion3 : 4 = 15 : 20
Simplified ratio3 : 4
Decimal (A ÷ B)0.75
Exact proportional results for educational purposes; decimal values are rounded to six places for display. Cross-multiplication works because A : B = C : D means A × D = B × C.

What Is a Ratio Calculator?

Ratios answer “how much of this compared to that” — flour to butter, map inches to real miles, price to quantity. A ratio calculator does two jobs: fill in three of the four values in A : B = C : D and it solves the missing one by cross-multiplying, or enter just A and B to reduce the pair to simplest form. Either way, the CalcFinity version also shows the full proportion, the simplified ratio, and the decimal equivalent, all updating live as you type. Validation is strict on purpose: leaving no field blank, or more than one (outside the A-and-B-only simplify case), produces a friendly prompt rather than a guess, because a proportion with two unknowns has infinitely many answers.

How It Works

A proportion is a statement that two ratios are equal: A : B = C : D means A ÷ B and C ÷ D describe the same relationship. The calculator scans the four boxes, figures out which one you left empty, and rearranges the cross-multiplication rule to isolate that unknown. If you leave A and B filled but C and D both empty, it switches to simplify mode and reduces A : B using the greatest common divisor of the two numbers.

The cross-multiplication rule

Two equal ratios have equal cross-products:

A : B = C : D  ⇔  A × D = B × C

Solving for each unknown

Rearranged for whichever value is missing:

A = B·C ÷ D   B = A·D ÷ C   C = A·D ÷ B   D = B·C ÷ A

Cross-multiplication works because multiplying both sides of A/B = C/D by B×D clears the fractions, leaving A×D = B×C. From there, any single unknown is one division away. Values that would force division by zero are caught with a clear message.

Worked Example: Scaling 3 : 4 up to a Second Ingredient of 20

Suppose a recipe calls for ingredients in the ratio 3 : 4 and you’re scaling up so the second ingredient is 20 units. Enter A = 3, B = 4, D = 20 and leave C blank — the calculator’s default setup. Cross-multiplying: C = A×D ÷ B = 3 × 20 ÷ 4 = 15. The full proportion reads 3 : 4 = 15 : 20, the simplified ratio is 3 : 4, and the decimal is 3 ÷ 4 = 0.75.

In simplify mode, entering just A = 18 and B = 24 (leaving C and D empty) returns 3 : 4, since the GCD of 18 and 24 is 6.

Real-World Uses for Ratios

Scaling recipes is the classic case: a sauce built on 2 parts oil to 1 part vinegar keeps its character at any batch size, as long as the ratio holds. Map reading relies on proportions too — on a 1 : 250,000 map, 3 cm of paper stands for 7.5 km of terrain.

Shoppers use unit-price ratios to compare jar sizes fairly, photographers keep 3 : 2 or 16 : 9 aspect ratios when cropping, and builders mix concrete by volume ratios like 1 : 2 : 4. Any time two quantities must grow or shrink together, a proportion is the tool.

Common Mistakes to Avoid

The most frequent proportion error is crossing the order: if 3 cups of flour pair with 4 cups of milk, the proportion must keep flour on the same side throughout — 3 : 4 = C : 20, not 3 : 4 = 20 : C. Swapping C and D silently answers a different question, and the numbers often look plausible enough to go unnoticed. Another classic is scaling by addition instead of multiplication: going from 4 cups of milk to 20 is “plus 16,” but adding 16 to the flour as well gives 19 cups instead of the correct 15, because ratios scale by a common factor (here ×5), never by a common difference.

When simplifying, divide both terms — never subtract. 18 : 24 reduces to 3 : 4 by dividing both sides by 6; subtracting 14 from each to get 4 : 10 changes the relationship entirely. Also keep units consistent before building a proportion: 30 minutes to 2 hours is 30 : 120 = 1 : 4, not 30 : 2. Finally, don’t confuse a part-to-part ratio with a part-to-whole fraction — a class with a 3 : 4 ratio of boys to girls is 3/7 boys, not 3/4. If your answer implies more than the whole, the ratio was probably read as a fraction somewhere.

Frequently Asked Questions

What's the difference between a ratio and a fraction?

They're closely related: the ratio 3 : 4 corresponds to the fraction 3/4. Ratios can also compare a part to a whole or list three or more quantities (like 1 : 2 : 4), which plain fractions don't do.

Why do I have to leave exactly one field blank?

A proportion with one unknown has exactly one solution. With two or more unknowns there are infinitely many possibilities, and with none there is nothing to solve — so the calculator asks for precisely three known values, or just A and B if you only want to simplify.

Can I use decimals in a ratio?

Yes — 2.5 : 1 is a perfectly valid ratio, common in screen dimensions and gear ratios. The simplified form is shown in whole numbers when both values are whole; otherwise the decimal relationship is still exact.

How do I simplify a ratio by hand?

Find the largest number that divides both terms evenly (the greatest common divisor) and divide each term by it. For 18 : 24, the GCD is 6, so the simplified ratio is 3 : 4. If the GCD is 1, the ratio is already in simplest form.

Scroll to Top