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_share

You Are Owed / Owe

your_balance = your_paid - fair_share

Variables

VariableDescriptionDefault
total_expensesTotal Group Expenses(USD)450
num_membersNumber of Members6
your_paidAmount You Paid(USD)150
fair_shareDerived value= total_expenses / num_memberscalculated

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
  1. 01Fair share = $450 / 6 = $75.00
  2. 02You paid $150 but your share is $75
  3. 03You are owed: $150 - $75 = $75.00

Ready to run the numbers?

Open Group Expense Calculator