Ratio Calculator

Your input stays in your browser and is never sent.

Solve for a missing value in a ratio, simplify ratios and split a total by a ratio. Handy for aspect ratios and recipe scaling.

  1. Enter
  2. See the result
A : B = C : D:=:Leave one of the four boxes empty to find it.

Enter three numbers and leave the one you want empty

What is the ratio calculator?

The ratio calculator handles common ratio problems: "At 16:9, how tall is 1920 wide?", "What is 1920:1080 simplified?" or "How do I split 10,000 in a 2:3 ratio?"

SOKUFU's ratio calculator has three modes: find the missing value, simplify and split a total.

When splitting a total into whole numbers, leftovers are handed out so the total stays the same — ready for bill splitting and allocations.

No account or login. Free to use as often as you like.

How to use the ratio calculator

  1. Choose a modePick "Find the missing value", "Simplify" or "Split a total".
  2. Enter numbersTo find a missing value, fill in three of the four boxes. Write ratios like "2:3".
  3. See the answerThe answer appears as you type.

Features of SOKUFU's ratio calculator

Any box can be solved
Leave any of the four boxes in A:B=C:D empty to find it.
Decimal ratios
Ratios such as 0.5:1.5 are simplified to whole numbers.
Three or more parts
Ratios such as "1:2:3" work too.
Totals stay exact
When rounding to whole numbers, leftovers go to the largest remainders first so the total is kept.
Runs in your browser
Nothing you enter is ever sent to a server.
Works on phones
The layout adapts to your screen, so it works on phones and tablets too.

How ratios work

When A:B = C:D, the product of the outer terms equals the product of the inner terms (A×D = B×C). With one value missing, the other three give it.

To simplify a ratio, divide every term by the same number (the greatest common divisor). 1920:1080 divided by 120 is 16:9.

Related tools

Ratio calculator FAQ

Can it calculate aspect ratios?

Yes. In "Find the missing value", enter 16 : 9 = 1920 : ? to get the height of 1080.

Can I use it to split a bill?

Yes. In "Split a total", enter the total and the ratio, and round to whole numbers so the parts add up exactly.

How do I separate the numbers in a ratio?

Use a colon (: or the full-width :).

Can a ratio contain 0?

Simplifying only accepts numbers greater than 0. When splitting a total, a part with a ratio of 0 gets 0.

Are the numbers I enter sent to a server?

No. Ratios are calculated in your browser, and the numbers you enter never leave your device.