ES EN FR PT DE IT

Rule of Three Calculator

Solve direct proportions: if a is to b as c is to x, find x.

The Rule of Three Calculator is a free online math calculator. Solve direct proportions: if a is to b as c is to x, find x. Get instant results with the detailed formula and step-by-step examples.
Inputs
Values
Result
Enter values and press Calculate

What is the Rule of Three?

The rule of three solves proportional problems where three known values determine a fourth unknown value. This mathematical technique handles situations like "if 3 workers finish a task in 8 hours, how long do 5 workers take?" or "if 2.5 liters of paint covers 18 square meters, how much paint covers 45 square meters?" You're using the rule of three whenever you scale recipes, calculate unit prices, convert currencies, or estimate travel time based on speed.

Consider this scenario: A bakery uses 4.5 kilograms of flour to produce 30 loaves of bread. The owner receives an order for 75 loaves. How much flour is needed? Set up the proportion: 30 loaves requires 4.5 kg, so 75 loaves requires X kg. Using the rule of three: X = (4.5 × 75) / 30 = 337.5 / 30 = 11.25 kilograms. The bakery needs exactly 11.25 kg of flour for the order. This same proportional reasoning applies to calculating medication dosages, determining material quantities in construction, scaling digital images, or computing fuel consumption for trips.

Formulas Explained

The rule of three rests on a fundamental principle: when two quantities maintain a constant ratio, their relationship forms a proportion. If quantity A corresponds to quantity B, then quantity C corresponds to unknown quantity X in the same ratio. Mathematically: A/B = C/X, or equivalently, A:C = B:X.

To isolate X, cross-multiply and solve: A × X = B × C, therefore X = (B × C) / A. This formula produces exact results for any valid direct proportional relationship, not approximations.

Direct proportion means both quantities move together — double one, the other doubles. Example: If 7 notebooks cost $24.50, then 12 notebooks cost X. Here A = 7, B = $24.50, C = 12. Calculate: X = ($24.50 × 12) / 7 = $294 / 7 = $42.00. Twelve notebooks cost exactly $42.

Inverse proportion works oppositely — increasing one quantity decreases the other. If 4 pumps drain a pool in 15 hours, how long do 6 pumps take? More pumps means less time. For inverse proportion, use X = (A × B) / C. Here: X = (4 × 15) / 6 = 60 / 6 = 10 hours. Six pumps drain the pool in 10 hours.

6 Step-by-Step Instructions

  1. Identify the known proportional pair: Find two related values. Example: 8 liters of diesel fuel costs $14.40. You have A = 8 liters and B = $14.40.
  2. Identify the single known value from the second pair: What quantity are you solving for? Example: You need 15 liters. So C = 15 liters, and X = unknown cost.
  3. Determine proportion type: Ask: does more of A mean more of B (direct), or less of B (inverse)? Fuel cost increases with volume, so this is direct proportion.
  4. Set up the relationship visually: Write "8 L → $14.40" and "15 L → X dollars." This arrangement prevents mixing which values multiply together.
  5. Apply the appropriate formula: For direct: X = (B × C) / A. Plug in: X = ($14.40 × 15) / 8.
  6. Calculate and verify: First $14.40 × 15 = $216. Then $216 / 8 = $27.00. Check: 15 liters is nearly double 8 liters, so the cost should be nearly double $14.40. Double is $28.80, and $27.00 is reasonable.

4-5 Real Examples with Specific Numbers

Example 1: Adjusting a Recipe for a Dinner Party
A lasagna recipe serves 6 people and calls for 750 grams of ground beef. You're hosting 16 guests. How much beef do you need? Set up: 6 servings → 750g beef, 16 servings → X grams. Calculate: X = (750 × 16) / 6 = 12,000 / 6 = 2,000 grams. You need exactly 2 kilograms of ground beef. At $12.99 per kilogram, your beef cost is 2 × $12.99 = $25.98.

Example 2: Calculating Driving Time and Fuel
Your vehicle's trip computer shows you traveled 340 kilometers using 27.2 liters of gasoline. You're planning a 525-kilometer road trip. How much fuel should you budget? Set up: 340 km → 27.2 L, 525 km → X liters. Calculate: X = (27.2 × 525) / 340 = 14,280 / 340 = 42 liters. At $1.52 per liter, fuel costs 42 × $1.52 = $63.84. If you maintain the same speed, travel time scales proportionally too — if 340 km took 4 hours 15 minutes (4.25 hours), then 525 km takes (4.25 × 525) / 340 = 6.56 hours, or about 6 hours 34 minutes.

