Formula and calculation method
Divide the first part by the sum of both parts, then multiply by the new total to find the first share.
Worked example
| Input | Example 1 | Example 2 |
|---|---|---|
| First part | 2 | 2 |
| Second part | 3 | 3 |
| New total | 50 | 45 |
| Result | 20 first part | 18 first part |
How to use the result
The output is the allocation to the first part only. Subtract it from the total to obtain the second part. The sum of the ratio parts must be nonzero.
How do ratio parts differ from percentages?
A 2:3 ratio contains five equal shares, so splitting a total of 100 gives 40 and 60. The ratio can stay 2:3 even when the total changes. For ratio simplification, divide both whole-number parts by their common factor.