# Ratio Calculator

> Free ratio calculator: solve proportions A:B = C:D, simplify ratios with decimals or several terms, and scale a ratio to a new width or height.

Interactive calculator: https://calculatorsplatform.com/c/ratio/
Category: Math & Statistics Calculators
Calculations run in the browser; inputs can be prefilled through URL parameters and shared with the Share button.

## Ratios and proportions

A **ratio** compares quantities: 3:4 means "3 parts of one thing for every 4 parts of another". It can also be written as the fraction 3/4 or the decimal 0.75. A **proportion** states that two ratios are equal, A:B = C:D, which is the same as A/B = C/D.

To find a missing term, cross-multiply:

> A × D = B × C,   so   D = B × C ÷ A

To **simplify** a ratio, divide every term by their greatest common divisor (GCD). The calculator finds the GCD with Euclid's algorithm — repeatedly dividing the larger number by the smaller and keeping the remainder until it reaches zero. If the ratio contains decimals, every term is first multiplied by the same power of ten to make whole numbers (1.5:2.25 → 150:225), then simplified (→ 2:3).

To **scale** a ratio, multiply every term by the same factor. Fixing one side (say, a width of 1,280 for a 16:9 picture) fixes the factor (1,280 ÷ 16 = 80) and therefore the other side (9 × 80 = 720).

## Worked examples

1. **Solve a proportion (the default):** 3 : 4 = 15 : D. Cross-multiplying gives 3 × D = 4 × 15 = 60, so **D = 20**. Check: 3/4 = 0.75 and 15/20 = 0.75.
2. **Simplify 1920:1080.** Euclid: 1920 = 1 × 1080 + 840; 1080 = 1 × 840 + 240; 840 = 3 × 240 + 120; 240 = 2 × 120 + 0. The GCD is 120, so 1920:1080 = **16:9**.
3. **Three terms:** 12:18:30 has a GCD of 6 and simplifies to **2:3:5**, meaning the parts are 20%, 30% and 50% of the whole.
4. **Scale 16:9 to a width of 1,280:** factor 80, height **720**. For a height of 1,080 the factor is 120 and the width is 1,920.
5. **Recipe:** a sauce uses 2 cups of stock for 3 servings. For 8 servings, 2 : 3 = x : 8, so x = 2 × 8 ÷ 3 ≈ 5.33 cups.

## Where ratios come up

- **Screens and images:** aspect ratios such as 16:9, 4:3 and 21:9; resize without distortion by scaling both sides by the same factor. The [aspect ratio calculator](https://calculatorsplatform.com/c/aspect-ratio/) is tailored to that job.
- **Maps and models:** a 1:50,000 map means 1 cm on paper is 50,000 cm (500 m) on the ground.
- **Cooking and mixing:** concrete, fertiliser, paint thinners and recipes are given as part ratios like 1:2:3.
- **Finance and statistics:** debt-to-income ratios, odds (3:1 against), and splitting money in a given proportion.

A few cautions: a ratio says nothing about absolute size (1:2 could be 1 g to 2 g or 1 t to 2 t); keep units consistent before comparing; and when you scale for pixels or physical parts, round only at the end so the ratio stays as exact as possible.

## Frequently asked questions

### How do I simplify a ratio?

Divide all terms by their greatest common divisor. 1920:1080 ÷ 120 = 16:9. If there are decimals, multiply all terms by 10, 100… first to make whole numbers.

### How do I solve a proportion with a missing number?

Cross-multiply and divide. For 3:4 = 15:x, x = 4 × 15 ÷ 3 = 20.

### How do I convert a ratio to a percentage?

Divide each part by the sum of all parts. In 2:3:5 the total is 10, so the parts are 20%, 30% and 50%. For a part-to-part ratio a:b, a is (a ÷ b × 100)% of b.

### Can a ratio have more than two terms?

Yes. Enter something like 12:18:30 in the Simplify tab and it is reduced to 2:3:5 using the GCD of all the terms.

## Related calculators

- [Aspect Ratio Calculator](https://calculatorsplatform.com/c/aspect-ratio/index.md)
- [Fraction Calculator](https://calculatorsplatform.com/c/fraction/index.md)
- [Percentage Calculator](https://calculatorsplatform.com/c/percentage/index.md)
- [GCF & LCM Calculator](https://calculatorsplatform.com/c/gcf-lcm/index.md)
- [Cooking Converter](https://calculatorsplatform.com/c/cooking-converter/index.md)
- [Percentage Change Calculator](https://calculatorsplatform.com/c/percentage-change/index.md)

---
Source: CalculatorsPlatform (https://calculatorsplatform.com/c/ratio/). Last reviewed 2026-11-25. Please link to the calculator page when citing.
