Trip Cost Split Calculator

Add up what everyone paid, work out each person’s fair share, and the difference is what they get back or owe. Debts are then settled with as few transfers as possible.

Also called: Travel expense splitter · Group expense calculator

  • Last updated
  • Formula tested against reference values

Your numbers

One person per line. The optional third number weights the share, e.g. nights stayed; leave it out for equal shares.

Result

Payments to settle up
—

Calculating…

Total spent
—
Average per person
—
Number of payments
—
People
—
Full table

How to use this calculator

  1. Enter or choose each person: name, amount paid, share weight (optional).
  2. The payments to settle up updates as you type. Use Copy result or Share to keep it.

Method

Share_i = Total × w_i ÷ Σw; Balance_i = Paid_i − Share_i; largest debtor pays largest creditor until all balances are zero

w_i
person i’s share weight (1 for an equal split)
Balance_i
positive: gets money back; negative: owes

Worked example

  1. Total = 240 + 60 + 0 + 100 = 400, so each share is 400 ÷ 4 = 100.
  2. Balances: Asha +140, Ben −40, Chen −100, Dev 0.
  3. Chen, who owes most, pays Asha 100; Ben pays Asha the remaining 40.

Two payments settle the trip: Chen pays Asha 100 and Ben pays Asha 40.

What the result means

Settling the largest debts first keeps the number of payments to at most one fewer than the number of people.

Assumptions and limits

  • Shares are rounded to the cent and any leftover cents go to the people whose exact share was closest to rounding up, so shares add up exactly to the total.
  • Expenses that only some people shared (for example, one dinner) need to be split separately or reflected in the weights.

Questions

How do I split when people stayed different numbers of nights?

Add each person’s nights as the third number on their line, e.g. “Ben, 60, 3”. Shares are then proportional to nights.

Can someone who paid nothing be included?

Yes. Enter 0 or leave the amount out; they will owe their full share.