Bill Split Calculator Formula

Understand the math behind the bill split calculator. Each variable explained with a worked example.

Formulas Used

Each Person Pays

per_person = total_bill / num_people

Variables

VariableDescriptionDefault
total_billTotal Bill(USD)124
num_peopleNumber of People5

How It Works

How to Split a Bill

Simply divide the total amount by the number of people sharing the expense.

Formula

Per Person = Total Bill / Number of People

Worked Example

A $124.00 group dinner among 5 friends.

total_bill = 124num_people = 5
  1. 01Total bill: $124.00
  2. 02Number of people: 5
  3. 03Each pays = $124.00 / 5 = $24.80

Ready to run the numbers?

Open Bill Split Calculator