What to do next
- Under "People", enter the names of everyone who took part. Typing them all into "Add several names", separated by commas, is quickest.
- Under "What was paid", enter who paid how much for what. For things only some people shared (drinks for those who drank, for example), untick the others under "For".
- Check the result on the right. Press "Copy message" and paste it into your group chat.
- If you want the others to check the details too, press "Copy a link to this". Anyone who opens the link sees the same details and can edit them.
What "the fewest transfers" means
When several people pay for different things, settling up gets complicated. If everyone pays back each person who paid, the number of transfers balloons: if three out of four people paid for something, doing it that way takes nine transfers.
This tool first works out each person's balance: the total they paid minus the total of their own share. People with a plus receive money, and people with a minus pay. Then it only has to move money from those who pay to those who receive until every balance is zero. Who paid for what no longer matters.
Amounts are in Japanese yen, counted in whole yen.
The example, worked out
The example the tool starts with (a trip for four people, ¥87,000 paid in total) works out like this.
| Name | Paid | Own share | Balance |
|---|---|---|---|
| Anna | 62,000 | 22,300 | +39,700 |
| Ben | 18,400 | 22,300 | −3,900 |
| Chris | 6,600 | 22,300 | −15,700 |
| Dana | 0 | 20,100 | −20,100 |
Only Anna receives money, so when the other three each pay, it's done in three transfers (Ben → Anna ¥3,900, Chris → Anna ¥15,700, Dana → Anna ¥20,100).
How it works
1. Work out each person's share of each expense
Each amount is split among the people ticked under "For". If everyone's share is "Equal", they each get the same amount. Yen that don't divide evenly are added one at a time to the people ticked, so everyone's share is within ¥1 of the exact split.
2. Work out each person's balance
Balance = total paid − total of own shareThe balances of everyone always add up to zero
3. Round
If you choose a unit such as "¥100", the balances are rounded to the nearest multiple of it. After rounding they no longer add up to zero, so one person takes the difference. At first that's whoever paid the most. If the organiser should take it instead, choose them under "Who takes the rounding difference".
4. Pair up the transfers
The balances are split into as many small groups as possible whose balances add up to exactly zero. For example, if A pays ¥3,000 and B receives ¥3,000, those two settle with one transfer between them. A group of k people needs k − 1 transfers, so the more groups there are, the fewer transfers overall.
When up to 18 people have a balance that isn't zero, every way of grouping them is checked and the one with the fewest transfers is chosen. With more people than that, checking them all isn't feasible, so everyone is settled as one group. Even then, there are no more transfers than the number of people minus one.
People who pay more, or less
Next to each name, you can choose how big a share that person pays.
| Share | When to use it |
|---|---|
| More (1.5× or 2×) | When a boss or a senior colleague covers more |
| Less (half) | People who joined partway through, students, children |
| Pays nothing | The guest of honour at a celebration, or someone who was invited. Anything they paid comes back to them in full |
The share applies to every expense the person is included in. To split things differently item by item (the same amount for the room, drinks only for those who drank), use the ticks under "For" instead of the share.
Tips
- Money was collected in advance: enter the money collected as an expense too. If Ben gave ¥5,000 to Anna, the organiser, in advance, enter "Paid in advance", ¥5,000, paid by Ben, for Anna only.
- One person ordered something separately: add it as a separate expense and tick only that person under "For".
- The organiser covers the odd yen: set the unit to ¥100 or ¥500, and choose the organiser under "Who takes the rounding difference".
- Two people have the same name: they can't be told apart in the message, so change one, for example to "Ben (brother)".
FAQ
- Are the names and amounts I enter sent anywhere?
- No. The calculation happens inside your browser. This site is set up so that it can't communicate with anything outside once the page has opened, so there's no way to send them at all. What you enter is saved only in this browser, for the next time you open the page.
- If I send the link, what can the other person see?
- The names, the expenses and their amounts, and the settings. They're stored after the
#in the link. The part after#is used only inside the browser and isn't sent to the server. But anyone who has the link can read what's in it, so be careful who you send it to. - How many people can it handle?
- Up to 30 people and 200 expenses. The fewest transfers can be found by checking every grouping for up to 18 people whose balance isn't zero.
- Can I send money with this tool?
- No. It only gives a list of who pays whom and how much. Hand over the money in person, or use the payment app you usually use.
- Is this set of transfers the only possible one?
- There may be other combinations that take the same number of transfers. This tool shows one of them. If two people aren't going to meet, for example, look at the amounts and rearrange the pairs so that they're easier to pay. As long as every balance ends at zero, any pairing is a correct settlement.
- Does it add up to the exact yen?
- Set the unit to "¥1" and nothing is rounded. When an amount doesn't divide evenly, someone pays ¥1 more, but everyone's share is within ¥1 of the exact split for each expense.
- Can I use it with another currency?
- It counts in whole yen. If you enter whole units of another currency (whole dollars, for example), the calculation still works, but the labels say yen and amounts can't have decimals.
About the calculation
This tool calculates only with the amounts you enter. It doesn't use any outside figures, such as tax rates or fees. The rules it follows (how leftover yen are shared out, how amounts are rounded and how transfers are paired) are as described under "How it works" on this page.