Ratio Calculator
A ratio calculator compares two or three positive quantities and rewrites that comparison in the form you need. The Ratio Calculator on this page simplifies a ratio to whole numbers, sets the first or last value to 1, or multiplies every part by the same number. Choose two values or three values, then read the result and the steps.
How to Use the Ratio Calculator
The form starts with a Calculation menu and a choice of how many numbers the ratio has. The fields that follow match that choice.
- Open Calculation and choose Simplest form, Set the first value to 1, Set the last value to 1, Increase the ratio, or Decrease the ratio.
- Under Ratio, choose 2 values or 3 values. Third value appears only when you choose 3 values.
- Enter First value and Second value. With three values, enter Third value as well. Each number must be greater than zero.
- Increase the ratio asks for a Multiplier greater than 1. Decrease the ratio asks for a Multiplier greater than 0 and less than 1. The other three calculations do not show a multiplier.
- Read the ratio in the result, then the calculation steps under the name of the method you chose.
The page opens on Simplest form with two values, 24 and 36, and the result 2:3. Clear returns the calculator to that starting point.
What Is a Ratio?
A ratio compares two or more quantities by showing how much of one there is in relation to the others. A recipe that uses 2 cups of flour and 3 cups of water has a flour-to-water ratio of 2:3. The colon means “to,” so 2:3 is read as “2 to 3.”
Order is part of the meaning. Flour to water is 2:3. Water to flour is 3:2. Those are different statements, even though they use the same two amounts.
A ratio can also compare more than two quantities. Blue, yellow, and white paint in the amounts 2, 3, and 5 can be written 2:3:5. Each position still belongs to one quantity, in the order you chose.
How to Simplify a Ratio
Simplest form is the ratio simplifier on this page. It reduces ratios to the smallest whole numbers that keep the same relationship. For whole-number parts, divide every part by their greatest common divisor.
Start with 24:36. The greatest common divisor of 24 and 36 is 12.
24 ÷ 12 = 2
36 ÷ 12 = 3
The simplest form is 2:3. For every 2 parts of the first quantity, there are still 3 parts of the second.
The same rule covers three numbers. For 12:18:30, the greatest common divisor is 6.
12 ÷ 6 = 2
18 ÷ 6 = 3
30 ÷ 6 = 5
The simplest form is 2:3:5. The three quantities still stand in the same relation as 12, 18, and 30.
A decimal ratio is turned into whole numbers before that division. For 1.5:2.5, multiply both values by 2 to clear the decimal, which gives 3:5. That ratio is already in simplest form. Simplest form always returns whole numbers. It does not leave the result as 1:1.5.
How to Express a Ratio as 1:n or n:1
Setting one part to 1 changes how the ratio is written. It does not reduce the ratio to smallest whole numbers. The other parts become the amount that goes with that single part, and they may be decimals.
Set the first value to 1
Divide every value by the first value. For 24:36:
24 ÷ 24 = 1
36 ÷ 24 = 1.5
The result is 1:1.5. One unit of the first quantity goes with 1.5 units of the second. With three values, divide all three by the first. 12:18:30 becomes 1:1.5:2.5.
Set the last value to 1
Divide every value by the last value. For two values, the last value is the second number. For 24:36:
24 ÷ 36 = 0.666667
36 ÷ 36 = 1
The result is 0.666667:1. The repeating part is shown to six decimal places. With three values, the last value is the third number. 12:18:30 becomes 0.4:0.6:1.
How to Increase or Decrease a Ratio
Increasing and decreasing scale a ratio by multiplying every part by one multiplier. The relationship stays the same because each part grows or shrinks by the same factor. The result is not simplified afterward. 48:72 stays 48:72, rather than becoming 2:3.
Increase a ratio
The multiplier must be greater than 1. A multiplier of 1, or any number smaller than 1, is not accepted for this calculation. For 24:36 and a multiplier of 2:
24 × 2 = 48
36 × 2 = 72
The increased ratio is 48:72. A multiplier of 1 is rejected, and so is 0.5, because neither makes the ratio larger.
Decrease a ratio
The multiplier must be greater than 0 and less than 1. Zero, 1, and any number greater than 1 are not accepted for this calculation. For 24:36 and a multiplier of 0.5:
24 × 0.5 = 12
36 × 0.5 = 18
The decreased ratio is 12:18. It is an equivalent way to write the same comparison, and it is left unsimplified. To reach 2:3 from 12:18, switch the calculation to Simplest form.
Two-Value Ratios vs. Three-Value Ratios
A two-value ratio compares one quantity with one other quantity. 2:3 can mean 2 cups of flour for every 3 cups of water, or 2 students for every 3 books.
A three-value ratio compares three quantities in one statement. 2:3:5 can mean 2 parts blue paint, 3 parts yellow paint, and 5 parts white paint. The order is blue, then yellow, then white. Changing that order changes which color has which amount.
Choose 2 values or 3 values before you read the result. With two values, the third field stays hidden. With three values, all three fields are used, and every calculation method acts on all three numbers.
Ratio Calculation Formulas
These expressions describe the arithmetic. The calculator applies them to the positive numbers you enter, including decimals, and shows a result it can display.
Simplest form
For whole numbers, d is the greatest common divisor of every part.
a:b = (a ÷ d):(b ÷ d)
For three values, a:b:c = (a ÷ d):(b ÷ d):(c ÷ d). Decimal parts are first written as fractions. Every part is then multiplied by the least common multiple of those denominators, and the greatest common divisor is taken from the resulting whole numbers.
First value set to 1
a:b = 1:(b ÷ a)
For three values, a:b:c = 1:(b ÷ a):(c ÷ a).
Last value set to 1
a:b = (a ÷ b):1
For three values, a:b:c = (a ÷ c):(b ÷ c):1.
Increase or decrease
k is the multiplier. Increase uses k > 1. Decrease uses 0 < k < 1.
a:b = (a × k):(b × k)
For three values, a:b:c = (a × k):(b × k):(c × k). The parts are not divided by a common divisor after this multiplication.
Practical Examples of Ratios
A recipe
A sauce uses 2 cups of stock and 3 cups of milk. Written as a ratio of stock to milk, that is 2:3. Doubling the recipe multiplies both amounts by 2, so Increase the ratio gives 4:6. The mix is unchanged: there are still 3 cups of milk for every 2 cups of stock. Simplest form of 4:6 is 2:3.
A three-part mix
A cleaner is mixed from 12 ounces of concentrate, 18 ounces of water, and 30 ounces of vinegar. Simplest form divides 12:18:30 by 6 and gives 2:3:5. A smaller batch that keeps the same mix can use Decrease the ratio with a multiplier of 0.5, which gives 6:9:15. That result is not reduced to 2:3:5 unless you then choose Simplest form.
Comparing two counts
A class has 24 students and 36 chairs. Students to chairs is 24:36. Simplest form is 2:3, so there are 3 chairs for every 2 students. Set the first value to 1 and the same counts become 1:1.5, which reads as 1.5 chairs for each student.
Sharing one unit of the last amount
A paint mix is 2 parts blue and 3 parts yellow. Set the last value to 1 and 2:3 becomes 0.666667:1. For each 1 part of yellow, the mix uses about 0.666667 part of blue. That is another way to write 2:3. It is not the simplest whole-number form, which remains 2:3.
Frequently Asked Questions
How do I calculate a ratio?
Write the quantities in order and separate them with a colon. To compare 24 and 36, enter those values and choose what you want done with them: simplest whole numbers, a form with 1 in the first or last place, or every part multiplied by the same number.
How do I simplify a ratio?
Choose Simplest form and enter the values. The calculator divides whole-number parts by their greatest common divisor. 24:36 becomes 2:3, and 12:18:30 becomes 2:3:5. Decimal values are converted to whole numbers first.
What is a ratio in simplest form?
It is the same comparison written with the smallest whole numbers. 2:3 is the simplest form of 24:36, 12:18, and 48:72. No whole number greater than 1 divides every part.
Can a ratio have three numbers?
Yes. Choose 3 values and enter the third number. Every method on this page then uses all three, so 12:18:30 can become 2:3:5, 1:1.5:2.5, or 0.4:0.6:1.
Does the order of a ratio matter?
Yes. 2:3 compares the first quantity with the second. 3:2 reverses that comparison. For three values, the first, second, and third fields stay in the order you enter them.
What does it mean to set a ratio to 1?
Set the first value to 1 divides every part by the first number, so 24:36 becomes 1:1.5. Set the last value to 1 divides every part by the last number, so 24:36 becomes 0.666667:1. Both keep the same relationship. Neither is the same operation as simplest form.
How do you increase or decrease a ratio?
Increase the ratio multiplies every part by a number greater than 1. Decrease the ratio multiplies every part by a number greater than 0 and less than 1. 24:36 increased by 2 is 48:72. The same ratio decreased by 0.5 is 12:18. Those products are not reduced automatically.
Are 2:3 and 4:6 equivalent ratios?
Yes. Multiplying or dividing every part by the same positive number gives an equivalent ratio, so 2:3, 4:6, and 24:36 describe the same comparison. This page does not solve for a missing part in an equation such as 2:3 = 4:n. It can simplify 4:6 to 2:3, or multiply 2:3 by a multiplier you enter.