Shared Expense Settlement Workbench
Split expenses in exact currency minor units, reconcile who paid and who owes, and download a conserved transfer plan.
Loading tool…
How to use Shared Expense Settlement Workbench
Each expense uses weighted largest-remainder allocation in participant order. Paid amounts minus allocated shares form net balances. A deterministic debtor-to-creditor pass clears those balances and verifies that every minor unit is accounted for.
- Enter people json, expense json (paidby, minorunits, shares).
- Choose the stated convention and check the units and supported model.
- Calculate, inspect the result, then copy or download it.
Good to know
- Exact-grid inputs are plain decimals with at most six places and magnitude≤1e9. Raw JSON number spelling is checked before conversion; decimal strings can preserve exact grid values. Exact rational intermediates are bounded to 8192 bits. One user-declared currency and minor-unit scale only; enter integer minorUnits, not decimal major units. Up to 40 people and 100 nonnegative expenses of at most 1000000000 minor units each. No refunds, exchange rates, bank transfers, debt collection or minimum-transfer-count guarantee. Zero expenses are allowed; positive total share weight is required.
- Local calculation only; no input persistence or external lookup. Text/JSON is limited to 30000 characters and output to 1000000 characters. Numeric model inputs and precision/work limits are stated on this page. Approximate JSON numbers retain full stored values; exact arithmetic outputs retain decimal or fraction strings. Unsupported states fail explicitly.
- Educational user-assumption arithmetic only. No live prices, laws, tax rules, quotes or financial advice.
Common questions
What happens when an expense cannot split evenly?
The remainder goes to the largest exact fractional shares, with the entered share order resolving a tie. The per-expense export shows that allocation before any net transfers are suggested.
Is the input uploaded or saved?
No. The tool calculates inside this browser tab and provides a local download; it does not persist your input.
Keep going with related tools
All calculators →Exact Integer Allocation Workbench
Distribute a fixed number of indivisible units by entered weights, preserving the exact total and exposing quota remainders.
CalculatorsTip and Bill Split Calculator
Calculate a gratuity and split the combined bill evenly across a whole-number party size.
MathRatio Calculator
Simplify a whole-number ratio and see each part as a share of the combined total.
CalculatorsOccupancy-date Bill Splitter
Split household bills from actual date occupancy and positive shares, preserving vacant-day costs and exact per-bill cent conservation.
CalculatorsEnvelope Budget Allocation Ledger
Reconcile cash and category earmarks through assignments, transfers, spending and source-linked refunds.
EducationIndivisible Goods Fairness Workbench
Audit an authored goods allocation or a declared round-robin pick sequence with exact envy and EF1 witnesses.