Example 3: Reading Architectural Scale Drawings
A floor plan uses a scale of 1:100, meaning 1 centimeter on paper equals 100 centimeters (1 meter) in reality. You measure a room as 5.8 cm by 7.2 cm on the blueprint. What are the actual dimensions? For length: 1 cm → 100 cm, 5.8 cm → X. Calculate: X = (100 × 5.8) / 1 = 580 cm = 5.8 meters. For width: X = (100 × 7.2) / 1 = 720 cm = 7.2 meters. The room measures 5.8 m × 7.2 m = 41.76 square meters. At $85 per square meter for hardwood flooring, material costs 41.76 × $85 = $3,549.60.

Example 4: Foreign Exchange for International Travel
You're traveling to Japan and check the exchange rate: $100 USD buys ¥14,850 Japanese yen. You want to exchange $2,400 for your trip. How many yen do you receive? Set up: $100 → ¥14,850, $2,400 → X yen. Calculate: X = (14,850 × 2,400) / 100 = 35,640,000 / 100 = ¥356,400. Your hotel costs ¥18,500 per night. For a 7-night stay: 7 × ¥18,500 = ¥129,500. This represents ¥129,500 / ¥356,400 = 36.3% of your exchanged money, or about $873 USD equivalent.

Example 5: Manufacturing Production Planning
A packaging machine seals 480 boxes in 35 minutes. The production manager needs 2,000 boxes shipped today. How long will the machine run? Set up: 480 boxes → 35 minutes, 2,000 boxes → X minutes. Calculate: X = (35 × 2,000) / 480 = 70,000 / 480 = 145.83 minutes. Convert to hours: 145.83 / 60 = 2.43 hours, or 2 hours 26 minutes. If the operator earns $18.50 per hour, labor cost for this run is 2.43 × $18.50 = $44.96. Add 5% for setup time: 2.43 × 1.05 = 2.55 hours total.

4 Common Mistakes

Mistake 1: Multiplying the Wrong Values
The most frequent calculation error is multiplying values from the same row instead of cross-multiplying. If A → B and C → X, you multiply B × C, then divide by A. Writing the proportion as a table helps: draw two columns, place A and C in column one, B and X in column two. Multiply diagonally across, not vertically.

Mistake 2: Applying Direct Formula to Inverse Relationships
The standard X = (B × C) / A formula works only for direct proportion. Inverse proportion occurs when more of one quantity means less of another — workers versus time, speed versus travel duration, pipe diameter versus fill time. If 3 workers complete fencing in 16 hours, 6 workers don't take 32 hours; they take 8 hours. For inverse: X = (A × B) / C.

Mistake 3: Ignoring Unit Consistency
Mixing units produces catastrophically wrong answers. If a recipe uses 250 grams flour per 8 ounces of butter, you can't directly compare without conversion. Since 1 ounce = 28.35 grams, convert: 8 oz = 226.8 grams. Now the ratio is 250g flour : 226.8g butter. For 500 grams butter: X = (250 × 500) / 226.8 = 550 grams flour. Always convert to matching units before calculating.

Mistake 4: Skipping Reality Checks
Never accept a calculated answer without asking whether it makes sense. If you compute that 5 apples cost $67 when 2 apples cost $3.50, something failed. Estimate first: 5 is 2.5 times larger than 2, so the cost should be around 2.5 × $3.50 = $8.75. A result of $67 is nearly 8 times too high — you likely multiplied instead of divided, or entered values in wrong fields.

4-5 Pro Tips

Tip 1: Use the Unitary Method for Verification
When uncertain, find the value of ONE unit first, then scale. If 9 meters of cable costs $31.50, one meter costs $31.50 / 9 = $3.50. Then 23 meters costs $3.50 × 23 = $80.50. This two-step approach is slower than the direct formula but builds confidence and catches setup errors. Use it to verify your rule-of-three answers.

Tip 2: Simplify Fractions Before Multiplying
Reduce numbers before calculating to avoid large intermediate values. For X = (48 × 35) / 12, notice that 48 / 12 = 4, so X = 4 × 35 = 140. This is cleaner than computing 48 × 35 = 1,680, then 1,680 / 12 = 140. Look for common factors between any numerator and denominator before multiplying.

Tip 3: Create a Ratio Table for Complex Problems
For multi-step proportional reasoning, build a table with columns for each quantity. Fill known values, mark unknowns with X. Example for fuel consumption:

