How to use the Ratio Calculator
- Enter the first known value into field A.
- Enter the corresponding value into field B to define the initial ratio A : B.
- Input your new target value into field C.
- Review the calculated value for D, along with the simplified ratio and decimal fraction.
How it works
The results display three valuable values: the missing proportional term D, the simplified form of A : B, and the decimal quotient of A divided by B. Solving for D tells you the exact value required to preserve the relationship between two pairs of numbers. Meanwhile, the simplified ratio expresses that relationship in its lowest whole numbers, making relative comparisons much clearer for everyday tasks like scaling ingredients or interpreting map keys.
This calculator relies on the fundamental algebraic property of equality in proportions, often known as cross-multiplication. For any true proportion A : B = C : D, the product of the extremes equals the product of the means, yielding A × D = B × C. Solving for D isolates the variable as D = (B × C) ÷ A. To simplify A : B, both terms are divided by their greatest common factor.
While mathematically exact, this tool requires that input A is not zero, as division by zero is mathematically undefined. In practical applications such as engineering drawings, construction, or chemistry, ensure that quantities A, B, and C share consistent measurement units before calculating. If your values represent parts of a whole rather than two independent parts, remember to account for the total sum of all parts accordingly.
Formula
A : B = C : D ⇒ D = B × C ÷ A
Worked example
3 : 4 = 9 : 12.
Frequently asked questions
How do I solve for D in a proportion?+
In the proportion A : B = C : D, multiply B by C and divide the product by A (D = B × C ÷ A). For example, if 3 : 4 = 9 : D, then D = (4 × 9) ÷ 3 = 12.
How do I scale a recipe using this calculator?+
Enter the original serving count as A, the original ingredient quantity as B, and your desired number of servings as C. The output D provides the exact amount of the ingredient needed for the new recipe yield.
Is a ratio the same as a fraction?+
A ratio compares two quantities relative to each other (part-to-part), such as 3 : 4. A fraction typically expresses a part of the whole (part-to-whole). A 3 : 4 ratio represents 3 parts out of 7 total parts, or the fraction 3/7.
What happens if value A is set to zero?+
Value A cannot be zero because calculating D requires dividing by A. Division by zero is undefined in mathematics and will result in an error. Always use non-zero numbers for your initial ratio terms.
How is a ratio simplified to its simplest form?+
A ratio is simplified by dividing both terms, A and B, by their greatest common factor (GCF). For instance, in the ratio 6 : 8, the greatest common factor is 2, simplifying the ratio to 3 : 4.
✓ Written and reviewed by the Calcumia editorial team · Last updated: · How we build and check our calculators
Results are estimates for information only and are not financial, medical or legal advice.