Math

Rule of Three Calculator

Solve rule of three problems: if A is to B, then C is to what? Supports direct and inverse proportions.

Calculator

How it works

If A corresponds to B, what corresponds to C?

Privacy Local calculations
Most tools run directly in your browser. Your entered values are not sent to this Worker.

Browse all tools

About the Rule of Three Calculator

Solve a rule-of-three problem: if A corresponds to B, what does C correspond to? Useful for recipes, prices, maps and scaling work.

How to use it

Fill in A and B as the known pair, then C as the new amount. Pick direct if more means more and inverse if more means less.

Formula

Direct: X = B × C ÷ A. Inverse: X = A × B ÷ C

Worked example

If 3 kg cost 12, then 5 kg cost 12 × 5 ÷ 3 = 20. If 4 workers need 6 days, 3 workers need 4 × 6 ÷ 3 = 8 days (inverse).

Understanding your result

The answer is the missing value, and the line under it states the proportion in words so you can check that it makes sense.

When it is useful

Common mistake

Choosing the wrong type. Ask yourself whether doubling C should double or halve the answer.

When to use it

Three numbers and one missing fourth: that is the shape of many everyday questions — a recipe for four people, a price per kilogram, a map scale, a job that takes four workers six days. All are proportions, solved the same way once you know whether more means more or more means less.

Direct proportion covers what scales together: double the weight, double the price. Inverse covers what trades off: more workers, fewer days. That choice matters more than the arithmetic.

How the maths works

In a direct proportion A is to B as C is to X, so X = B × C ÷ A: B ÷ A is the amount per unit of A, multiplied by C. In an inverse proportion the product stays constant, so X = A × B ÷ C. The test: if C doubles, should X double or halve?

A zero in the wrong place breaks the sum: A cannot be zero in a direct proportion, nor C in an inverse one.

A worked example

Three metres of cable cost 12; what do five metres cost?

  1. Price per metre: 12 ÷ 3 = 4.
  2. Five metres: 4 × 5 = 20.
  3. In the tool: A = 3, B = 12, C = 5, direct proportion.
  4. Check: 3 is to 12 as 5 is to 20, and 20 ÷ 5 equals 12 ÷ 3.

The inverse case: four workers finish in six days, so three take 4 × 6 ÷ 3 = 8 days — fewer workers, more days, the same 24 worker-days.

Common proportions

Known pairQuestionTypeAnswer
3 m cost 125 mDirect20.00
4 servings need 300 g6 servingsDirect450 g
1.5 kg cost 4.502.5 kgDirect7.50
4 workers take 6 days3 workersInverse8 days

The last row keeps its product constant at 24 worker-days, which is what makes it inverse rather than direct.

Common mistakes

  • Choosing the wrong type. Ask whether doubling C should double the answer or halve it.
  • Changing units. 1.5 kg and 2,500 g are not the same field until one is converted.
  • Assuming everything is linear. Cooking time, paint drying and fuel use per kilometre are not: doubling the quantity rarely doubles the time.
  • Forcing a zero through. A zero in A or C leaves no proportion to solve.

Keep exploring

Frequently asked questions

How do I know whether it is direct or inverse?

If more of one thing means more of the other (kilos and price), it is direct. If more of one means less of the other (workers and days), it is inverse.

Can I use decimals?

Yes. Any numbers work, as long as A is not zero (direct) and C is not zero (inverse).

Three metres cost 12: what do five metres cost?

20.00, because 12 ÷ 3 = 4 per metre and 4 × 5 = 20. In the tool, A = 3, B = 12, C = 5, direct.

Four workers take six days: how long do three take?

Eight days. The inverse rule is X = A × B ÷ C, so 4 × 6 ÷ 3 = 8, keeping the 24 worker-days constant.

A recipe for four needs 300 g: how much for six?

450 g, from 300 ÷ 4 = 75 g per serving and 75 × 6 = 450.

How much do 2.5 kg cost if 1.5 kg cost 4.50?

7.50: the price per kilo is 3.00, and 3.00 × 2.5 = 7.50. Keep both weights in the same unit.

Why does the page reject a zero?

A direct proportion divides by A and an inverse one by C, so a zero there has no answer. The tool reports the error instead of returning infinity.

Related guides

Page reviewed 21 October 2026. Results are estimates for general information. See the methodology and disclaimer.

Browse more tools

Percentage Calculator

Calculate a percentage of any number.

Math

What Percent Is X of Y?

Find what percentage one number is of another.

Math

Percentage Change

Calculate the percentage increase or decrease.

Math

Discount Calculator

Find the sale price after a discount.

Math

VAT Calculator

Add VAT to a net price or extract VAT from a gross price.

Finance

Tip Calculator

Calculate a tip and the total bill.

Finance

Bill Splitter

Split a bill among people, including a tip.

Finance

Average Calculator

Calculate the average of a list of numbers.

Math

Ratio Simplifier

Simplify a ratio of two numbers.

Math

Compound Interest Calculator

Estimate investment growth with compound interest.

Finance

Simple Interest Calculator

Calculate interest without compounding.

Finance

Loan Payment Calculator

Estimate monthly repayments on a fixed-rate loan.

Finance

Savings Goal Calculator

Estimate monthly savings needed to reach a target.

Finance

ROI Calculator

Calculate return on investment.

Finance

Profit Margin Calculator

Calculate profit and profit margin from revenue and costs.

Finance

Markup Calculator

Calculate selling price from cost and markup.

Finance

Currency Converter

Convert currencies using a rate you supply.

Conversions

BMI Calculator

Estimate body mass index from height and weight.

