The classic 2:3 = 8:X
You enter
- A
- 2
- B
- 3
- C
- 8
You get
- X
- 12
- Simplified
- 2:3
X is B times C divided by A, so 3 times 8 is 24, and 24 divided by 2 is 12.
Run through the tool’s own code.
Everyday tool
Enter three values to solve the fourth value in a:b = c:x.
Solve A:B = C:X, then see the simplified A:B ratio.
About this tool
For A:B = C:X, the missing value is X = B × C ÷ A. For example, 2:3 = 8:X gives X = 12. With integer inputs, the tool also simplifies A:B; all three inputs must be greater than zero.
Guide
The Ratio and Proportion Calculator finds the missing number in a pair of equal ratios written as A : B = C : X. You type A, B and C, press the button, and it gives X. It also shows A : B in its smallest form when your numbers are whole. People use it to scale recipes, resize drawings, mix paint or fuel, and compare unit rates. It solves one missing value at a time and only for positive numbers. It does not split a total into parts.
X is B times C divided by A, so 3 times 8 is 24, and 24 divided by 2 is 12.
Run through the tool’s own code.
12 and 18 share a factor of 6, so the ratio is the same as 2:3. X is 18 times 30 over 12, which is 45.
Run through the tool’s own code.
4 times 10 is 40, and 40 divided by 3 never ends. The tool shows four decimal places when X is 1 or more.
Run through the tool’s own code.
2 times 1 over 5 is 0.4. For answers below 1 the tool keeps up to six decimal places.
Run through the tool’s own code.
X is 2 times 3 over 0.5, which is 12. Because 0.5 is not a whole number, the tool shows A:B as typed instead of reducing it.
Run through the tool’s own code.
400 times 3 over 250 is 4.8. The first ratio 250:400 reduces by 50 to 5:8.
Run through the tool’s own code.
Common questions
Enter the three known numbers as A, B and C and press the button. The tool computes X as B times C divided by A. That is the same as cross-multiplying A : B = C : X and then dividing.
It says the ratio of A to B is the same as the ratio of C to X. If 2 cups of flour go with 3 eggs, then 8 cups of flour go with 12 eggs. X is the number you want to find.
Use X = B × C ÷ A: 3 × 8 ÷ 2 = 12. Enter 2, 3 and 8 in the A, B and C fields to get X = 12.
Yes, when A, B and C are whole numbers. It divides A and B by their greatest common divisor, so 12:18 becomes 2:3. You need to give a positive C too, but any positive number will do.
The calculator accepts only values above zero. A zero in A would mean dividing by zero, and negative or empty boxes are not read. Put a positive number in each of the three boxes.
The tool shows 4 decimal places for an answer of 1 or more, and up to 6 for an answer under 1. A value like 40 over 3 is cut at 13.3333. Round again to match your task, such as whole units.
Yes. Both are equal ratio problems. Put the old amount of one item in A and its new amount in C. Put the old amount of a second item in B, and X is the new amount of that second item.
A ratio compares two quantities, like 2:3. A proportion states that two ratios are equal, like 2:3 = 8:12. This tool takes the proportion with one missing term and fills it in.
No. The calculation happens in your browser on your own device. The numbers are not uploaded and no account is needed. The answer is also placed in a read-only box on the page.
Do not rely on it when the two sides are not truly in proportion. For example, cooking times, medicine doses and tax do not always scale in a straight line. Check with the recipe, the label or a professional.
Yes. Ratios are useful for adjusting recipes, comparing quantities and scaling measurements.
Yes. When A, B and C are whole numbers, it reduces A:B by their greatest common divisor, so 12:18 becomes 2:3. Enter positive values only.