Skip to main content

Rule of Three Calculator: Cross Multiplication and Ratios

Solve a direct or inverse rule of three with the cross multiplication shown step by step, simplify an A:B ratio and scale it up or down.

Embed this widget

Customize the result, check the live preview, then copy the code.

Preview

Embed code type

Code to copy

Responsive and automatically resized by Bethemesh.

-

Calculation details

    Was this tool useful?

    How does this tool work?

    The rule of three finds an unknown value when two quantities are proportional: if 4 notebooks cost $6, how much do 10 notebooks cost? This tool does the cross multiplication and shows every step. It also handles inverse proportion (more workers, fewer days) and the simplification of a ratio such as 1920:1080 to 16:9, with scaling.

    Two quantities are proportional when you go from one to the other by always multiplying by the same number, called the constant of proportionality. In a four-cell table where A corresponds to B and C to X, we have A/B = C/X, and cross multiplication gives A × X = B × C, so X = (B × C) ÷ A. X is called the fourth proportional.

    The name “rule of three” comes from the three known values used to find the fourth. The method sometimes goes through the unit value: if 4 notebooks cost $6, one notebook costs 6 ÷ 4 = $1.50, so 10 notebooks cost $15. Cross multiplication gives the same result in a single operation: (6 × 10) ÷ 4 = 15.

    Two quantities are inversely proportional when their product stays constant: if one doubles, the other is halved. This is the case for the number of workers and the duration of a job, or for speed and travel time over a fixed distance. Then A × B = C × X, so X = (A × B) ÷ C.

    A ratio A:B compares two quantities. It is simplified like a fraction: decimal terms are first multiplied to obtain whole numbers, then all the terms are divided by their GCD. Scaling a ratio means multiplying all its terms by the same factor, which preserves the proportions.

    Calculations are done with exact values: the fractions and decimals you enter undergo no intermediate rounding. When the result has no finite decimal form, the tool shows a value rounded to six decimal places together with the exact fraction.

    How to use this tool

    1. Choose the type of calculation

      Direct rule of three, inverse proportion, or ratio to simplify.

    2. Enter the three known values

      A corresponds to B, and C is the value whose counterpart X you are looking for. Decimals (2.5 or 2,5) and fractions (3/4) are accepted.

    3. Read X and the cross multiplication

      The result and the formula used are displayed after every change.

    4. For a ratio, add a target value

      The ratio is simplified, then recalculated for the new value of the first term.

    Proportion formulas

    Direct proportion

    A / B = C / X ⇔ X = (B × C) ÷ A

    Constant of proportionality

    k = B ÷ A, then X = k × C

    Inverse proportion

    A × B = C × X ⇔ X = (A × B) ÷ C

    Ratio simplification

    a : b = (a ÷ GCD(a, b)) : (b ÷ GCD(a, b))

    A, B
    known pair of corresponding values
    C
    known value whose counterpart is sought
    X
    the fourth proportional being solved for
    k
    constant of proportionality

    Use cases

    Shopping and unit prices

    Compare products sold in different sizes or calculate the price of a given quantity.

    Cooking

    Adapt a recipe to a different number of servings while keeping the proportions.

    Maps and plans

    Convert a distance measured on a 1:25,000 map into a real distance, and vice versa.

    Dosages and mixes

    Prepare a 1:4 mix (paint, fertilizer, cleaning product) for any volume, following the manufacturer’s instructions.

    Math homework

    Check a proportion table and the write-up of a cross multiplication, from middle school to high school.

    Examples

    Price proportional to quantity

    X = (6 × 10) ÷ 4 = 15.

    Input

    4 notebooks → $6; 10 notebooks → X

    Result

    X = $15

    Scale a recipe

    X = (250 × 6) ÷ 4 = 375: every quantity is multiplied by 1.5.

    Input

    250 g of flour for 4 people; 6 people → X

    Result

    X = 375 g

    Calculate a percentage

    X = (100 × 14) ÷ 80 = 17.5: a percentage is a proportion expressed out of 100.

    Input

    80 students → 100%; 14 students → X

    Result

    X = 17.5%

    Inverse proportion

    The total work stays 3 × 12 = 36 worker-days: X = 36 ÷ 4 = 9.

    Input

    3 workers → 12 days; 4 workers → X

    Result

    X = 9 days

    Simplify an image format

    The GCD of 1920 and 1080 is 120; scaled for 1280, you get 1280:720.

    Input

    1920:1080

    Result

    16:9

    Tips and best practices

    • First check that the situation is truly proportional: a child’s age and height, for example, are not.
    • Always put values of the same kind in the same column (quantities on one side, prices on the other) to avoid inverting the calculation.
    • If one quantity increases when the other decreases, the proportion is probably inverse.
    • A ratio and a fraction are simplified the same way: 1920:1080 and 1920/1080 both give 16/9.
    • Keep the same units within a column: convert grams and kilograms before calculating.

    Sources and references

    Frequently asked questions

    How do you do cross multiplication?

    Place the four values in a table: A and B on the first row, C and X on the second. Multiply the two known values on the diagonal (B and C), then divide by the third (A): X = (B × C) ÷ A. Example: 4 → 6 and 10 → X give X = (6 × 10) ÷ 4 = 15.

    What is the difference between the rule of three and cross multiplication?

    They are two names for the same calculation. The rule of three describes the problem (finding a fourth value from three known values); cross multiplication is the technique that solves it by equating the cross products.

    How can you tell whether two quantities are proportional?

    They are proportional if the quotient of one by the other is always the same. In a table, divide each value of the second row by the one above it: if all the quotients are equal, it is a proportion table. On a graph, the points lie on a straight line through the origin.

    What is inverse proportion?

    Two quantities are inversely proportional when their product is constant: if one is multiplied by 2, the other is divided by 2. For 3 workers taking 12 days, 4 workers would take (3 × 12) ÷ 4 = 9 days, assuming they work at the same pace.

    How do you calculate a percentage with the rule of three?

    Match the total value to 100%: if 80 corresponds to 100%, then 14 corresponds to (100 × 14) ÷ 80 = 17.5%. For other percentage calculations (increase, decrease, share of a total), dedicated percentage calculators are more direct.

    How do you simplify a ratio?

    Divide all the terms by their greatest common divisor. For 1920:1080, the GCD is 120, so the simplified ratio is 16:9. If a term is a decimal, first multiply all the terms by 10, 100…: 1.5:2.5 becomes 15:25, then 3:5.

    Can I use decimals and fractions?

    Yes. Enter 2.5 or 2,5, or a fraction such as 3/4. The calculation stays exact; if the result has no finite decimal form, the tool shows a rounded value and the exact fraction.

    Related tools

    Tools similar or complementary to this one.

    Similar tools

    Add, subtract, multiply, divide and simplify fractions, with every step shown.

    Mathematics & calculationNewFeaturedUse this tool