Proportion Calculator
A proportion shows that two ratios are equal. Use this proportion calculator to find a missing value when three values are known, check whether two ratios are equal, and follow the calculation steps to understand how the answer is obtained.
Enter three known values and leave one value blank to solve for the unknown. The calculator keeps the selected solve target active, so editing other values updates the result for that target. You can also enter all four values to check whether the ratios are equal when no solve target is active.
What Is a Proportion?
A proportion is an equation stating that two ratios have the same value.
For example:
2 / 3 = 8 / 12
Both ratios are exactly equal to 2 / 3, which is approximately 0.666667 when displayed as a decimal.
Proportions are useful in everyday situations, including scaling recipes, reading maps, resizing images, comparing quantities, and solving problems involving similar shapes.
A proportion is commonly written as:
A / B = C / D
Here, A, B, C, and D represent four values. When three values are known, the fourth can often be calculated using cross multiplication, provided the equation has a valid, unique solution.
Proportion Formula
The standard proportion formula is:
A / B = C / D
Cross multiplication gives:
A × D = B × C
This equation is the foundation for solving a missing value. Multiply A by D, then multiply B by C. For a valid proportion, the two products must be equal.
For example:
4 / 6 = 10 / x
Cross multiply:
4 × x = 6 × 10
4x = 60
Divide both sides by 4:
x = 60 / 4 = 15
The missing value is 15.
How to Solve a Proportion
Follow these steps to solve a proportion manually or with the calculator.
- Write the proportion. Express the relationship as two ratios, such as A / B = C / D.
- Identify the missing value. Determine which of the four values is unknown.
- Cross multiply. Use the equation A × D = B × C.
- Isolate the unknown. Divide by the appropriate known value to calculate the missing number.
- Check the result. Substitute the answer into the original equation and verify that both cross products are equal.
The proportion calculator performs these calculations automatically and displays the relevant calculation steps for the selected unknown.
How to Use the Calculator’s Solve Target
The calculator uses a solve target to determine which value it should calculate. When you leave one field blank and solve for that value, the selected target remains active.
If you subsequently edit another value, the calculator updates the active target rather than automatically switching to an equality check. This lets you explore how changing one value affects the result.
The calculator also lets you move between solve targets:
- After editing or locking the current result, the target rotates in this order: D → A → B → C → D.
- Locked fields are skipped when selecting the next target.
- A locked value is not overwritten by automatic calculation.
- Use Clear to reset the entered values, locks, and solve target.
The calculator’s on-page guidance summarizes the workflow: “Enter three values and leave one blank. Edit or lock the result to solve the next value.”
To compare two ratios without changing the entered values, make sure no solve target is active. When all four values are entered and there is no active target, the calculator checks whether the ratios are equal.
How to Find a Missing Value in a Proportion
Any one of the four values can be solved for when the other three are known, provided the equation has a valid, unique solution.
Find A
Starting with:
A / B = C / D
Cross multiply:
A × D = B × C
Solve for A:
A = (B × C) / D
Example:
x / 5 = 6 / 10
x = (5 × 6) / 10
x = 30 / 10 = 3
The missing value is 3.
Find B
Starting with A / B = C / D, solve for B:
B = (A × D) / C
Example:
12 / x = 6 / 4
x = (12 × 4) / 6
x = 48 / 6 = 8
The missing value is 8.
Find C
Solve for C:
C = (A × D) / B
Example:
3 / 5 = x / 10
x = (3 × 10) / 5
x = 30 / 5 = 6
The missing value is 6.
Find D
Solve for D:
D = (B × C) / A
Example:
4 / 9 = 8 / x
x = (9 × 8) / 4
x = 72 / 4 = 18
The missing value is 18.
These four formulas provide a direct way to solve for any missing term in a proportion.
How to Check Whether Two Ratios Are Equal
When all four values are known and no solve target is active, you can check whether two ratios form a valid proportion by comparing their cross products.
For A / B = C / D, calculate:
A × D
and:
B × C
If the two products are equal, the ratios are equal, provided both denominators are nonzero. If the products differ, the ratios are not equal.
Example 1: Equal Ratios
3 / 4 = 9 / 12
Calculate the cross products:
3 × 12 = 36
4 × 9 = 36
Both products equal 36, so the ratios are equal.
Example 2: Unequal Ratios
3 / 4 and 9 / 15
Calculate the cross products:
3 × 15 = 45
4 × 9 = 36
Because 45 does not equal 36, the ratios are not equal.
If a solve target is still active, the calculator continues solving for that target instead of performing this equality check. Clear the active target before using the calculator to compare the four entered values.
Proportion Examples in Everyday Situations
Scaling a Recipe
A recipe uses 2 cups of flour to make 8 servings. How much flour is needed for 12 servings?
Set up the proportion:
2 / 8 = x / 12
Cross multiply:
8x = 2 × 12
8x = 24
x = 24 / 8 = 3
You need 3 cups of flour for 12 servings, assuming the recipe scales proportionally.
Calculating Map Distance
Suppose 1 centimeter on a map represents 5 kilometers in real life. What real-world distance does 4 centimeters represent?
Set up the proportion:
1 / 5 = 4 / x
Cross multiply and solve:
x = 5 × 4
x = 20
The real-world distance is 20 kilometers.
Resizing an Image
An image is 800 pixels wide and 600 pixels tall. If its width increases to 1200 pixels while keeping the same aspect ratio, what should its new height be?
Set up the proportion:
800 / 600 = 1200 / x
Cross multiply:
800x = 600 × 1200
800x = 720000
x = 720000 / 800 = 900
The new height should be 900 pixels to preserve the original aspect ratio.
The commas in numbers such as 1,200 or 720,000 are only for readability in prose. When entering values into the calculator, use digits without thousands separators, such as 1200 and 720000.
Special Cases and Common Errors
A proportion does not always have a unique, valid solution. Understanding these cases helps prevent misleading results.
A Denominator Cannot Be Zero
In A / B = C / D, both B and D must be nonzero. Division by zero is undefined, so a proportion with a zero denominator is not valid.
A Missing Value May Have No Valid Solution
Consider:
3 / 4 = 0 / D
For any nonzero D, the right-hand ratio equals zero, while the left-hand ratio equals 0.75. No valid value of D can make the ratios equal.
A Solution May Not Be Unique
Consider:
0 / 4 = 0 / D
Any nonzero value of D makes both ratios equal to zero. Therefore, there is no single unique solution for D.
Zero Can Be a Valid Numerator
A zero numerator is not automatically an error.
For example:
0 / 4 = 0 / 8
Both ratios equal zero, so the proportion is valid. A missing numerator can also be solved as zero when the equation supports that result.
Negative Values and Decimals
Proportions can contain negative numbers and decimal values.
For example:
(-3) / (-4) = 9 / 12
A negative number divided by another negative number gives a positive result:
(-3) / (-4) = 0.75
On the right:
9 / 12 = 0.75
Both ratios equal 0.75, so the proportion is valid.
The calculator handles finite decimal inputs as decimal ratios. Repeating decimal results may be rounded to six decimal places for display, with an approximation symbol when appropriate. For example, 2 / 3 may be displayed as approximately 0.666667. A rounded display should not be mistaken for the exact internal value.
Enter Three Known Values
To solve for a missing value, leave exactly one field empty. Leaving two or more fields empty does not provide enough information for the calculator to determine a unique answer.
An empty field is treated as missing, not as zero. Enter 0 explicitly when zero is the intended value.
The calculator accepts numeric decimal input rather than fraction strings such as 1/2. Enter a decimal such as 0.5 instead.
Enter numbers without thousands separators. For example, enter 1200 rather than 1,200. An input containing unsupported characters may trigger the calculator’s finite-number validation message.
Frequently Asked Questions
What is the formula for a proportion?
The standard formula is A / B = C / D. Cross multiplication gives A × D = B × C, which can be rearranged to solve for a missing value.
How do you solve a proportion with one missing number?
Multiply diagonally across the two ratios, then divide by the known value needed to isolate the unknown.
For example:
x / 5 = 6 / 10
10x = 30
x = 3
Can you solve for any variable in a proportion?
Yes. You can solve for A, B, C, or D using the other three values, provided the equation has a valid, unique solution and the required divisors are nonzero.
How do you know if two ratios are proportional?
Multiply the numerator of each ratio by the denominator of the other ratio. If the cross products are equal and both denominators are nonzero, the ratios are equal.
For this calculator, make sure no solve target is active before checking equality.
Why does the calculator keep updating a value?
The calculator keeps the selected solve target active. Editing other values recalculates that target. Editing or locking the current result rotates the target to the next eligible field, skipping locked fields. Use Clear to reset the values, locks, and target.
Can a proportion contain zero?
Yes. Zero can be a valid numerator, but a denominator cannot be zero. Depending on the other values, an equation involving zero may have a unique solution, no valid solution, or no unique solution.
Can proportions contain decimals or negative numbers?
Yes. Finite decimals and negative numbers can be used in proportions. Repeating decimal results may be rounded for display, so an approximation symbol indicates that the displayed number is not the exact value.
What if a proportion has no unique solution?
If the equation does not determine one specific value, there is no unique solution.
For example:
0 / 4 = 0 / D
This equation is true for every nonzero value of D, so it cannot determine a single value for D.
What is the difference between a ratio and a proportion?
A ratio compares two quantities, such as 2:3. A proportion is an equation stating that two ratios are equal, such as 2 / 3 = 8 / 12.
Use the Proportion Calculator above to solve for a missing value, review the calculation steps, or check whether two ratios are equal.