Share in a ratio
Calculate share in a ratio and see the working behind your result.
Inputs
Use the units shown—
Enter your values and select Calculate.
Formula & explanation
First share = total × a/(a+b)
Variables & units
- Total quantity
- Numeric value · minimum 0, maximum 1000000
- First ratio part
- Numeric value · minimum 0, maximum 1000000
- Second ratio part
- Numeric value · minimum 0, maximum 1000000
Worked example
Share 120 in the ratio 2:3: the two shares are 48 and 72.
Assumptions
This is a two-part ratio. The shares add up to the total.
Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.
Practice with an example
Use the default input values to find the answer. The reset icon restores those values.
Calculated on your device. Your latest 100 calculations stay in this browser.