AllFreeCalculator

Ratio Calculator

Solve A:B = C:D for the missing value, or simplify any ratio to its lowest terms.

Leave exactly one field blank to solve for it.

:
=
:

Solution

Step by step

    What the ratio calculator does

    The ratio calculator handles the two most common ratio problems: solving a proportion A:B = C:D when one of the four values is unknown, and simplifying a ratio to its lowest terms. Both modes show the calculation step by step, so the tool works as a quick checker and a learning aid at the same time.

    Solving a proportion

    A proportion is a statement that two ratios are equal. If three of the four values are known, the fourth comes from cross-multiplying:

    A × D = B × C

    Rearranged for each unknown: A = (B × C) ÷ D, B = (A × D) ÷ C, C = (A × D) ÷ B, D = (B × C) ÷ A. Leave one field blank in the calculator and it picks the correct rearrangement automatically.

    Simplifying a ratio

    To simplify, divide both terms by their greatest common divisor (GCD). The Euclidean algorithm finds the GCD in seconds: 12:8 → GCD(12, 8) = 4 → 3:2. The simplified ratio carries the same proportional meaning but in the smallest whole numbers, which is easier to read and use in further calculations.

    Where ratios show up

    • Recipes. 2 cups flour : 1 cup sugar — scale up or down by keeping the ratio.
    • Maps. A 1:50,000 scale means 1 cm on the map equals 50,000 cm (500 m) on the ground.
    • Aspect ratios. 16:9 displays, 4:3 photos, 21:9 ultrawide.
    • Mixing. 3:1 concrete (aggregate:cement), 1:20 oil:fuel for a two-stroke engine.
    • Finance. Price-to-earnings, debt-to-equity, current ratio.
    • Mechanics. Gear ratios, lever advantages.

    Ratios vs fractions vs percentages

    They are related forms of the same idea. The ratio 3:4 corresponds to the fraction 3/(3+4) = 3/7 (the share of one part out of the whole) or the ratio fraction 3/4 (the relative size of one to the other), and to 75% when comparing the smaller to the larger. Pick the form that matches the question you are answering.

    Use with the other tools

    For fractions specifically, the fraction calculator adds, subtracts, multiplies and divides with step-by-step working. For percentages, see the percentage calculator.

    Frequently asked questions

    What is a ratio?

    A ratio compares two quantities — like 3:4 or 2 cups of flour to 1 cup of sugar. It tells you the relationship between two amounts without committing to specific units.

    What is a proportion?

    A proportion is a statement that two ratios are equal, like A:B = C:D. If three of the four values are known, you can solve for the fourth — that is what this calculator does in solve mode.

    How do you simplify a ratio?

    Divide both terms by their greatest common divisor (GCD). 12:8 has GCD 4, so it simplifies to 3:2. The calculator does this automatically and shows the GCD used.

    How do you solve A:B = C:D for an unknown?

    Cross-multiply: A × D = B × C. Then solve algebraically for whichever value is missing. For example 3:4 = x:20 → 4x = 60 → x = 15.

    Can ratios have decimals?

    Yes, but for simplification the calculator works with integers. If you enter decimals, multiply both sides by a power of 10 first (so 1.5:2 becomes 15:20, which simplifies to 3:4).

    When are ratios used in real life?

    Recipes, mixing concrete or paint, map scales, aspect ratios on screens, gear ratios, financial ratios like price-to-earnings, and just about anywhere two quantities need to keep a fixed relationship while you scale them.

    Worked example

    Solve 3 : 4 = C : 20.

    • Cross-multiply: 3 × 20 = 4 × C → 60 = 4C
    • Solve: C = 60 ÷ 4 = 15
    • Check: 3:4 = 15:20 ✓ (both reduce to 3:4)

    Simplify 12 : 8: GCD(12, 8) = 4, so 12:8 = (12 ÷ 4) : (8 ÷ 4) = 3 : 2.

    Related calculators