Ratio Calculator
Reduce two positive numbers into a simpler ratio.
The calculator divides both values by their greatest common divisor.
Reduce two positive numbers into a simpler ratio.
The calculator divides both values by their greatest common divisor.
The greatest common divisor (GCD) is the largest integer dividing both numbers. Dividing both by it gives the simplest whole-number ratio.
| Ratio | Simplified | Decimal a/b |
|---|---|---|
| 12:18 | 2:3 | 0.667 |
| 1920:1080 | 16:9 | 1.778 |
| 45:30 | 3:2 | 1.5 |
| 7:49 | 1:7 | 0.143 |
If a 3:2 mix uses 3 parts A to 2 parts B, then B = A x 2 / 3.
| Case | Matching B |
|---|---|
| 3:2 scaled to 6 | 4 |
| 3:2 scaled to 30 | 20 |
| 3:2 scaled to 90 | 60 |
| 3:2 scaled to 1500 | 1,000 |
To split 500 in the ratio 2:3, add the parts (5), then 500 / 5 = 100 per part: 200 and 300. For 1,000 in the ratio 1:2:7 the shares are 100, 200 and 700.
Ratios of different units must be converted first (minutes to minutes). A ratio 2:3 means shares of 2/5 and 3/5 of the total, not 2/3 and 1/3.
The form above runs in your browser with the same arithmetic described on this page; nothing you type is sent to a server. Results are rounded for display only, so a long decimal may differ from the last digit of a hand calculation. Empty, zero or non-numeric inputs return a message instead of a result, and division by zero is never evaluated.
Use the tool to check your own working rather than to replace it: write the formula, substitute your numbers, and compare. If the two disagree, look first at units, the order of the inputs and whether a percentage was entered as 5 or as 0.05.
The tables on this page are generated by script from the formulas shown, not typed by hand, and are rebuilt whenever the page is reviewed. The reviewed date above is the date those numbers were last recomputed.
Typical input errors are worth a second look before you rely on a result: a comma used as a decimal separator, a value typed in the wrong unit, or two inputs swapped. If a result looks implausible, test the tool with a case you can do in your head, such as round numbers, and confirm it matches before trying your real figures.
Educational tool. Found an error? Tell us.