Split the bill

Exact to the last won · Fewest transfers · Integer-only math

나눠 내기

여럿이 쓴 돈을 나누고, 누가 누구에게 얼마를 보내면 되는지 가장 적은 횟수로 알려 줍니다

적는 법: 이름:금액 · 이름:금액:함께 낸 사람들 · 이름:금액:사람들:무엇. 쉼표와 「원」은 그냥 써도 됩니다.

각자의 셈
낸 돈 30,000 · 몫 18,50011,500 받으세요
낸 돈 12,000 · 몫 18,5006,500 내세요
알리사낸 돈 9,000 · 몫 14,0005,000 내세요
이렇게 보내면 끝
링 → 윤6,500
알리사 → 윤5,000
모두 51,000 · 송금 2번이면 끝납니다

Settles who owes whom after everyone has paid different amounts. Balances to the last won and keeps the number of transfers as small as possible.

How to use it

  1. Enter each person and what they paid
  2. For shared items, pick who took part
  3. Read the settlement — shown as "A → B 12,000"
  4. Send the transfers as listed

Common questions

What happens to the remainder when the split is not exact?
Someone is assigned to pay the extra so the total matches exactly. Nothing is dropped or rounded into a mismatch.
Why are there so few transfers?
A→B and B→C can become a single A→C. Large debts are matched against large credits first, which keeps the number of transfers minimal.
Are there floating-point rounding errors?
No. Everything is counted in whole won — floating point cannot hold 0.1 exactly, so it is not used here.

Other tools

Stays on your device What you enter is handled inside your browser only — nothing is stored or sent anywhere.

This tool page states where what you enter goes — see the badge above. All tools · KarmoLab · Who made this · Built with AI. View source