Allocate an amount

Use exact nonnegative amounts and weights, with at least one positive weight. Rounded shares use largest remainders; ties follow input order.

Allocate by weight and preserve the total

Exact allocation gives each share total × weight / sum of weights. Use a nonnegative total and exact nonnegative weights, with at least one positive weight.

Rounded allocation first rounds the total to the chosen step. It floors each quota in steps, then awards remaining steps to the largest fractional remainders. Equal remainders are resolved in input order. The shares add exactly to the rounded total.

Worked example: split 10 into three equal shares at a 0.01 step

The total is 1000 steps. Each exact quota is 1000/3 steps, so each first receives 333 steps. One step remains; the remainders are tied, so the first share receives it. The amounts are 3.34, 3.33 and 3.33, summing to 10.00.

Load example fills the form without calculating. Choose its primary action to work it out.

Sources and related calculators

The method and worked example here are original. Sources describe the underlying mathematics or notation; calculation choices and limits are in the precision and syntax guide.