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.
Reduce a ratio to lowest terms. Decimals and fractions work too. The third box is optional (A : B : C).
Simplest form
2 : 3
Share an amount in the ratio A : B, for example 40 students in the ratio 3 : 5.
Shares
15 : 25
Leave the unknown box empty or type x (or ?). It can be any of the four positions.
D = x
x = 12
The three ratio problems that come up most, solved step by step.
Write the ratio 45 : 60 in its simplest form.
45 : 60 = 3 : 4. Check: 3 and 4 have no common factor other than 1, so it cannot be simplified further.
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?
15 boys and 25 girls. Check: 15 + 25 = 40, and 15 : 25 simplifies (÷ 5) back to 3 : 5.
A recipe uses flour and sugar in the ratio 3 : 2. You have 450 g of flour. How much sugar do you need?
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.
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%).
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.
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.
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.
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.
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.
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.
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.
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.