X-Calculator
Math Updated November 23, 2026

Ratio Calculator

Solve A:B = C:? proportions or simplify any ratio to lowest terms, with the steps shown.

Calculation
A
B
C (used when solving)
Advertisement
Advertisement

This ratio calculator does two jobs. In solve mode it finds the missing term in a proportion A : B = C : D — scaling a recipe, resizing an image or reading a map scale. In simplify mode it reduces a ratio such as 1920 : 1080 to its simplest form (16 : 9), even when the terms are decimals, and gives the unit ratio. Every answer comes with the cross-multiplication or GCD steps.

What a ratio means

A ratio compares two quantities of the same kind: 3 : 4 means “3 parts of the first for every 4 parts of the second”. The same comparison can be written as 3 to 4 or as the fraction 3/4. Two ratios that describe the same comparison, like 3 : 4 and 12 : 16, are equivalent, and an equation stating that two ratios are equal is a proportion.

How to solve a proportion

Write the proportion as two fractions and cross-multiply:

A : B = C : D   →   A / B = C / D   →   A × D = B × C
D = B × C ÷ A

For 3 : 4 = 12 : D, cross-multiplying gives 3 × D = 4 × 12 = 48, so D = 48 ÷ 3 = 16. A quick check: both sides simplify to the same ratio, 12 : 16 = 3 : 4.

Advertisement
Advertisement

How to simplify a ratio

  1. If either term has decimals, multiply both terms by 10, 100, 1,000… until both are whole numbers: 1.5 : 2.5 → 15 : 25.
  2. Find the greatest common divisor (GCD) of the two terms: GCD(15, 25) = 5.
  3. Divide both terms by the GCD: 15 : 25 → 3 : 5.

For 1920 : 1080 the GCD is 120, giving 16 : 9. The unit ratio scales one term to 1 instead: 1920 : 1080 = 1.777778 : 1, the form often used for aspect ratios and gear ratios.

Worked examples

  • Screen resolution: a 16 : 9 display 1,920 pixels wide is 16 : 9 = 1920 : D → D = 9 × 1920 ÷ 16 = 1,080 px tall.
  • Recipe scaling: 5 cups of flour for 8 servings; for 30 servings, 5 : 8 = D : 30 is the same as 8 : 5 = 30 : D → D = 5 × 30 ÷ 8 = 18.75 cups. In the calculator, enter A = 8, B = 5, C = 30 so the unknown is in the same position as B.
  • Map scale: 2 cm on a map is 3 km on the ground; 5 cm is 2 : 3 = 5 : D → 7.5 km.
  • Simplify a decimal ratio: 1.5 : 2.5 = 3 : 5.
  • Ultrawide monitor: 3440 × 1440 reduces to 43 : 18 (2.39 : 1), which is marketed as “21 : 9”.

Common aspect ratios

Ratio Unit ratio Typical use Example size
1 : 1 1 : 1 Square social posts 1080 × 1080
4 : 3 1.333 : 1 Older monitors, iPad, many compact cameras 1024 × 768
3 : 2 1.5 : 1 35 mm film, DSLR photos, 4 × 6 in prints 6000 × 4000
16 : 9 1.778 : 1 HD and 4K TV, YouTube 1920 × 1080, 3840 × 2160
9 : 16 0.5625 : 1 Vertical video (Shorts, Reels, TikTok) 1080 × 1920
21 : 9 2.33–2.39 : 1 Ultrawide monitors, cinema 2560 × 1080, 3440 × 1440

Ratios with more than two parts

Ratios like the 1 : 2 : 3 cement : sand : gravel mix for concrete work the same way: divide every term by the same number to simplify, or multiply every term to scale. To split a total in a ratio, add the parts and divide: 120 kg of 1 : 2 : 3 mix is 120 ÷ 6 = 20 kg per part, so 20 kg cement, 40 kg sand and 60 kg gravel. The concrete mix ratio calculator does this for common mixes.

Ratios, fractions and percentages

A part-to-part ratio of 3 : 5 means the first quantity is 3/8 of the total (3 parts out of 3 + 5 = 8), which is 37.5%. Mixing up part-to-part and part-to-whole is the most common ratio mistake. Use the fraction calculator to work with the fractional form and the percentage calculator to express a share as a percent.

Frequently Asked Questions

How do you solve a ratio with a missing number?

Write it as a proportion A/B = C/D, cross-multiply and divide. For 3 : 4 = 12 : D, D = 4 × 12 ÷ 3 = 16.

How do you simplify a ratio?

Divide both terms by their greatest common divisor. 1920 : 1080 has a GCD of 120, so it simplifies to 16 : 9.

How do you simplify a ratio with decimals?

Multiply both terms by a power of 10 to make them whole numbers, then divide by the GCD. 1.5 : 2.5 becomes 15 : 25, which simplifies to 3 : 5.

What is a unit ratio?

A unit ratio has one term equal to 1, such as 1.78 : 1 for a 16 : 9 screen. You get it by dividing both terms by one of them.

How do I convert a ratio to a percentage?

Divide the part by the sum of all parts and multiply by 100. In a 3 : 5 ratio the first part is 3 ÷ 8 × 100 = 37.5% of the total.

Advertisement
Advertisement
Related

You may also need

All Math Calculators
Advertisement