Description
Return weight / totalWeight and available times that share.
Weights, counts, and capacities determine an allocation only under a chosen normalization and rounding policy. A conserved total does not establish fairness or suitability.
Return weight / totalWeight and available times that share.
When to use this tool
Use Resource Allocation Weight Share when you need one explicit allocation or weight-change calculation.
How to use the tool and how it works
- Enter weight, totalWeight, available. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read share, allocation. Use the output convention below.
Require weight in [0, totalWeight] with positive totalWeight and nonnegative available. Return weight / totalWeight and available times that share.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| weight | Weight | Required. Finite number; minimum 0. |
| totalWeight | Total Weight | Required. Finite number; strictly above 0. |
| available | Available | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| share | Dimensionless fraction under the stated denominator policy. | Required. Finite number. |
| allocation | Allocation | Required. Finite number. |
{
"input": {
"weight": 3,
"totalWeight": 12,
"available": 80
},
"output": {
"share": 0.25,
"allocation": 20
}
} Limitations and assumptions
- The total weight and capacity are supplied; indivisibility, fairness constraints, and allocations to other recipients are not checked.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Check totals, indivisibility, eligibility, and policy constraints across all recipients or criteria.
References
Similar or alternative tools
- Campaign Test Cell Allocation Rounding
Floor audience × firstFraction for first and assign the remainder to second.
- Decision Weight Swing One Criterion
Return their difference as swing and multiply it by weight for weightedSwing.