Expense Settlement Calculator
Write one expense per line: who paid, how much, and optionally who it was for. The page computes what each person paid, their share, the balance, and a short list of transfers that settles everything. Amounts are handled in whole cents, so the shares always add up to the exact total.
Settlement
2 transfers to settle up
2 expenses, total 84.00, 3 people
- Cy pays Ana 32.00
- Ben pays Ana 8.00
| Person | Paid | Share | Balance |
|---|---|---|---|
| Ana | 60.00 | 20.00 | +40.00 |
| Ben | 24.00 | 32.00 | -8.00 |
| Cy | 0.00 | 32.00 | -32.00 |
How it works
- Write one expense per line as “payer ; amount ; for whom”. Leave out the last part when everybody shares it.
- Add the people who paid nothing in the group box, so they get a share of the shared expenses.
- Read the balance of each person: a positive balance is money to receive, a negative one is money to pay.
- Copy the summary or the transfers as a CSV and send them to the group.
What people use it for
Trips and holidays
Settle fuel, groceries and the rental house after a weekend when each person paid something different.
Shared flats
Sum up the month of shared purchases, including a purchase that only two flatmates use.
Events and gifts
Reimburse the person who advanced the money for a party or a group gift.
Questions
- How are the shares and the balance computed?
- Each expense is split between the people it was for, in equal parts unless you give a weight such as “Ana*2” for a double part. The share of a person is the sum of their parts of every expense. The balance is what the person paid minus their share, so the balances of the group always add up to zero.
- How are the cents handled?
- The page works in whole cents. When an expense does not divide evenly, the extra cents go to the people with the largest fractional remainder, and to the first listed in a tie. The parts of an expense therefore add up to its exact amount, with no cent lost or created.
- Is the list of transfers the shortest possible?
- It is built greedily: the person who owes the most pays the person who is owed the most, and so on. This needs at most one transfer fewer than the number of people with a non-zero balance. In rare groups where some people can settle among themselves, a shorter list may exist.
- Which currency and which limits?
- The page does not know about currencies: all amounts must be in the same one, with at most 2 decimals. It accepts up to 2,000 expenses and 200 people, weights from 1 to 1,000, and it does not give tax or legal advice. Nothing you type leaves your browser.