Saved

Press the star next to a tool's name to save it.

All my tools

Ratio Calculator

Enter a ratio to see it in simplest form and as percentages. Add a new number to scale it up or down.

Restored your last values ·

Your result opens on the next page.

Simplest ratio

3:2

Enter two numbers to see the ratio.

See full result

How to simplify a ratio

Divide both numbers by the largest number that goes into both. For 6:4, that number is 2, so the ratio simplifies to 3:2.

How to convert a ratio to a percentage

A ratio can be read in two ways, and it helps to know which you need.

Share of the total = part ÷ (A + B) × 100

A compared with B = A ÷ B × 100

For 3:2, the total is 5 parts, so the shares are 3 ÷ 5 = 60% and 2 ÷ 5 = 40%. Compared directly, A is 3 ÷ 2 = 150% of B. The calculator shows both.

How to scale a ratio

Multiply both numbers by the same amount. To scale 6:4 so the first number is 12, multiply by 2 to get 12:8. This is useful for recipes, paint and model sizes.

Common ratios as percentages

RatioFirst shareSecond share
1:150%50%
2:166.67%33.33%
3:175%25%
3:260%40%
4:180%20%
9:190%10%

For image and screen sizes, try our aspect ratio calculator.

How to use the ratio calculator

  1. Enter the first number (A). This is the left side of the ratio, such as 18 in 18:24.
  2. Enter the second number (B). This is the right side, such as 24.
  3. Add a value in Scale A to (optional) if you want an equivalent ratio that starts with a set number. Leave it blank if you only want the simplest form.
  4. Press Calculate. Your result opens on its own page.

The result shows the simplest ratio in large type and both shares as percents. The table lists A’s share of the total, B’s share of the total, A ÷ B to 4 decimal places, A as a percent of B, and the scaled ratio if you asked for one.

Worked example: simplifying and scaling 18:24

Enter 18 and 24, and put 9 in Scale A to. The largest number that goes into both 18 and 24 is 6, so the simplest ratio is 3:4. The total is 18 + 24 = 42, so A’s share is 18 ÷ 42 = 42.86% and B’s share is 24 ÷ 42 = 57.14%. Compared directly, A ÷ B is 0.75, so A is 75% of B. The scaled ratio is 9:12, because 9 is half of 18 and half of 24 is 12.

Worked example: a ratio with decimals

Ratios don’t have to use whole numbers. Enter 2.5 and 1.25. The calculator multiplies both by 100 to clear the decimals, which gives 250 and 125, then divides both by 125. The simplest ratio is 2:1. The shares are 66.67% and 33.33%, A ÷ B is 2, and A is 200% of B.

Using a ratio to scale a recipe or a mix

Say a recipe uses 3 cups of flour to 2 cups of sugar, and you want to use 5 cups of flour. Enter 3 and 2, then 5 in Scale A to. The scaled ratio is 5:3.3333, so you need about 3 1/3 cups of sugar. The calculator shows scaled values to 4 decimal places, so round to whatever your measuring cups allow.

The calculator only scales the first number. To find A when you know the new B, swap the boxes: put the B number first, scale it, and read the answer the other way round.

Sharing an amount in a given ratio

The share rows tell you how to split a total. To share $150 between two people in the ratio 3:2, enter 3 and 2. The shares are 60% and 40%, so one person gets 60% of $150, which is $90, and the other gets 40%, which is $60. The two shares always add up to 100%, apart from rounding to 2 decimal places.

Zero, order and other limits

  • Order matters. 3:2 and 2:3 are different ratios. The first number entered is always A.
  • Zero is allowed on one side. 5:0 simplifies to 1:0, with shares of 100% and 0%. The A ÷ B rows are left out, because you can’t divide by zero.
  • Not both zero. At least one number must be above 0, and neither can be negative.
  • Two parts only. The calculator works with ratios of two numbers. For a three-part ratio, simplify the parts in pairs or divide all three by their common factor by hand.

Ratio, fraction and percent

A ratio compares parts with each other, while a fraction compares a part with the whole. The ratio 1:3 means one part for every three parts, so the first part is 1/4 of the whole, or 25%, and the second is 75%. That is why A’s share of the total is not the same as A ÷ B, which here is 0.3333. For screen and image sizes such as 16:9, the aspect ratio calculator works in pixels. To turn a share into a fraction, use the percent to fraction converter.

Checking that two ratios are equal

Two ratios are equivalent when they simplify to the same thing. Enter each one in turn: 18:24 and 9:12 both simplify to 3:4, so they are equal.

Common ratio mistakes

  • Adding instead of multiplying. Adding 2 to both sides of 3:2 gives 5:4, which is a different ratio. Scale by multiplying.
  • Mixing up share and comparison. In 3:2, A is 60% of the total but 150% of B.
  • Mixing units. Write both numbers in the same unit before you compare them.

How we calculate this

To simplify a ratio, the tool first multiplies both numbers by a power of 10 so that decimals become whole numbers. Then it divides both by their greatest common divisor. So 1.5 : 3 becomes 15 : 30, then 1 : 2.

The shares are each number ÷ (A + B) × 100. The decimal is A ÷ B, and the percent is A ÷ B × 100.

If you enter a value for the first part in the scale box, the second part is scaled to match: second = scale value × B ÷ A. Both numbers must be zero or more, and they cannot both be zero. The scale value must be zero or more as well.

What next

Use this often? Add Ratio to your Home screen.

Frequently asked questions

How do I convert a ratio to a percentage?

Add the two numbers, divide each by the total, then multiply by 100. For 3:2, the shares are 60% and 40%.

How do I simplify a ratio?

Divide both numbers by the largest number that goes into both. For example, 6:4 simplifies to 3:2.

How do I scale a ratio?

Multiply both numbers by the same amount. To make 3:2 start with 9, multiply by 3 to get 9:6.

How do I split an amount in a ratio?

Enter the ratio and read the two shares. Multiply the amount by each share. For $150 in the ratio 3:2, the shares are 60% and 40%, so the split is $90 and $60.

Can a ratio include decimals?

Yes. The calculator clears the decimals first by multiplying both numbers by a power of 10. For example, 2.5:1.25 becomes 250:125, which simplifies to 2:1.

Can one side of a ratio be zero?

Yes, as long as the other side is above 0. 5:0 simplifies to 1:0, with shares of 100% and 0%. The A divided by B rows are not shown, since nothing can be divided by zero.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools