Ratio Calculator
Simplify a ratio A:B to its lowest terms and scale it to a new value. Enter two numbers to see the simplified ratio, then enter a target value for A to find the matching value for B.
Simplified
16 : 9
B becomes
1,080
Who should use it: Students, designers, and anyone working with proportions and aspect ratios.
How to use this calculator
- 1Enter the first part of the ratio (A).
- 2Enter the second part of the ratio (B).
- 3Enter the value you want to scale A up (or down) to.
- 4Review the simplified ratio and the scaled value of B.
Understanding the inputs
| A | The first number in the ratio A:B. |
| B | The second number in the ratio A:B. |
| Scale A to | The new value you want A to become. The calculator finds the matching value of B that keeps the same proportion. |
How the calculation works
The calculator divides both A and B by their greatest common divisor to simplify the ratio to its lowest terms. To scale the ratio, it multiplies the new value of A by B and divides by the original A, giving the value of B that preserves the proportion.
Worked example
Scenario: Ratio 16:9, scaled so that A becomes 1920.
Result: Simplified = 16:9; B becomes (1920 × 9) ÷ 16 = 1080.
How to interpret your result
The simplified ratio expresses the same relationship in the smallest whole numbers. The scaled value of B is the number that keeps the proportion with the new value of A — useful for resizing images, screens, or recipes while preserving the original ratio.
Factors that can affect the result
- Common divisor: the simplified form depends on the greatest common divisor of A and B.
- Scale value: entering a larger value for A scales B up; entering a smaller value scales B down.
- Zero for A: when A is zero the scaled value of B is shown as 0 to avoid division by zero.
Limitations and assumptions
- Works with two-part ratios only; it does not handle three-part ratios such as 2:3:5.
- Simplification uses the greatest common divisor of the rounded values, so decimal inputs are rounded before simplifying.
- The scaled value of B is rounded for display; full precision is kept internally.
Frequently asked questions
Related calculators
Methodology
The calculator simplifies A:B by dividing both values by their greatest common divisor, and scales the ratio by computing (new A × B) ÷ A to find the matching value of B.
Sources and references
- Mathematical basis — ratio simplification and proportional scaling use the greatest common divisor and basic proportion; no external source is required
Disclaimer: Results are provided for informational purposes and may vary depending on the values entered, the assumptions described above, and rounding. They are not a substitute for professional advice specific to your situation. Read the full disclaimer.