Group Debt Settlement Generator
After a shared trip, everyone has paid something different and nobody wants to make eight separate transfers. This works out each person's balance against an equal share, then settles it by having the biggest debtor pay the biggest creditor until nothing is left — which needs at most one payment fewer than there are people. Everything is in whole pence, and the balances are proved to clear to exactly zero.
What this generator does
Totals what everyone paid, divides it into equal whole-penny shares with the remainder distributed a penny at a time, and computes each person's balance. It then repeatedly has the largest debtor pay the largest creditor until every balance is zero.
How to use this tool
- List who paid what, one per line, in pence.
- Read each person's balance against the equal share.
- Follow the settlement list — those are the only payments needed.
- Note that nobody both pays and receives.
Understanding the controls
- Who paid what
- One per line as a name and an amount in pence — 4250 is £42.50. Working in pence is what makes the split exact rather than nearly right.
Common use cases
- Settling up after a group holiday or a shared weekend
- Working out who owes whom after a round of shared expenses
- Reducing a tangle of debts to a handful of payments
- Checking a settlement adds up before anyone transfers money
- Splitting a bill where several people paid different amounts
How this generator works
Each person's balance is what they paid less an equal share. The share has to be whole pence, so the remainder is distributed one penny at a time — which keeps the balances summing to exactly zero rather than a penny out. Settlement then matches the largest debtor to the largest creditor repeatedly, which clears at least one person completely with each payment and so needs at most one fewer payment than there are people. Before display the balances are confirmed to sum to zero, the transfers are replayed and every balance must reach exactly zero, and nobody may both pay and receive.
Randomness and fairness
Nothing here is random. A set of payments has exactly one balance sheet, and this settlement construction is deterministic.
For how randomness is produced across the whole site, see how Generate Random works.
Limitations and good to know
- Everyone is assumed to owe an equal share, so a trip where some people had a room to themselves needs the shares worked out first.
- Amounts are in pence, so anything in another currency has to be converted before entering.
- The settlement uses the fewest payments this method can find, which is not always the theoretical minimum — that is a hard problem in general.
- This is arithmetic for splitting shared costs, not financial advice, and it makes no judgement about who should have paid what.
Privacy and your data
Names and amounts stay in your browser. Nothing is transmitted, stored or included in analytics — only the number of people.
Related generators
- Bill Split CalculatorSplits a bill so the shares add back up to it exactly, and decides fairly who takes the penny that will not divide.
- Percentage Split GeneratorSplits 100% into three random parts that always add up correctly.
- Party Quantity PlannerWorks out how much to buy for a party in whole packs, guaranteeing coverage and reporting the leftover honestly.
- Cash Denomination Breakdown GeneratorBreaks an amount into notes and coins using the fewest pieces, proved against every alternative by dynamic programming.