Ratio and Proportion Calculator: Simplify, Scale and Solve a:b = c:d
By FindMySum · Last reviewed
A ratio and proportion calculator handles the three jobs ratios come up for in practice: reducing a ratio such as 12:18 to its simplest form, scaling it up or down by a factor, and finding the missing number when two ratios must be equal. A ratio a:b compares two quantities by division; it says how many times one fits into the other, regardless of the actual amounts. A proportion is the statement that two ratios are equal, a:b = c:d. Recipes, mortar and concrete mixes, map scales, model building, screen aspect ratios and dosage calculations all rely on these three operations. This article explains how each one works, runs the calculator's defaults through them, and covers the mistakes that make ratio answers come out wrong.
Simplifying: dividing by the greatest common divisor
Two ratios are equivalent when one is a multiple of the other, just as 2/3 and 4/6 are equal fractions. The simplest form is the equivalent ratio with the smallest whole numbers, found by dividing both terms by their greatest common divisor (GCD), the largest whole number that divides both.
The calculator finds the GCD with Euclid's algorithm, which is over 2,000 years old and still the standard method: divide the larger number by the smaller, keep the remainder, and repeat with the smaller number and the remainder until the remainder is 0. The last non-zero remainder is the GCD. It needs no factorization, so it is fast even for large numbers.
Decimals are handled first. If either term has decimal places, both are multiplied by the same power of 10 so they become whole numbers, and then the GCD is taken. That keeps the ratio unchanged, because multiplying both terms by the same number never changes a ratio.
Scaling: multiplying both terms
Scaling multiplies both terms by the same factor k: a:b becomes (a × k):(b × k). A factor above 1 enlarges the quantities and a factor below 1 reduces them; the relationship between them is unchanged. This is how you double a recipe, make a half batch of mortar, or move from a 1:100 drawing to real dimensions. The calculator multiplies in exact decimal arithmetic, so a factor such as 2.5 gives exact results rather than floating-point near-misses.
Solving a proportion: cross-multiplication
If a:b = c:d, the fractions a/b and c/d are equal. Multiplying both sides by b × d gives
a × d = b × c
which is cross-multiplication: the product of the outer terms (the extremes) equals the product of the inner terms (the means). Any one term can then be isolated. For the fourth term, d = (b × c) ÷ a; for the first, a = (b × c) ÷ d; and similarly for b and c. The term you divide by must not be zero, which is why the calculator rejects a proportion that would require dividing by 0.
Worked example: the calculator's defaults
The calculator opens in simplify mode with the ratio 12:18.
- Euclid's algorithm: 18 divided by 12 leaves a remainder of 6; 12 divided by 6 leaves 0. The GCD is 6.
- Divide both terms: 12 ÷ 6 = 2 and 18 ÷ 6 = 3.
- The simplified ratio is 2:3.
In scale mode with the default factor of 2, the same ratio becomes 12 × 2 : 18 × 2 = 24:36, which still simplifies to 2:3.
In solve mode the defaults are a = 12, b = 18 and c = 9, with d left blank. The proportion is 12:18 = 9:d.
- Cross-multiply: 12 × d = 18 × 9 = 162.
- Divide: d = 162 ÷ 12 = 13.5.
- The completed proportion is 12:18 = 9:13.5.
Check it by simplifying the second ratio: 9:13.5 becomes 90:135 after clearing the decimal, and dividing by their GCD of 45 gives 2:3, the same as the first.
A ratio with decimals
Enter 1.5:2.25 in simplify mode. The longest decimal has two places, so the calculator multiplies both terms by 100 to get 150:225. Their GCD is 75, and 150 ÷ 75 = 2, 225 ÷ 75 = 3, so the ratio is again 2:3. A recipe that calls for 1.5 cups of one ingredient and 2.25 cups of another is a 2:3 recipe.
Where ratio problems go wrong
Order matters. 2:3 and 3:2 are different ratios. Write down which quantity comes first before you start, and keep the same order on both sides of a proportion: flour:water = flour:water, not flour:water = water:flour.
Part-to-part versus part-to-whole. A 1:3 cement-to-sand mortar has 4 parts in total, so cement is a quarter of the mix, not a third. When you mix your own, find the total volume first, for example with the concrete calculator, then divide it by the total number of parts.
Mixed units. Convert both quantities to the same unit before forming a ratio. The length converter and volume converter help when a recipe or plan mixes metric and imperial measures.
Proportion is assumed, not proven. Cross-multiplication is only valid if the quantities really do scale together. Baking times, for example, don't double when you double a cake, and paint coverage per litre depends on the surface. Use the calculator for the arithmetic, then ask whether the relationship is genuinely proportional.
Rounding scaled quantities. Scaling 3 eggs by 1.5 gives 4.5 eggs. Round to something practical, but round the final quantities, not the factor, and adjust the other quantities if the rounding is large.
What the calculator covers
It works with two-term ratios of positive numbers, gives results to 12 significant digits, and solves direct proportions. Ratios with three or more terms (such as a 1:2:3 concrete mix) can be simplified by hand by dividing every term by their common GCD, which the GCF and LCM calculator will find for you.
Using the result
To express a ratio as a share of the whole, divide each term by their sum and use the percentage calculator; 2:3 becomes 40% and 60%. To compare a ratio with a fraction, or to add and subtract fractional quantities in a recipe, the fraction calculator keeps the arithmetic exact. When you share the result, state the order of the terms and the unit, so that "2:3" can't be read the wrong way round.
More questions
How do I share an amount in a given ratio?
Add the ratio's terms to get the number of equal parts, divide the amount by that, then multiply by each term. To split $600 in the ratio 2:3, there are 2 + 3 = 5 parts of $120 each, so the shares are $240 and $360. Check that the shares add back up to the total and that 240:360 simplifies to 2:3.
If a mix is 2:3, what fraction of the whole is the first ingredient?
Two fifths, not two thirds. A ratio compares the parts with each other, so the whole is the sum of the terms, 2 + 3 = 5. The first ingredient is 2/5 (40%) of the mix and the second is 3/5 (60%). Mixing up part-to-part and part-to-whole is the most common ratio mistake, especially with concrete, paint and cleaning solutions.
What is the difference between direct and inverse proportion?
In a direct proportion both quantities grow together and their ratio stays fixed, which is what a:b = c:d describes. In an inverse proportion one quantity rises as the other falls and their product stays fixed: if 4 painters take 6 days, 8 painters take 3 days, because 4 × 6 = 8 × 3. This calculator solves direct proportions only; for an inverse one, multiply the known pair and divide by the third value.
How does a map scale such as 1:50,000 work?
It is a ratio with no units: one unit on the map stands for 50,000 of the same unit on the ground. So 1 cm on the map is 50,000 cm, or 500 m. To convert a measured distance, solve 1:50,000 = map distance:ground distance; 3.2 cm on the map is 160,000 cm, which is 1.6 km. Convert to a convenient unit only at the end.
Why does solve mode need exactly one blank term?
A proportion is one equation, and one equation can determine only one unknown. With two blanks there are infinitely many answers, and with none there is nothing to solve. On this page a term left empty or set to 0 counts as the blank, so make sure only the term you want is empty; a real ratio term can't be 0 anyway.
Can a ratio compare quantities in different units?
It can, but then it is a rate rather than a pure ratio, and the units stay attached: 300 km to 4 hours is 75 km/h. A pure ratio needs both terms in the same unit so the units cancel. Comparing 50 cm with 2 m as 50:2 is wrong; convert first to 50:200, which simplifies to 1:4.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.