Health

Daily Calorie Estimate

Estimate daily energy needs using the Mifflin–St Jeor equation.

Health

Water Intake Estimator

Estimate a daily water baseline by body weight.

Health

Age Calculator

Calculate age from a date of birth.

Dates

Date Difference

Find the number of days between two dates.

Dates

Add Days to a Date

Find a date a chosen number of days from a start date.

Dates

Length Converter

Convert between common length units.

Conversions

Weight Converter

Convert mass and weight units.

Conversions

Temperature Converter

Convert Celsius, Fahrenheit and Kelvin.

Conversions

Speed Converter

Convert speed between km/h, mph and m/s.

Conversions

Volume Converter

Convert litres, millilitres, gallons and cups.

Conversions

Area Converter

Convert square metres, hectares, acres and more.

Conversions

Data Storage Converter

Convert bytes, kilobytes, megabytes and gigabytes.

Conversions

Word Counter

Count words, characters and sentences.

Text

Text Case Converter

Convert text to uppercase, lowercase or title case.

Text

Password Generator

Generate a random password in your browser.

Utilities

Unix Timestamp Converter

Convert a Unix timestamp into a readable date.

Dates

Character Limit Checker

Check text against a character limit.

Text

BMI Calculator (Imperial)

Estimate BMI using pounds and inches.

Health

Fuel Economy Converter

Convert between L/100 km, km/L and US mpg.

Conversions

Break-even Calculator

Estimate units needed to cover fixed costs.

Finance

Statistics Calculator

Mean, median, mode, range and standard deviation.

Math

GCD & LCM Calculator

Find the greatest common divisor and least common multiple.

Math

Unit Price Comparison

Compare two products to find the better price per unit.

Finance

Sales Tax Calculator

Add sales tax to a price or find the tax in a total.

Finance

Hourly to Salary Calculator

Convert an hourly wage to weekly, monthly and yearly pay.

Finance

Running Pace Calculator

Work out your pace per km and per mile.

Health

Working Days Calculator

Count weekdays between two dates.

Dates

Days Until a Date

Count the days to or since a date.

Dates

Random Number Generator

Pick random whole numbers in a range.

Utilities

CAGR Calculator

Find the steady yearly growth rate between two values.

Finance

Inflation Calculator

See how inflation changes prices and purchasing power.

Finance

Electricity Cost Calculator

Estimate what an appliance costs to run.

Finance

Weighted Grade Calculator

Weighted average of scores, and the final exam score you need.

Math

Rule of Three Calculator

Solve direct and inverse proportion problems.

Math

Fraction Simplifier

Simplify a fraction and see it as a decimal and a percent.

Math

Roman Numeral Converter

Convert numbers to Roman numerals and back.

Conversions

Number Base Converter

Convert between decimal, binary, octal and hexadecimal.

Conversions

Number to Words

Write a number in English words.

Text

Due Date Calculator

Estimate a due date from the last period.

Dates

Time Duration Calculator

Hours between two times, minus a break.

Dates

Week Number Calculator

ISO week number, day of year and quarter for a date.

Dates

Mortgage Calculator

Estimate the monthly payment of a home loan.

Finance

Loan Affordability Calculator

Find the loan size a monthly payment can support.

Finance

Savings Growth Calculator

See savings grow with deposits and interest.

Finance

Credit Card Payoff Calculator

See how long a card balance takes to clear.

Finance

Percentage Points Calculator

Difference between two percentages in points.

Math

Probability Calculator

Chance of one outcome and of at least one success.

Math

Odds to Probability Calculator

Turn odds like 3 to 1 into probabilities.

Math

Dice Roller

Roll up to 20 dice with any number of sides.

Utilities

Time Card Calculator

Add up a run of shifts and count the pay.

Dates

Sleep Calculator

Plan bedtimes or wake-up times in sleep cycles.

Health

Square Footage Calculator

Area of a rectangle in m², ft² and yd².

Conversions

Paint Quantity Calculator

How much paint a wall needs, coats included.

Utilities

Body Fat Estimate (US Navy Method)

Tape-measure body fat percentage estimate.

Health

Ideal Weight Calculator

Weight ranges from classic formulas and BMI.

Health

Fuel Cost Calculator

What a trip costs in fuel.

Finance

Concrete Calculator

Estimate concrete volume for a slab, with wastage.

Utilities

Tile Calculator

Work out how many tiles a floor or wall needs.

Utilities

Wallpaper Calculator

Estimate rolls of wallpaper for a room.

Utilities

Gravel Calculator

Convert area and depth into tonnes of gravel.

Utilities

Overtime Pay Calculator

Add up regular pay and overtime in one go.

Finance

Calories Burned Calculator

Estimate calories burned for an activity.

Health

Macro Calculator

Split daily calories into protein, carbs and fat.

Health

Miles to Steps

Convert between distance and footsteps.

Health

Test Score Percentage

Turn points earned into a percentage score.

Math

Stacked Discounts

See the real total of several discounts in a row.

Math

Pocket cheat sheets

Numbers worth remembering

Guides and explainers

All guides →

Show your working

Every tool lists its formula and a worked example, so you can verify the answer yourself.

Understand the result

Each page explains how to read the result, when to use it and the mistakes to avoid.

Clear limits

Estimates are labelled as estimates. Read how we work on the methodology page.

Free online tools for everyday tasks

Use the tools above for everyday calculations, conversions, planning and text processing. Check your inputs before relying on results for financial, medical or other important decisions.

Financial estimates are illustrative and may exclude fees, taxes or other costs. Health-related estimates are not medical advice. See the disclaimer.