Ratio Calculator
Simplify a ratio, write it as 1 : x, or solve A : B = C : D for the missing value.
Simplify a ratio
Solve A : B = C : D (leave one box empty)
● Your files are processed locally in your browser and are not uploaded to our servers.
How to use the ratio calculator
- Simplify a ratio: enter A and B. You get the simplest form, the ratio as 1 : x, and each part's share as a percentage.
- Solve a proportion: fill three of the four boxes in A : B = C : D and leave one empty. The missing value is calculated, with the equation.
How to simplify a ratio
Divide both numbers by their greatest common divisor (GCD). For 1920 : 1080, the GCD is 120: 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9, so the ratio is 16 : 9.
| Ratio | Simplified | As 1 : x | Shares |
|---|---|---|---|
| 1920 : 1080 | 16 : 9 | 1 : 0.5625 | 64% / 36% |
| 12 : 18 | 2 : 3 | 1 : 1.5 | 40% / 60% |
| 45 : 15 | 3 : 1 | 1 : 0.333 | 75% / 25% |
| 2.5 : 10 | 1 : 4 | 1 : 4 | 20% / 80% |
With decimals, multiply both sides by 10, 100… until they are whole numbers, then simplify: 2.5 : 10 → 25 : 100 → 1 : 4.
How to solve a proportion
In A : B = C : D, the products of the “outer” and “inner” terms are equal: A × D = B × C (cross-multiplication). So a missing D = B × C ÷ A.
- Recipe: 3 eggs for 4 people; for 10 people: 3 : 4 = x : 10 → x = 3 × 10 ÷ 4 = 7.5 eggs.
- Image: a 16 : 9 image 1280 px wide → height = 9 × 1280 ÷ 16 = 720 px.
- Map scale: 1 : 25,000 → 4 cm on the map = 4 × 25,000 = 100,000 cm = 1 km.
How to split an amount by a ratio
Add the parts, divide the amount by the total, and multiply by each part. To share 500 in the ratio 3 : 2: 3 + 2 = 5 parts, 500 ÷ 5 = 100 per part, so 300 and 200. The shares shown by the calculator (60% / 40%) give the same result.
FAQ
What's the difference between a ratio and a fraction?
A ratio compares two parts (3 : 2), a fraction compares a part to the whole (3/5). In a 3 : 2 ratio, the first part is 3/5 of the total.
How do I calculate a screen or image aspect ratio?
Simplify the width and height here, or use the Aspect Ratio Calculator, which also resizes while keeping the ratio.
Can a ratio have three parts?
Yes (2 : 3 : 5), and the same rules apply. This calculator handles two-part ratios; for percentages, see the Percentage Calculator or the Proportion Calculator.