HomeEveryday Life › Bill Split Calculator

Bill Split Calculator

Adds an optional tip percentage to a bill and divides the total equally among a number of people, reporting the tip, the total and each person's share.

When to use

A restaurant bill, taxi fare or shared purchase must be divided equally among several people, with or without a tip.

Do not use when: Shares are unequal (itemised bills), you only need the tip amount for one payer (use tip), or the cost is a trip's fuel (use fuel-cost).

Formula

tip_amount = total_bill × tip_percent / 100; total_with_tip = total_bill + tip_amount; per_person = total_with_tip / people

Inputs

ParameterTypeUnitRequiredDescription
total_billnumberyesBill total before tip, in your currency. Range: ≥ 0, ≤ 100000000
peopleintegeryesHow many people share the bill equally. Range: ≥ 1, ≤ 1000
tip_percentnumber%default 0Tip as a percentage of the bill (15 means 15 %). Range: ≥ 0, ≤ 100

Outputs

OutputTypeUnitDescription
tip_amountnumbertotal_bill × tip_percent / 100.
total_with_tipnumbertotal_bill + tip_amount.
per_personnumbertotal_with_tip / people.
bill_per_personnumbertotal_bill / people.
tip_per_personnumbertip_amount / people.

Example

120 bill, 4 people, 15 % tip: {"total_bill":120,"people":4,"tip_percent":15}{"tip_amount":18,"total_with_tip":138,"per_person":34.5,"bill_per_person":30,"tip_per_person":4.5}

87.50 bill, 3 people, no tip: {"total_bill":87.5,"people":3}{"tip_amount":0,"total_with_tip":87.5,"per_person":29.17,"bill_per_person":29.17,"tip_per_person":0}

GET https://tttkmbb.com/api/v1/calculate/bill-split?total_bill=120&people=4&tip_percent=15

Machine access

Sources

FAQ

Should the tip be calculated before or after sales tax?

Customs vary; in the US the tip is commonly computed on the pre-tax amount. Enter whichever base you want as total_bill.

The per-person amount does not multiply back exactly to the total.

Shares are rounded to 2 decimals; a difference of a few cents is rounding and one person can cover it.

Related calculators