Home › Math & Science › Ratio Calculator

Ratio Calculator

Ratios show up everywhere — mixing paint, scaling a recipe, reading a map — but simplifying them or finding a missing value by hand is fiddly. This free ratio calculator does all three jobs at once: it simplifies any ratio A:B to its lowest terms, scales it up or down by any factor, and completes an equivalent ratio by finding the missing value in A:B = C:x, with live results as you type.

Enter A and B to simplify the ratio. Add C to solve A:B = C:x for the missing value x, a scale factor to multiply the ratio up, or a target total to split that amount in the same ratio.

3 : 2
12 : 8 in simplest form — the first part is 60% of the total, the second is 40%
Simplified ratio3 : 2
As a decimal (A ÷ B)1.5
A as a share of the total60%
B as a share of the total40%
Equivalent ratio (A : B = C : x)12 : 8 = 18 : 12
Scaled ratio (×2)24 : 16
Split of a total of 5030 : 20

How it works

A ratio compares two quantities in a fixed relationship. The ratio 12:8 (read "12 to 8") says that for every 12 units of the first thing there are 8 units of the second — for example, 12 cups of blue paint for every 8 cups of white in a custom color mix. The order matters: 12:8 is not the same as 8:12, because the first number always belongs to the first item named.

Simplifying. Most ratios are easier to read in their lowest terms. The calculator finds the greatest common divisor (GCD) of the two numbers — the largest whole number that divides evenly into both — and divides each side by it. For 12 and 8 the GCD is 4, so 12:8 becomes 3:2. With decimal inputs, it scales both numbers to whole numbers first, then reduces them, so 2.5:1.5 simplifies to 5:3.

Simplified ratio = (A ÷ GCD) : (B ÷ GCD)   •   Missing value: if A : B = C : x, then x = (B × C) ÷ A   •   Scaled ratio = (A × k) : (B × k)

Finding a missing value. Equivalent ratios are two ratios that describe the same relationship, like 12:8 and 18:12. If you know three of the four numbers, the fourth follows from cross-multiplication: x = B × C ÷ A. This is the tool you need when a recipe for 4 must feed 6, or a floor plan drawn at one scale must be rebuilt at another.

Scaling. Multiplying both sides by the same factor k gives a bigger ratio that means exactly the same thing: 3:2 scaled by 5 is 15:10. Dividing both sides by a common factor scales down. Scaling is how a 3:2 photo becomes a 6×4 inch print or a 12×8 inch poster without distortion — the proportions never change, only the size.

Shares of the total. The calculator also splits the ratio into percentages. Adding the parts gives the total number of equal shares (3 + 2 = 5 for 3:2), so the first item is 3/5 = 60% of any batch mixed to that ratio and the second is 2/5 = 40%. This is the fastest way to answer "how much of each do I need for 50 total?" — 60% of 50 is 30, and 40% is 20, giving 30:20, which simplifies back to 3:2.

Worked example

A house painter in Texas mixes a custom wall color from 12 parts blue paint to 8 parts white paint, written as the ratio 12:8. First, simplify it. The greatest common divisor of 12 and 8 is 4, so divide both sides by 4: 12 ÷ 4 = 3 and 8 ÷ 4 = 2. The mix is 3:2 — three parts blue to two parts white.

Now the painter needs a bigger batch and has 18 liters of blue paint. How much white paint keeps the color identical? Set up the equivalent ratio 12:8 = 18:x and cross-multiply: x = 8 × 18 ÷ 12 = 144 ÷ 12 = 12 liters. Check: 18:12 also simplifies to 3:2, so the color is unchanged. Enter 12, 8, and 18 in the calculator above and you will see the same answers: simplified ratio 3:2, equivalent ratio 12:8 = 18:12.

Common mistakes

Flipping the order. A ratio of 3:2 (blue to white) is a different mix from 2:3 (blue to white). Always write the item you name first in the first position, and enter it in the first box here.

Dividing the two sides by different numbers. Simplifying only works if both sides are divided by the same GCD. Dividing 12 by 4 and 8 by 2 gives 3:4, which is a different ratio entirely.

Confusing part-to-part with part-to-whole. In the ratio 3:2, the 3 is compared with the 2, not with the total of 5. If a problem asks what fraction of the whole batch is blue, the answer is 3/5 (60%), not 3/2.

Adding instead of multiplying when scaling. To make twice as much of a 3:2 mix you multiply both sides by 2 (6:4). Adding 2 to both sides gives 5:4, which changes the proportions and the final color, recipe, or measurement.

FAQ

How do you simplify a ratio?

Divide both numbers by their greatest common divisor (GCD) — the largest number that divides evenly into both. For 12:8, the GCD is 4, so 12 ÷ 4 = 3 and 8 ÷ 4 = 2, giving the simplified ratio 3:2. Keep dividing until no whole number larger than 1 divides both sides.

How do you find the missing value in a ratio?

Set the two ratios equal and cross-multiply. If 12:8 = 18:x, then x = 8 × 18 ÷ 12 = 12. In general, for A:B = C:x, the missing value is x = B × C ÷ A. The calculator above does this automatically when you fill in the third box.

How do you scale a ratio up or down?

Multiply or divide both numbers by the same amount. Doubling 3:2 gives 6:4, and multiplying by 10 gives 30:20 — all three describe exactly the same relationship. Scaling never changes what the ratio means, only the size of the numbers used to express it.

What does the ratio 3:2 mean as a percentage?

Add the two parts: 3 + 2 = 5 equal parts in total. The first part is 3 out of 5, or 60 percent of the whole, and the second part is 2 out of 5, or 40 percent. So a ratio of 3:2 splits anything into a 60/40 split.

Can a ratio contain zero?

Yes, on one side. A ratio of 0:5 simplifies to 0:1 and means none of the first item and some of the second, while 5:0 means all of the first and none of the second. A ratio of 0:0 is meaningless because there is nothing of either item to compare.

Is a ratio the same as a fraction?

They are closely related but not identical. A fraction like 3/5 compares a part to a whole, while a ratio like 3:2 compares one part to another part. The ratio 3:2 corresponds to the fraction 3/2 when you divide the first number by the second, and to 3/5 when you ask what share of the total the first part is.

Disclaimer: Results are for education and general use. Check important calculations independently before relying on them for exams, work, or decisions where accuracy matters.