Making Sense of Ratios and Proportions
A ratio is a way to compare two quantities. Whether you're scaling a recipe, resizing an image, or working with architectural plans, ratios are everywhere. I built this calculator to handle two common ratio tasks: finding a missing value in a proportion and scaling a ratio.
How to Use the Ratio Calculator
This tool has two modes to solve different kinds of problems:
1. Find Missing Value (A : B = C : D)
This mode solves a proportion. A proportion is an equation stating that two ratios are equal. If you have a ratio A : B and you know one part of an equivalent ratio (C), this tool will find the missing part (D).
The math is based on cross-multiplication: A * D = B * C. The calculator solves for D: D = (B * C) / A.
2. Scale Ratio
This mode helps you scale a known ratio up or down. For example, if you have a recipe with a ratio of 2 parts flour to 1 part sugar (2 : 1) and you now want to use 10 parts of flour, how much sugar do you need?
Enter your original ratio (2 and 1). Then, enter the new value for one of the parts (10 for flour), and the calculator will find the corresponding value for the other part (5 for sugar) to maintain the same ratio.
Real-World Example: Scaling an Image
Let's say you have an image that is 1920 pixels wide by 1080 pixels high (a 16:9 ratio). You want to resize it to be 800 pixels wide. What should the new height be?
- Go to the "Scale Ratio" tab.
- Enter the original ratio: A = 1920, B = 1080.
- Enter the new value for A: A' = 800.
- The calculator will solve for B', giving you the new height: 450 pixels.