HomeFinance › Tip Calculator

Tip Calculator

Computes the tip from a bill amount and tip percentage, the total including tip, and the per-person share when the bill is split evenly.

When to use

You need to add a gratuity to a restaurant, delivery or service bill and optionally divide the total among several people.

Do not use when: People pay for different items or unequal shares (use bill-split), or you need to add sales tax rather than a tip (use sales-tax).

Formula

tip_amount = bill_amount × tip_percent / 100; total_amount = bill_amount + tip_amount; per person = value / split_between

Inputs

ParameterTypeUnitRequiredDescription
bill_amountnumberyesAmount on the bill before tip (pre- or post-tax, as you prefer to tip). Range: ≥ 0, ≤ 10000000
tip_percentnumber%default 15Gratuity as a percent of bill_amount. US restaurant custom is 15–20 %. Range: ≥ 0, ≤ 100
split_betweenintegerdefault 1How many people share the bill equally. Range: ≥ 1, ≤ 1000

Outputs

OutputTypeUnitDescription
tip_amountnumberbill_amount × tip_percent / 100.
total_amountnumberbill_amount + tip_amount.
total_per_personnumbertotal_amount / split_between.
tip_per_personnumbertip_amount / split_between.
bill_per_personnumberbill_amount / split_between.

Example

85.50 bill, 18 % tip, 3 people: {"bill_amount":85.5,"tip_percent":18,"split_between":3}{"tip_amount":15.39,"total_amount":100.89,"total_per_person":33.63,"tip_per_person":5.13,"bill_per_person":28.5}

42.00 bill, 20 % tip: {"bill_amount":42,"tip_percent":20}{"tip_amount":8.4,"total_amount":50.4,"total_per_person":50.4}

GET https://tttkmbb.com/api/v1/calculate/tip?bill_amount=85.5&tip_percent=18&split_between=3

Machine access

Sources

FAQ

Should I tip on the pre-tax or post-tax amount?

Custom in the US is to tip on the pre-tax subtotal, though many people tip on the total; enter whichever amount you want the percentage applied to.

What are typical percentages?

US sit-down restaurants 15–20 %, exceptional service 20–25 %, counter service 0–10 %. In many countries (Japan, much of Europe) service is included and tipping is small or absent.

Related calculators