Handy Orchard

Trip expense settlement

Split trip expenses between different people and see who should repay whom, keeping currency amounts exact.

Your input

People

Use a different name for each person. Use these names in expenses and avoid commas, which separate names in a split.

Expenses paid

Enter ordinary currency amounts. Leave the split blank for everyone, or enter participating names separated by commas.

Outputs are cleared when the input changes.

Result

Enter your data or use the example, then run the tool.

Worked example

If A pays 900 for A, B and C, B and C each repay A 300. Splitting 1.00 three ways gives 0.34/0.33/0.33 with two decimals.

Method

Amounts are divided in integer currency units: with two decimal places, 1.00 is 100 minor units. Any indivisible remainder goes in people-list order. Each person’s paid amount minus their share gives a balance, then repayments are matched to clear those balances.

Limits

One currency only, with no exchange conversion or bank payments. The suggested repayments clear the balances but may not use the fewest transfers. Check names, participants and amounts before using them.

Sources

Exact integer arithmetic with BigInt

Related tools

Packing weight budgetUnit price comparerFraction arithmetic

Your inputs stay on this device. Only optional, consented page visits are measured. Input values, files, filenames and processing logs are not sent to Analytics.

When switching languages, text, settings and selected files are temporarily kept on this device. Transfers are removed after restoring; interrupted transfers are cleaned up on a later visit. Inputs and files are never uploaded.