Examples
Examples
Try the starting example
- Tip pool (USD)
- 100
- Staff [identifier,eligible hours,role weight]; enter JSON
- [["A",4,1],["B",4,1.5],["C",2,1]]
- Reconciled staff payouts (JSON) (USD)
- [["A",33.33],["B",50],["C",16.67]]
- Payout total (USD)
- $100.00
Try another scenario
- Tip pool (USD)
- 135
- Staff [identifier,eligible hours,role weight]; enter JSON
- [["A",5,1],["B",3,2],["C",2,0.5]]
- Reconciled staff payouts (JSON) (USD)
- [["A",56.25],["B",67.5],["C",11.25]]
- Payout total (USD)
- $135.00
Calculation method
Calculation method
Reconciled staff payouts (JSON) (USD)
Convert pool to integer US cents; quota proportional to hours×weight; floor quotas then allocate remaining US cents by descending fractional remainder, input-order ties.
Payout total (USD)
Sum reconciled cent payouts.
Symbols and units
- a
- Tip pool (USD)
- b
- Staff [identifier,eligible hours,role weight]; enter JSON
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- User-authorized weighted-hours tip pool; largest-remainder cent allocation preserves every cent. Supported limits: All numeric inputs and computed intermediates must remain finite. Supported numeric input magnitude is zero or 1e-12 through 1e12 in absolute value; reject values outside this bounded range. All lists/JSON record tables are limited to 100 records unless a stricter bound is stated; reject malformed record arity and wrong member types. Nonnegative two-decimal pool; nonnegative hours/weights; total weighted hours>0. User confirms eligibility and role rules; no legal tip-policy interpretation.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.