Free calculator, with steps

Ratio Calculator: Simplify, Scale and Solve Ratios

To simplify a ratio, divide both terms by their greatest common factor: 24 : 36 ÷ 12 = 2 : 3. To split a total in the ratio A : B, divide it by A + B and multiply by each part: 40 in 3 : 5 is 15 and 25. To solve A : B = C : x, cross-multiply: x = B × C ÷ A, so 3 : 4 = 9 : x gives x = 12.

Type your own numbers below. Whole numbers, decimals (2.5) and fractions (3/4) all work, and every answer shows its steps.

1. Simplify a ratio (A : B)

Reduce a ratio to lowest terms. Decimals and fractions work too. The third box is optional (A : B : C).

Simplest form

2 : 3

  1. Greatest common factor of 24, 36 = 12
  2. Divide every term by 12: 24 ÷ 12 : 36 ÷ 12 = 2 : 3
Explain the steps with AI

2. Split a total in a ratio

Share an amount in the ratio A : B, for example 40 students in the ratio 3 : 5.

Shares

15 : 25

  1. Add the parts: 3 + 5 = 8
  2. Value of one part: 40 ÷ 8 = 5
  3. Share 1: 3 × 5 = 15
  4. Share 2: 5 × 5 = 25
  5. Check: 15 + 25 = 40
Explain the steps with AI

3. Solve a proportion (A : B = C : x)

Leave the unknown box empty or type x (or ?). It can be any of the four positions.

D = x

x = 12

  1. Write the proportion: 3 : 4 = 9 : x
  2. Cross-multiply: A × D = B × C
  3. x = (B × C) ÷ A = (4 × 9) ÷ 3 = 12
  4. Check: 3 × 12 = 36 and 4 × 9 = 36
Explain the steps with AI

Worked examples

The three ratio problems that come up most, solved step by step.

Example 1: Simplify 45 : 60

Write the ratio 45 : 60 in its simplest form.

  1. Factors: 45 = 3 × 3 × 5 and 60 = 2 × 2 × 3 × 5
  2. Greatest common factor = 3 × 5 = 15
  3. 45 ÷ 15 = 3 and 60 ÷ 15 = 4

45 : 60 = 3 : 4. Check: 3 and 4 have no common factor other than 1, so it cannot be simplified further.

Example 2: Split a class of 40 in the ratio 3 : 5

The ratio of boys to girls in a class is 3 : 5 and there are 40 students. How many boys and how many girls are there?

  1. Total parts: 3 + 5 = 8
  2. One part: 40 ÷ 8 = 5 students
  3. Boys: 3 × 5 = 15; girls: 5 × 5 = 25

15 boys and 25 girls. Check: 15 + 25 = 40, and 15 : 25 simplifies (÷ 5) back to 3 : 5.

Example 3: Scale a recipe: 3 : 2 = 450 : x

A recipe uses flour and sugar in the ratio 3 : 2. You have 450 g of flour. How much sugar do you need?

  1. Set up the proportion in the same order: 3 : 2 = 450 : x
  2. Cross-multiply: 3 × x = 2 × 450 = 900
  3. Divide by 3: x = 900 ÷ 3 = 300

300 g of sugar. Check: 450 : 300 ÷ 150 = 3 : 2. Also, 450 ÷ 3 = 150 g per part, and 2 parts = 300 g.

For more practice with unit rates and cross-multiplication, read how to solve ratios and proportions, or use the proportion calculator.

How ratios work

A ratio A : B compares two quantities: for every A of the first there are B of the second. Ratios that simplify to the same thing are equivalent (2 : 3, 4 : 6 and 24 : 36 all describe the same comparison), which is why simplifying works exactly like reducing a fraction with the greatest common factor.

A proportion says two ratios are equal, A : B = C : D. In any true proportion the cross products are equal (A × D = B × C), so if you know three of the numbers you can always find the fourth. That one rule covers scaling recipes, reading map scales, mixing solutions and resizing images.

To turn a ratio into a fraction of the whole, put one part over the total: in 3 : 5, the first quantity is 3/8 of the total and the second is 5/8. To work with those fractions, use the simplify fractions calculator or the percent calculator (3/8 = 37.5%).

Stuck on a ratio word problem?

Type or photograph the whole question in the MathAI GPT math solver and get a step-by-step solution that sets up the ratio for you. On your phone, use MathAI GPT - Math Solver for iPhone or MathAI GPT for Android.

Ratio calculator FAQ

How do you calculate a ratio?

Write the two quantities in order as A : B, then simplify by dividing both by their greatest common factor. For 24 apples and 36 oranges the ratio is 24 : 36, and dividing both by 12 gives 2 : 3.

How do you simplify a ratio with decimals or fractions?

First multiply every term by the same power of 10 (or by the common denominator) to get whole numbers, then divide by the greatest common factor. For 1.5 : 2.25, multiply by 100 to get 150 : 225, then divide by 75 to get 2 : 3.

How do you split a number in a given ratio?

Add the parts of the ratio, divide the total by that sum to get the value of one part, then multiply each part by it. To share 40 in the ratio 3 : 5: 3 + 5 = 8 parts, 40 ÷ 8 = 5 per part, so the shares are 15 and 25.

How do you solve a ratio with x, like 3 : 4 = 9 : x?

Cross-multiply: in A : B = C : D, A × D = B × C. For 3 : 4 = 9 : x, 3x = 36, so x = 12. Check: 3 : 4 and 9 : 12 both simplify to 3 : 4.

Does the order of a ratio matter?

Yes. A ratio of boys to girls of 3 : 5 means 3 boys for every 5 girls; 5 : 3 would mean the opposite. Always keep the terms in the same order as the words in the question.

What is the difference between a ratio and a fraction?

A ratio compares parts to each other (3 : 5 boys to girls), while a fraction compares a part to the whole. In a 3 : 5 class, the fraction of boys is 3/8, because there are 3 + 5 = 8 parts in total.

Can a ratio have more than two numbers?

Yes. A ratio such as 12 : 18 : 30 has three terms. Simplify it the same way, by dividing every term by the greatest common factor (6), to get 2 : 3 : 5. The simplify tool above accepts an optional third term.

Related calculators