Skip to content

A CLEARER WAY TO WORK IT OUT

Ratio Calculator

An image can be made larger without changing its shape, just as a recipe can be scaled without changing its proportions. The same ratio can help you find a missing quantity or resize both parts together.

An image can be made larger without changing its shape, just as a recipe can be scaled without changing its proportions. The same ratio can help you find a missing quantity or resize both parts together.

Your result will appear here.

Your calculation runs in this browser. After changing a value, select Calculate to update the answer.

Your inputs stay in this browser. Change a value, then calculate again to update the result.

How to use the ratio calculator

Choose Find a missing value for A:B = C:D. Enter the three known numbers and leave only the unknown box empty. Choose Scale a ratio when you already know A and B and want to multiply or divide both by the same factor.

Keep the same quantity in corresponding positions: if A is the original width, C is the new width; B and D are the matching heights. Use the same unit for each corresponding pair. For example, convert a new width in centimetres to millimetres before comparing it with an original width in millimetres.

What the result tells you

For a 16:9 image with width 1280, the matching height is 720. Scaling 2:3 by four gives 8:12: the quantities change while their relationship stays the same.

A calculation you can check

A 16:9 image with a new width of 1280 pixels needs a height of 720 pixels: D = 9 × 1280 ÷ 16. To check the reverse question, leave A empty and enter B=9, C=1280 and D=720; the result is A=16.

Try it in the calculator ↑

Formula and calculation method

For A:B = C:D, cross multiplication gives A × D = B × C. Rearrange for the empty box; the divisor must be nonzero.
Empty boxCalculation
AB × C ÷ D
BA × D ÷ C
CA × D ÷ B
DB × C ÷ A

Enlarge or reduce both parts

In Scale a ratio, enter A=2 and B=3, choose Multiply and use a factor of 4. The result is 8:12. To reverse it, enter 8 and 12, choose Divide and keep the factor at 4; the result is 2:3. This changes the quantities while preserving their proportion.

Use a positive factor for ordinary image or recipe sizes. When dividing, enter the number to divide by: Divide by 4 has the same effect as Multiply by 0.25. A zero divisor is rejected.

Check the assumptions

Keep corresponding quantities in the same order on both sides. A ratio of width to height is different from height to width, and a zero divisor cannot be used.

Use exactly one blank in missing-value mode. The comparison must have a unique finite solution; a zero divisor or invalid scaling factor is rejected.

Frequently asked questions

Does 1:3 mean one third of the total?

No. A 1:3 mixture contains four parts in total, so the first component is one quarter of the whole. One third compares the first component with the second.

How can I keep a picture in proportion?

Use the original width:height ratio. When the width becomes a new value, solve for the matching height with the order unchanged.

Does scaling simplify a ratio automatically?

Scaling applies the factor you enter; it does not choose a common factor for you. For example, divide both parts of 8:12 by 4 to obtain 2:3.

Something looks wrong? Send the calculator name and a non-sensitive example so the issue can be checked.