Ratio Calculator

Find the missing value in a proportion, reduce a ratio to lowest terms, or scale a ratio up or down. Pick a mode, type your numbers, and open the step-by-step solution to see how the answer was reached.

⚖️
Find the Missing Number
Fill in any three boxes and leave the one you need blank
:
=
:
📊
Your answer
How the parts compare
Answer
—
Lowest terms
—
Share of the total
—
As a decimal
—
As a fraction of the whole
—
Ratio bar
First part
Second part
First part: —
Second part: —
    ✨
    Simplify a Ratio
    Divide both sides by the biggest number that fits
    :
    📊
    Your answer
    Lowest whole numbers
    Lowest terms
    —
    Divided by (HCF)
    —
    Share of the total
    —
    Decimal value
    —
    As a fraction of the whole
    —
    Ratio bar
    First part
    Second part
    First part: —
    Second part: —
      📐
      Scale Up or Down
      Make every part bigger or smaller by the same amount
      :
      ×
      📊
      Your answer
      The new ratio
      New ratio
      —
      Starting ratio
      —
      Multiplied by
      —
      Share of the total
      —
      Lowest terms
      —
      Ratio bar
      First part
      Second part

        🕐 Your last answers

        📭
        Nothing here yet. Solve one above and it will show up here.

        How to Use the Ratio Calculator

        The calculator has three modes, one per tab. Results update as you type, so you don't need to press the button, although you can. The Clear button empties the current tab only.

        ⚖️ Proportion

        1. Write your problem as A : B = C : D, keeping both ratios in the same order (for example, flour : oats on both sides).
        2. Enter the three values you know.
        3. Leave the unknown box empty. The answer appears in that box, highlighted.
        4. Fill in all four boxes instead to check whether two ratios are equivalent.

        ✨ Simplify

        1. Enter the two terms of your ratio as Value A and Value B.
        2. Whole numbers and decimals both work.
        3. Read the simplified ratio and the GCD used to reduce it.

        📐 Scale

        1. Enter the original ratio.
        2. Enter a scale factor: 2 doubles it, 0.5 halves it, 1.5 makes it one and a half times bigger.
        3. Read the scaled ratio. The simplified form confirms the proportions didn't change.

        Reading the Results

        Simplified
        The ratio in lowest whole-number terms. 24 : 36 and 2 : 3 describe the same relationship.
        Percentages
        Each term's share of the total of the first ratio (A and B). For 3 : 5 that is 37.5% and 62.5%.
        Decimal
        A divided by B, rounded to four decimal places. 3 : 5 gives 0.6. If B is 0 it shows Undefined, because you cannot divide by zero.
        Fraction
        The ratio written as A / B, the form you need when setting up a proportion as an equation.

        The bar and pie chart show the same part-to-whole split visually. Recent Calculations lists your last 20 results. Click one to load it again.

        Formulas the Calculator Uses

        1. Cross-multiplication (Proportion)

        If A / B = C / D, the cross products are equal:

        A × D = B × C

        Rearranged for whichever term is missing: A = (B × C) / D, B = (A × D) / C, C = (A × D) / B, D = (B × C) / A.

        2. Greatest Common Divisor (Simplify)

        Divide both terms of A : B by their greatest common divisor:

        (A ÷ GCD) : (B ÷ GCD)

        The GCD is found with the Euclidean algorithm: GCD(a, b) = GCD(b, a mod b), repeated until the remainder is 0. Decimals are first multiplied by a power of 10 so both terms are whole numbers.

        3. Scale factor (Scale)

        Multiply every term by the same number k:

        A : B → (A × k) : (B × k)

        Because both terms change by the same factor, the simplified ratio stays the same. Adding the same number to both terms would change it.

        4. Percentage share (all modes)

        Each term as a share of the total:

        A% = A ÷ (A + B) × 100

        The two percentages always add up to 100% (allowing for rounding to one decimal place).

        Worked Examples

        Each example shows what to type into the calculator and the working it will show you.

        Proportion mode

        Missing last term

        Scaling a recipe

        A recipe uses 2 cups flour for every 3 cups oats. You have 6 cups of flour. How many cups of oats?

        Enter A = 2, B = 3, C = 6. Leave D empty.

        2 × D = 3 × 6
        D = 18 ÷ 2 → 9 cups oats
        Missing third term

        Mixing paint

        A colour uses 3 parts blue to 4 parts white. You have 20 litres of white. How much blue?

        Enter A = 3, B = 4, D = 20. Leave C empty.

        C = (A × D) ÷ B
        C = 60 ÷ 4 → 15 litres blue
        Scale drawing

        Reading a floor plan

        A plan is drawn at 1 : 50. A wall measures 8 cm on the drawing. How long is the real wall?

        Enter A = 1, B = 50, C = 8. Leave D empty.

        1 × D = 50 × 8
        D = 400 cm → 4 metres

        Checking two ratios: are 4 : 6 and 10 : 15 equivalent?

        Fill in all four boxes: A = 4, B = 6, C = 10, D = 15.

        1. A × D = 4 × 15 = 60
        2. B × C = 6 × 10 = 60
        3. The cross products match, so the ratios are equivalent. Change D to 16 and they no longer match (64 vs 60).

        Simplify mode

        You enterGCDWorkingSimplified
        24 : 3612(24 ÷ 12) : (36 ÷ 12)2 : 3
        45 : 7515(45 ÷ 15) : (75 ÷ 15)3 : 5
        1920 : 1080120(1920 ÷ 120) : (1080 ÷ 120)16 : 9
        1.5 : 2.55 (after ×10)15 : 25 → (15 ÷ 5) : (25 ÷ 5)3 : 5
        0.25 : 0.7525 (after ×100)25 : 75 → (25 ÷ 25) : (75 ÷ 25)1 : 3

        Scale mode

        Making a bigger batch

        A drink is mixed 1 : 4 concentrate to water and you need two and a half times as much. Enter 1 and 4, factor 2.5.

        (1 × 2.5) : (4 × 2.5) = 2.5 : 10
        Simplified: 1 : 4 (unchanged)

        Halving a recipe

        A recipe uses 6 : 9 (cups of rice to cups of water) and you want half. Enter 6 and 9, factor 0.5.

        (6 × 0.5) : (9 × 0.5) = 3 : 4.5
        Simplified: 2 : 3 (unchanged)

        Which Mode Fits Your Problem?

        If you need to…UseExample
        Find one unknown amount when you know a ratio and one other amountProportion3 items cost $4.50; what do 7 cost? 3 : 4.5 = 7 : D → $10.50
        Check whether two ratios are the sameProportion (all four boxes)Is 4 : 6 the same as 10 : 15? Yes
        Write a ratio in its simplest formSimplify18 correct to 6 wrong → 3 : 1
        Make a mix or recipe larger or smaller by a set amountScaleTriple 2 : 3 → 6 : 9

        This calculator works with two-term ratios and direct proportions. To simplify a ratio of fractions such as 2/3 : 4/5, use the Ratio Simplifier. For inverse proportions, where one quantity rises as the other falls (more workers, fewer days), use the Proportion Calculator. For other jobs, a dedicated tool is quicker:

        Common Mistakes and Limits

        • Swapping the order on one side. 2 : 3 = 6 : D only works if both ratios compare the same things in the same order. If the left side is flour : oats, the right side must be flour : oats too.
        • Mixing units. Convert to the same unit before entering numbers. 50 cm to 2 m is 50 : 200, which simplifies to 1 : 4, not 50 : 2.
        • Reading part-to-part as part-to-whole. In a 1 : 4 syrup-to-water drink, syrup is 1 part out of 5, which is 20%, not 25%.
        • Adding instead of multiplying. Adding 2 to both terms of 2 : 3 gives 4 : 5, which is a different ratio. To keep the proportions, use the Scale tab, which multiplies.
        • Rounding. Answers that aren't whole numbers are rounded to four decimal places, and percentages to one. Solving 1 : 3 = 1 : D gives 3, but 3 : 1 = 1 : D gives 0.3333, an approximation of 1/3.

        To learn the methods behind these steps, read How to Simplify a Ratio and How to Solve Proportions, or test yourself with the practice questions.

        Ratio Calculator FAQ

        How do I find a missing number in a ratio?

        Open the Proportion tab and type the three numbers you know into A, B, C and D, leaving the unknown box empty. The calculator cross-multiplies (A × D = B × C), divides to find the missing value, and writes it into the empty box. For example, 3 : 4 = C : 20 gives C = (3 × 20) ÷ 4 = 15.

        What happens if I fill in all four boxes?

        The calculator checks whether the two ratios are equivalent instead of solving. It multiplies A × D and B × C and tells you whether the two cross products match. 4 : 6 and 10 : 15 are equivalent because 4 × 15 = 60 and 6 × 10 = 60.

        Can I enter decimals or fractions?

        Decimals, yes. Before simplifying, the calculator multiplies both terms by 10, 100, 1000 and so on (up to six decimal places) to make whole numbers, so 1.5 : 2.5 becomes 15 : 25 and then 3 : 5. The boxes here only accept numbers, so convert a fraction to a decimal first (3/4 = 0.75). For fractions with repeating decimals, such as 1/3, use the Ratio Simplifier instead: it accepts fractions and mixed numbers directly and simplifies them exactly.

        What happens if one of the values is zero?

        A ratio such as 5 : 0 can describe a real situation (5 wins and no losses), but a proportion can't be solved when finding the missing value would mean dividing by zero. In that case the calculator shows 'No solution' instead of an answer. A ratio of 0 : 0 doesn't compare anything, so the calculator rejects it too. Replace the zero with a non-zero number and it will solve normally.

        Why do the percentages not match the ratio numbers?

        The percentage result shows each part's share of the total (part-to-whole), not the part-to-part ratio. For 3 : 5 the total is 8 parts, so the first part is 3 ÷ 8 = 37.5% and the second is 5 ÷ 8 = 62.5%.

        Where is my calculation history saved?

        The Recent Calculations list is kept in your browser's local storage on your own device, up to the last 20 entries. It is not sent to our server. Use the Clear All button to delete it, or clear your browser's site data.

        Found a mistake? Email contact@ratiocalculator.site