Group Expense Calculator Formula
Understand the math behind the group expense calculator. Each variable explained with a worked example.
Formulas Used
Each Person's Share
each_share = fair_shareYou Are Owed / Owe
your_balance = your_paid - fair_shareVariables
| Variable | Description | Default |
|---|---|---|
total_expenses | Total Group Expenses(USD) | 450 |
num_members | Number of Members | 6 |
your_paid | Amount You Paid(USD) | 150 |
fair_share | Derived value= total_expenses / num_members | calculated |
How It Works
How Group Expense Splitting Works
Add up all expenses, divide by the number of members for a fair share, then compare what each person paid to their share.
Formula
Fair Share = Total Expenses / Members
Balance = Amount Paid - Fair Share
Positive balance means others owe you; negative means you owe the group.
Worked Example
Six friends spent $450 total on a weekend trip. You paid $150.
total_expenses = 450num_members = 6your_paid = 150
- 01Fair share = $450 / 6 = $75.00
- 02You paid $150 but your share is $75
- 03You are owed: $150 - $75 = $75.00
Ready to run the numbers?
Open Group Expense Calculator