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

Frequently Asked Questions

What if people ordered different amounts?

For unequal orders, consider having each person pay for their own items plus an equal share of shared appetizers and tax/tip.

How do I handle cents that do not divide evenly?

Round each share up to the nearest cent. The extra few cents can be added to the tip, or one person can cover the rounding difference.

Should I include tip before splitting?

Yes. Calculate tip first, add it to the total, then divide. This ensures everyone contributes their fair share of the tip.

Learn More

Guide

How to Calculate a Tip - Complete Tipping Guide

Learn how to calculate a tip at restaurants, salons, and other services. Covers standard percentages, mental math shortcuts, and how to split the bill fairly.

Ready to run the numbers?

Open Bill Split Calculator