🏪 Lanren Toolkit

🧾 Bill Splitter

Split a total bill evenly, or settle up a group trip or shared dinner where everyone paid different amounts — instantly see who owes who how much.

Ad・Leaderboard 728×90
Enter a total bill and number of people (both must be greater than 0).
Ad・Rectangle 336×280

📖 How to Use

  1. First choose "Mode 1: Even Split" or "Mode 2: Debt Settlement" — they're built for different situations.
  2. Mode 1: enter the total bill, number of people, and a service charge / tip percentage (leave it at 0 if there isn't one). The result updates instantly as you type.
  3. Mode 2: add each person's name and how much that person actually paid out of pocket. Click "➕ Add Person" to add more rows, or "✕ Remove" on any row to delete it.
  4. Once everyone's data is in, click "🧮 Calculate Settlement". You'll get the total spent, the fair average per person, and the shortest possible list of transfers (e.g. "Amy owes Mike $500").
  5. Follow that transfer list and everyone's actual spending balances out — no need for everyone to pay everyone else back and forth.
Tip: "Amount Paid" in Mode 2 means how much that person actually paid out of their own pocket for the trip or meal — not their fair share. If someone didn't pay for anything up front, just leave it at 0 and the tool will work out how much they owe everyone else.

🔍 Deep Dive: The Logic Behind Bill Splitting

What does a "fair split" actually mean?

When a group spends money together, it's fair if what everyone ends up paying equals the total spend divided by the number of people. In real life it rarely works out that way — one person swipes their card for the restaurant, another covers the taxi, and someone else pays for nothing at all. "Fair" doesn't mean everyone re-pays their own share from scratch — it means looking at the gap between what each person already paid and what they should have paid, then settling that gap with as few transfers as possible.

Why splitting every single expense evenly is the wrong approach

If you try to split every individual expense evenly — dinner split one way, taxi split another, hotel split yet another — the math gets messy fast, and it's easy to lose track of who already covered what. The correct approach is to first work out the total spend for the whole trip and the fair average per person, then compare that against what each person actually paid. The difference is exactly what they're owed or what they owe — you never need to track individual expenses once you have the totals.

How the "minimum number of transfers" gets calculated

Split everyone into two groups: people who are owed money (they overpaid) and people who owe money (they underpaid). Think of it like a graph — each person is a point, and debts are lines connecting them. If you settled every original payment one by one, you could end up with a lot of transfers. Instead, repeatedly matching whoever is owed the most with whoever owes the most, transferring the largest amount possible each time, settles all the debts in close to the fewest possible transfers. That's exactly what this calculator's "Transfer Suggestions" section does — this technique is often called "debt simplification."

Worked example: splitting a 4-person trip

Say Mike paid $400 for the hotel, Julia paid $200 for dinner, Amy paid $120 for tickets, and Sam paid nothing up front. Total spend = 400+200+120+0 = $720, and with 4 people that's $180 each on average. Comparing that to what each person actually paid: Mike overpaid by $220 (owed money), Julia overpaid by $20 (owed money), Amy underpaid by $60 (owes money), Sam underpaid by $180 (owes money). Matching the biggest ower with the biggest owed: Sam transfers $180 to Mike first (Sam is settled, Mike still needs $40); then Amy transfers $40 to Mike (Mike is settled, Amy still owes $20); finally Amy transfers the remaining $20 to Julia (both settled). Just 3 transfers, and everyone's real net cost ends up at exactly $180 — the same result as if you'd worked it out by hand.

❓ FAQ

Does the rounding work out fairly?

Amounts are rounded to two decimal places for display. In debt settlement mode, if the total doesn't divide evenly you might see a rounding difference of less than a cent — that's normal rounding behavior and doesn't affect the overall fairness of the split. Who absorbs that last cent (or whether you just ignore it) is entirely up to you.

Can I use this with any currency?

The calculator doesn't lock in a currency — the "$" symbol is just a generic label. Use it for USD, TWD, JPY, EUR, or anything else, as long as every number you enter uses the same unit (don't mix, say, dollars and yen in the same calculation).

Is the name and amount data I enter stored or uploaded anywhere?

No. This tool runs entirely in your browser — the page makes no fetch or API calls of any kind. Everything you type only exists in your current browser tab and disappears the moment you refresh or close the page; nothing is ever sent to a server.

Do I have to enter real names in Mode 2?

No, the name field can be left blank and the tool will automatically label rows "Person 1," "Person 2," and so on for a quick calculation. If you're sharing the transfer suggestions with friends to actually settle up, though, real names or nicknames will make it much clearer.

The suggested transfer pairs feel a bit arbitrary — can I change who pays who?

The transfer suggestions only guarantee the fewest possible transfers to make everyone's final balance come out even — they don't account for who's actually comfortable paying who in real life. Feel free to rearrange the pairings yourselves; as long as each person's total sent or received matches the suggested amounts, the result is exactly as fair.

Ad・Leaderboard 728×90