Rule of Three Calculator
Solve a direct or inverse rule of three from three values, with the proportion shown step by step.
If 3 corresponds to 45, 5 corresponds to x.
Support calculation. Check the result before using it in a document.
The compound rule of three (more than two quantities) is not calculated here.
Value of x
75
x = 45 × 5 ÷ 3 = 75
Exact result.
How does the rule of three work?
To solve a rule of three, multiply two of the three known values and divide by the third. Which two you multiply depends on whether the relation is direct or inverse. In a direct relation, more of one thing means more of the other. In an inverse one, more of one means less of the other. For example, if 4 workers take 6 days to finish a job, 3 workers take x = 4 × 6 ÷ 3 = 8 days. This calculator solves both kinds, shows the proportion step by step with your numbers, and runs in your browser. Use it for prices, recipes, floor plans and work schedules. It is free and needs no sign-up. Nothing you enter is sent to a server.
How to use Rule of Three Calculator
- Choose direct or inverse. Use direct when both values rise and fall together, like the cost of more notebooks. Use inverse when one rises as the other falls, like more workers finishing sooner.
- Enter the three values you know. The sentence under the fields fills in as you type, so you can see whether each pair sits in the right place.
- Check the formula. A direct rule multiplies the second value by the third and divides by the first. An inverse rule multiplies the first by the second and divides by the third. The calculator shows the operation with your numbers.
- Read the answer. A ≈ sign means the result is rounded to four decimals. If the answer looks wrong, check the pairs first: with more notebooks, the total cost should go up.
Privacy
Common use cases
Scaling a recipe
A recipe serves a set number of people and you need more or fewer. Every ingredient changes in the same proportion, so a direct rule gives each new amount.
Reading a floor plan or a map
A measurement on a drawing turns into a real length through the scale. If you know one reference measurement, the rule of three gives you any other.
Planning a crew's schedule
A job takes a crew a number of days. With a bigger or smaller crew, the time changes the opposite way, which makes it an inverse problem.
Travel time at a different speed
Over the same distance, a higher speed means less travel time. The inverse rule gives the new time for a new speed.
Comparing bulk pack prices
A pack costs a set amount and you need a different quantity. If the unit price stays the same, the cost is a direct rule of three.
Frequently asked questions
When is a rule of three direct and when is it inverse?
It is direct when the two quantities move together: twice as many notebooks cost twice as much. Three notebooks for 45 means five cost x = 45 × 5 ÷ 3 = 75. It is inverse when they move in opposite directions: 4 workers taking 6 days means 3 workers take x = 4 × 6 ÷ 3 = 8 days. Ask whether the answer should go up or down when the first quantity goes up. That tells you which type you have.
What if I have more than two quantities?
This calculator solves a rule of three with two quantities and three known values. A problem with more quantities, such as workers, hours a day and days, is a compound rule of three, and the calculator does not solve it in one go. You can work through it in steps: change one quantity at a time, keep the others fixed, and enter each step here.
What does 'divide by zero' mean in a rule of three?
One of the values you divide by is zero. In a direct rule that is the first value, a, because x is divided by a. In an inverse rule it is the third value, c. Change that number, because no proportion can be solved with zero in that position.
Can I enter decimals and negative numbers?
Yes. 2.5 and 2,5 both work as decimals, and a negative value such as -6 is accepted. What is refused is a number such as 1,000 or 12,345: one to three digits with no leading zero, a comma, and exactly three digits after it. The tool cannot tell whether that is a thousands separator or a decimal. To avoid the refusal, write the extra decimal zeros, as in 1,0000, or put a zero before the comma, as in 0,500, which is accepted. Scientific notation such as 1e3 is not supported, so write 1000.
Is a rule of three the same as a proportion?
They are almost the same idea. A proportion is an equation between two ratios, such as 3 over 45 equals 5 over x. Solving a rule of three means finding x in that equation. The calculator shows the sentence 'if a corresponds to b, then c corresponds to x' so you can check the setup.
Is the answer exact?
Only when it fits in four decimal places. Otherwise it is rounded half away from zero and marked with ≈. That is precise enough for a recipe or a plan. For figures in a contract or an invoice, confirm the exact value against your source data.