Ratio Calculator

Ratio calculator is a free online tool that simplifies any ratio in seconds. Enter two numbers, and it shows the simplified ratio and each part as a percentage share.

Use this tool for school work, cooking, mixing paint or any task where two amounts need to stay in the same proportion. It works in any browser, on a phone, tablet or computer, and you do not need to sign up.

Ratio Calculator

Enter two whole numbers to simplify the ratio and see each part as a percentage share.

The ratio is simplified by dividing both numbers by their greatest common divisor. Each share is that value divided by the total, times 100.

How to Use the Ratio Calculator

  1. Enter the first number in Value A, for example 50.
  2. Enter the second number in Value B, for example 100.
  3. Tap Simplify Ratio to see the simplified ratio and the percentage shares.
  4. Tap Reset to start again with the default values.

How the Ratio Calculator Works

The ratio calculator first finds the greatest common divisor of the two numbers. That is the largest whole number that divides both numbers with no remainder. Then it divides each number by that divisor to give the simplest form of the ratio.

Next, it works out the percentage share of each part. It adds the two numbers to get the total, then divides each number by the total and multiplies by 100. For example, 50 out of a total of 150 is 33.33%, and 100 out of 150 is 66.67%.

  • The greatest common divisor is the largest number that divides both values exactly.
  • The simplified ratio keeps the same proportion in the smallest whole numbers.
  • Each share is that value divided by the total, times 100.
  • The two shares always add up to 100%.

You can read more about ratios on Wikipedia.

Worked Example

Take Value A as 50 and Value B as 100. First, the greatest common divisor of 50 and 100 is 50. Then, divide both numbers by 50 to get 1 and 2. So the ratio calculator gives a simplified ratio of 1 : 2.

The total is 50 plus 100, which is 150. So the share of A is 50 divided by 150, times 100, which is 33.33%. The share of B is 100 divided by 150, times 100, which is 66.67%. In short, the ratio is 1 : 2, with shares of 33.33% and 66.67%.

Frequently Asked Questions

What is a ratio calculator?

It simplifies a ratio to its smallest whole numbers. It also shows each part as a percentage share of the total, so you can see how the two parts compare.

What is the greatest common divisor?

It is the largest whole number that divides two numbers with no remainder. For example, the greatest common divisor of 50 and 100 is 50, because 50 divides both 50 and 100 exactly.

Can I use a ratio calculator for a recipe?

Yes. If a recipe uses 50 grams of sugar and 100 grams of flour, the ratio is 1 : 2. That means you need twice as much flour as sugar, whatever size of recipe you make.

What if one of the numbers is 0?

If one number is 0, the ratio shows that part as 0. For example, 0 and 100 simplify to 0 : 1, with shares of 0% and 100%. Both numbers cannot be 0 at the same time.

Is this ratio calculator free?

Yes, it is free to use, with no sign-up, no download and no limit on how many times you use it. All the sums are done in your browser, and none of your figures are sent anywhere.

Related Tools