Write the known pair
If A corresponds to B.
Enter three values and get the fourth. Choose direct proportion when more of one means more of the other, or inverse when more means less.
100% private — the calculation is done in your browser and nothing is sent to any server.
Keep going with your result in another tool. Nothing is uploaded.
If A corresponds to B.
Then C corresponds to what? Choose direct or inverse.
The result appears with the formula and a sentence that states it.
The rule of three is the everyday tool for scaling a quantity. If 4 kilos of tomatoes cost 20, how much do 10 kilos cost? If a recipe for 4 people uses 300 g of rice, how much do you need for 10? If a map scale says 2 cm corresponds to 5 km, what distance is 7 cm? In each case you know a pair of related values and one new number, and you want the value that goes with it. The rule of three gives it in one step.
When both quantities grow together and shrink together, they are directly proportional. Double the kilos, double the price. The unknown is found by multiplying the second value of the known pair by the new number and dividing by the first value of the pair: X = B × C ÷ A. With A = 4, B = 20 and C = 10, X = 20 × 10 ÷ 4 = 50. Prices, ingredients, distances at constant speed and exchange rates all work this way.
When one quantity grows as the other shrinks, they are inversely proportional. If 4 workers finish a job in 6 days, how long will 8 workers need? More workers mean fewer days. The product stays constant, so X = A × B ÷ C = 4 × 6 ÷ 8 = 3 days. Time and speed for a fixed distance, workers and time for a fixed job, and the number of people sharing a fixed cost all follow the inverse rule.
Ask what happens to the second quantity when the first one increases. If the second also increases, it is direct. If it decreases, it is inverse. Getting this wrong is the most common mistake with the rule of three, so read the situation before pressing any buttons: the calculator cannot know which relationship your problem has.
It assumes a perfectly proportional relationship. Many real situations are not proportional: bulk discounts, fixed fees, tax brackets, cooking times and anything with a minimum charge. Use the result as an estimate when the relationship is only approximately proportional. For percentages there is a dedicated percentage calculator.
More utilities that also run without leaving your browser.