Skip to content

Ratio Calculator

Find the missing number in A:B = C:D as you type. Switch to Advanced to simplify, scale, split a total, convert to fractions and percents, work out aspect ratios or scale a recipe.

More options
What do you want to do?
Which one is missing?
A : B = C : D

The shaded box is worked out for you. Decimals and fractions work too: 0.75, 1/2, 1 1/2.

ResultUpdates as you type—Missing value

How your ratio is worked out

A ratio compares amounts. Multiply or divide every part by the same number and the ratio stays the same.

  1. 1

    Write it as fractions

    2/3 = 10/?

  2. 2

    Cross multiply

    3 × 10 = 30

  3. 3

    Divide

    30 ÷ 2 = 15

  4. 4

    The answer

    2:3 = 10:15

Read more: the formulas, a worked example and common ratios

A ratio compares two or more amounts: 2 : 3 means "2 of the first for every 3 of the second". Multiplying or dividing every part by the same number gives an equivalent ratio, so 2 : 3, 4 : 6 and 10 : 15 all mean the same thing. Every mode on this page uses that one idea.

The formula

A : B = C : D means A ÷ B = C ÷ D, so A × D = B × C
missing D = B × C ÷ A · missing C = A × D ÷ B
simplest form = each part ÷ greatest common divisor
one share = total ÷ (sum of the parts) × that part
part as a fraction of the whole = part ÷ (sum of the parts)
new height = new width × ratio height ÷ ratio width

Worked example

Solve 2 : 3 = 10 : ?. Write it as fractions, 2/3 = 10/?, and cross multiply: 3 × 10 = 30. Divide by the number left, 2: 30 ÷ 2 = 15. So 2 : 3 = 10 : 15, and the second ratio is the first one times 5.

More examples, one for each mode

ModeExampleWorking
Simplify1.5 : 2.25 : 3× 4 to clear the decimals = 6 : 9 : 12, ÷ 3 = 2 : 3 : 4
Scale2 : 3 × 42 × 4 : 3 × 4 = 8 : 12
Split a total1,000 in 2 : 3 : 52 + 3 + 5 = 10 parts, 1,000 ÷ 10 = 100 a part, so 200, 300 and 500
Ratio to fraction and %3 : 53 + 5 = 8, so 3/8 = 37.5% and 5/8 = 62.5%
Aspect ratio1920 × 1080Greatest common divisor 120: 1920 ÷ 120 = 16, 1080 ÷ 120 = 9, so 16 : 9
Resize16 : 9 at 1280 wide1280 × 9 ÷ 16 = 720 high
Recipe4 servings → 66 ÷ 4 = 1.5, so 2 cups flour × 1.5 = 3 cups

Common aspect ratios

RatioAs a decimalUsed forExample size
16 : 91.78HD and 4K TVs, YouTube, most monitors1920 × 1080, 3840 × 2160
4 : 31.33Old TVs, iPads, many compact cameras1024 × 768
"21 : 9"2.37–2.39Ultrawide monitors (really 64 : 27 or 43 : 18)2560 × 1080, 3440 × 1440
1 : 11.00Square posts and profile pictures1080 × 1080
3 : 21.50DSLR and mirrorless photos, 6 × 4 prints6000 × 4000
16 : 101.60Many laptops1920 × 1200
9 : 160.56Phone videos, Reels, TikTok, Stories1080 × 1920
4 : 50.80Portrait social posts1080 × 1350

Part to part, or part to whole?

A ratio usually compares parts with each other: 3 boys to 5 girls is 3 : 5. A fraction compares a part with the whole: there are 3 + 5 = 8 children, so 3/8 of them are boys, which is 37.5%. Mixing these up is the most common ratio mistake. The Ratio ↔ fraction ↔ % mode shows both.

Tips

  • Ratios have no units, but both parts must be in the same unit before you compare them: 50 cm : 2 m is 50 : 200, which is 1 : 4.
  • "1 : n" form is handy for maps and models: a 1 : 25,000 map means 1 cm on paper is 25,000 cm (250 m) on the ground.
  • The golden ratio is about 1.618 : 1. Enter 1.618 : 1 in Simplify to see it as whole numbers.
  • When scaling a recipe, cooking times and pan sizes don't scale in a straight line, and eggs are best rounded to whole ones.

Screen sizes use the diagonal and the ratio (width = diagonal × ratio width ÷ √(ratio width² + ratio height²)). Real screens can differ slightly because of rounded corners and bezels.

Common questions

How do I solve a ratio with a missing number?

Write both ratios as fractions and cross multiply. For 2 : 3 = 10 : ?, multiply 3 × 10 = 30 and divide by the number left, 2, to get 15. So 2 : 3 = 10 : 15, and the second ratio is the first one times 5.

How do I simplify a ratio?

Divide every part by the greatest common divisor. If there are decimals, multiply first to make whole numbers: 1.5 : 2.25 : 3 times 4 is 6 : 9 : 12, and dividing by 3 gives 2 : 3 : 4. The calculator handles ratios with three or more parts.

How do I split an amount in a ratio?

Add the parts, divide the total by that sum to get one part, then multiply. To split 1,000 in 2 : 3 : 5, there are 10 parts of 100 each, so the shares are 200, 300 and 500. Each share is total ÷ parts × its part.

How do I convert a ratio to a fraction or percent?

A ratio compares parts with each other, while a fraction compares a part with the whole. 3 : 5 has 8 parts in all, so the first part is 3/8 = 37.5% and the second is 5/8 = 62.5%. Mixing these up is the most common ratio mistake.

What is the aspect ratio of 1920 × 1080?

1920 × 1080 is 16 : 9. Both numbers divide by their greatest common divisor, 120, to give 16 and 9. 16 : 9 is used by HD and 4K TVs, YouTube and most monitors. To resize, 16 : 9 at 1280 wide is 720 high.

How do I scale a recipe with a ratio?

Divide the servings you want by the servings in the recipe and multiply every amount by that. Going from 4 servings to 6 is × 1.5, so 2 cups of flour become 3. Cooking times and pan sizes don't scale in a straight line, and eggs are best rounded.

Related calculators

Fraction calculatorAdd, subtract, multiply, divide and simplify fractions, with steps.Percentage calculatorX% of Y, % change, reverse %, VAT and % points.Average calculatorMean, median, mode and range of a list, weighted averages, averages of percentages and times, moving averages and the number you need next.Scientific calculatorTrig, logs, powers, roots, factorials, nCr and nPr, memory and history, with degrees, radians or gradians and answers as fractions.

Made by Zulu Calculator, part of AlphaZulu LLC. Formulas are shown in full and rule figures are checked against official sources; see how we build calculators.

Embed this calculator on your site

Free to use on your website or blog. Paste this code where you want the calculator to appear. Please keep the credit link.

Ratio calculator by Zulu Calculator ↗