Distance (km)Fuel (L)Cost ($)
28022.434.27
450XY

Solve for X first using distance and fuel, then use X to find Y. The table structure keeps relationships clear.

Tip 4: Memorize Key Conversion Ratios
Certain proportions appear constantly. Keep these handy: 1 inch = 2.54 cm exactly, 1 kilogram = 2.2046 pounds, 1 liter = 0.2642 gallons, 1 mile = 1.609 kilometers, 1 dozen = 12 units, 1 gross = 144 units. In cooking: 1 cup = 16 tablespoons = 48 teaspoons = 236.6 mL. Knowing these cold eliminates conversion errors and speeds setup.

Tip 5: Cross-Check by Reversing the Proportion
After solving, plug your answer back into the original proportion and verify cross-products match. If 5 notebooks cost $17.50 and you calculated that 12 notebooks cost $42.00, check: 5 × 42 = 210 and 17.50 × 12 = 210. Equal cross-products confirm the answer is correct. This takes 10 seconds and catches calculation mistakes.

4 FAQs

Direct rule of three applies when quantities change together in the same direction — more distance requires more fuel, more ingredients make more servings, more hours worked earns more pay. The formula is X = (B × C) / A. Inverse rule of three applies when quantities move oppositely — more workers means less time, higher speed means shorter duration, larger pipe diameter means faster filling. The formula becomes X = (A × B) / C. Always identify the relationship type before selecting your formula.

Percentages are proportions out of 100, making them ideal for rule-of-three calculations. To find 23% of 850: set up 100 → 850, 23 → X. Calculate X = (850 × 23) / 100 = 19,550 / 100 = 195.5. To find what percentage 127 is of 580: set up 580 → 100%, 127 → X%. Calculate X = (100 × 127) / 580 = 12,700 / 580 = 21.9%. For percentage increase from 240 to 312: the increase is 72, so set up 240 → 100%, 72 → X%. X = (100 × 72) / 240 = 30% increase.

Cross-multiplication maintains equality in a proportion. Starting with A/B = C/X, multiply both sides by B × X (the product of the denominators). This gives A × X = B × C. The equality holds because you performed the same operation on both sides. Solving for X requires dividing both sides by A, yielding X = (B × C) / A. This is rigorous algebra — the constant ratio guarantees equal cross-products.

Decimal and fractional answers are mathematically correct and often expected. Context determines how to handle them. For discrete objects like tiles or books, round up — you can't buy 276.4 tiles, so purchase 277. For money, round to two decimal places (cents). For continuous measurements like liquids or distances, keep decimals matching your measuring precision — if your scale reads to 0.1 grams, report 234.7 grams, not 234.723 grams. Match answer precision to your real-world measurement capability.

Written and reviewed by the CalcToWork editorial team. Last updated: 2026-04-29.

Frequently Asked Questions

Direct rule of three applies when quantities change together in the same direction — more distance requires more fuel, more ingredients make more servings, more hours worked earns more pay. The formula is X = (B × C) / A. Inverse rule of three applies when quantities move oppositely — more workers means less time, higher speed means shorter duration, larger pipe diameter means faster filling. The formula becomes X = (A × B) / C. Always identify the relationship type before selecting your formula.
Percentages are proportions out of 100, making them ideal for rule-of-three calculations. To find 23% of 850: set up 100 → 850, 23 → X. Calculate X = (850 × 23) / 100 = 19,550 / 100 = 195.5. To find what percentage 127 is of 580: set up 580 → 100%, 127 → X%. Calculate X = (100 × 127) / 580 = 12,700 / 580 = 21.9%. For percentage increase from 240 to 312: the increase is 72, so set up 240 → 100%, 72 → X%. X = (100 × 72) / 240 = 30% increase.
Cross-multiplication maintains equality in a proportion. Starting with A/B = C/X, multiply both sides by B × X (the product of the denominators). This gives A × X = B × C. The equality holds because you performed the same operation on both sides. Solving for X requires dividing both sides by A, yielding X = (B × C) / A. This is rigorous algebra — the constant ratio guarantees equal cross-products.
Decimal and fractional answers are mathematically correct and often expected. Context determines how to handle them. For discrete objects like tiles or books, round up — you can't buy 276.4 tiles, so purchase 277. For money, round to two decimal places (cents). For continuous measurements like liquids or distances, keep decimals matching your measuring precision — if your scale reads to 0.1 grams, report 234.7 grams, not 234.723 grams. Match answer precision to your real-world measurement capability.