CalcOpenly
English

Tip calculator and bill splitter

Tip calculator for any bill: tip on the pre-tax or after-tax total, then split it evenly or by shares, with each person's share rounded up.

Drafted with AI writing toolsUpdated Checked examples: 4

$
%
%
Try
Each person pays
$
Each person pays: $26.62
Decimal places: 2; Nearest, ties to even
Tip
$15.21
Tax
$6.76
Bill with tax and tip
$106.47
Total collected
$106.48
Tip including rounding
18.01%

The bill comes to $106.47 with tax and tip. Each of the 4 people pays $26.62, which leaves $0.01 extra for the tip.

Where the money goes

$106.48collected
Bill79.4%Tax6.3%Tip14.3%Rounding extra0.0%
What each person pays Rows: 4
PersonPayment weightExactPays
Person 1126.6175$26.62
Person 2126.6175$26.62
Person 3126.6175$26.62
Person 4126.6175$26.62
How it's calculated S
  1. Tax

    84.50×8100=6.7684.50 \times \frac{8}{100} = 6.76
  2. Tip on the bill before tax

    84.50×18100=15.2184.50 \times \frac{18}{100} = 15.21
  3. Bill with tax and tip

    84.50+6.76+15.21=106.4784.50 + 6.76 + 15.21 = 106.47

    In the formula, B is the bill before tax, t the tax rate, A the tip base, p the tip rate, T the total, w_i each weight, and s the rounding step. Rates are decimal fractions; a_i is each exact share and q_i is its rounded payment before any balance adjustment.

  4. Split evenly

    106.474=26.6175\frac{106.47}{4} = 26.6175
  5. Round each share up to 0.01

    ⌈26.61750.01⌉×0.01=26.62\left\lceil \frac{26.6175}{0.01} \right\rceil \times 0.01 = 26.62

    Rounding collects $0.01 more than the bill; it is added to the tip.

About the tip calculator and bill splitter

The bill plus sales tax plus the tip gives the total, and the total is divided among the diners. The tip is a percentage of either the pre-tax bill or the bill with tax. An even split divides by the number of people; a split by shares gives each person a weight, so shares of 1, 1 and 2 make the third person pay half the total. Each share is then rounded up to the step you choose.

With the defaults, an 84.50 bill with 8% tax and an 18% tip on the pre-tax amount comes to 106.47. Split four ways that is 26.6175 each, which rounds up to 26.62, so the table collects one cent more than the bill and the extra cent goes to the tip.

Rounding up to 1, 5 or 10 makes cash easier to hand over. To keep the total exact, choose "Person 1 pays less" and the first person covers whatever the others' rounded shares leave.

How to calculate a tip and split the bill

Multiply the bill before tax by the tip rate, add the tax and the tip, then divide the total by the number of people. An 84.50 bill with 8% tax and an 18% tip is 84.50 + 6.76 + 15.21 = 106.47, or 26.62 each for four after rounding up to the cent.

For an uneven split, give each person a weight: shares of 1, 1 and 2 put a quarter, a quarter and half of the total on each. Weights set proportions, so they need not add up to the number of diners.

What rounding each share up does

Rounding every share up to a convenient step collects more than the bill. The extra either goes to the tip, or the first person pays the balance so the table hands over exactly 106.47. For the four-way split above:

Round-up stepRemainder ruleOther paymentPerson 1CollectedEffective tip
.01Extra to tip26.62Same as others106.4818.01%
.01Person 1 balance26.6226.61106.4718.00%
1Extra to tip27.00Same as others108.0019.81%
1Person 1 balance27.0025.47106.4718.00%
5Extra to tip30.00Same as others120.0034.01%
5Person 1 balance30.0016.47106.4718.00%
10Extra to tip30.00Same as others120.0034.01%
10Person 1 balance30.0016.47106.4718.00%

Rounding to the cent already collects one cent over. At a step of 5 or 10 each person pays 30, and the effective tip jumps from 18% to 34.01% unless one person takes the balance.

How to work out a tip in your head

Most common tip rates can be built from 10%, which is the bill with the decimal point moved one place left. On a bill of 67.40:

  • 10% is 6.74.
  • 20% is double that: 13.48.
  • 15% is 10% plus half of it: 6.74 + 3.37 = 10.11.
  • 18% is 20% minus 2%, and 2% is 10% divided by 5: 13.48 − 1.35 = 12.13.
  • 25% is a quarter of the bill: 16.85.

Where sales tax is close to 9%, doubling the tax line lands near 18%: 9% of 67.40 is 6.07, and twice that is 12.14, one cent more than the 18% tip. At 7.25% tax the same trick gives only 14.5%.

With 7.25% tax and three people, that bill comes to 84.42, or 28.14 each rounded up to the cent. Rounding each share up to 29 hands over 87 and lifts the tip to 21.83% of the bill; rounding up to 30 makes it 26.28%.

Tip table

Tips on the amount before tax, to the cent:

Bill10%15%18%20%22%25%
101.001.501.802.002.202.50
202.003.003.604.004.405.00
252.503.754.505.005.506.25
303.004.505.406.006.607.50
404.006.007.208.008.8010.00
505.007.509.0010.0011.0012.50
606.009.0010.8012.0013.2015.00
757.5011.2513.5015.0016.5018.75
10010.0015.0018.0020.0022.0025.00
15015.0022.5027.0030.0033.0037.50
20020.0030.0036.0040.0044.0050.00

For a bill between two rows, add the rows that make it up: the 18% tip on 135 is the tip on 100 plus the tip on 25 plus the tip on 10, or 18.00 + 4.50 + 1.80 = 24.30.

Should you tip before or after tax?

Etiquette guides quote tips on the pre-tax bill. Tipping on the total adds the tip rate times the tax: on a 120 bill with 7.25% tax, a 20% tip is 24.00 before tax and 25.74 after. That 1.74 is less than the 2.40 gap between 18% and 20%.

The choice only arises where tax is added at the till, as with US sales tax. UK prices must include VAT under the CMA's price-transparency guidance, so the bill shown is already after tax: use it as the bill, with tax at 0.

At the UK's 20% rate, VAT is one-sixth of a VAT-inclusive price, so a £60 bill is £50 before VAT. A 10% tip is £6.00 on the bill as printed and £5.00 on the pre-VAT amount.

Is a service charge a tip?

A service charge added by the restaurant is not a tip. In the UK, a compulsory service charge is part of the price and carries VAT, while an optional service charge or a tip is outside the scope of VAT (HMRC VAT Notice 700, section 8.14).

In Singapore, hotels and restaurants that add a service charge may show prices before GST, and GST is charged on the food and the service charge (IRAS).

So a S$100 meal with a 10% service charge and 9% GST comes to 110 × 1.09 = S$119.90. Enter a taxable service charge as part of the bill, 110 with 9% tax and no tip, to get that total.

Entering it as a 10% tip on 100 gives S$119.00 instead, because tax applies to the bill and never to a tip.

Tipping customs by country

CountryWhat to expect at a restaurantSource
United States15–20% of the pre-tax bill for table service, 10% at a buffetEmily Post Institute
United Kingdom (London)10–15% when no service charge is on the bill; restaurants often add a 12.5% service charge, which counts as the tipVisit London
United KingdomCompulsory service charges carry VAT; optional ones and tips do not. Since 1 October 2024, employers in England, Scotland and Wales must pass employer-received or controlled tips and service charges to workersVAT Notice 700; official tipping code of practice
FranceMenu prices include taxes and, where a service charge is collected, that charge must be included and identified as "prix service compris"Arrêté du 27 mars 1987
JapanTipping is not common in restaurants, bars, cafes, taxis or hotels; a private guide may accept a tip, given discreetly in an envelopeJapan National Tourism Organization
SingaporeHotels and restaurants that add a service charge may list prices before GST, and GST is charged on the service charge as well as the foodIRAS

Where a service charge is already on the bill, set the tip to 0 and add only what you want on top.

US tips for other services

Many US tips are flat amounts rather than percentages. The Emily Post Institute's guide gives these ranges:

ServiceSuggested tip
Take-outNo obligation; 10% for curbside delivery or a large, complicated order
Delivery10–15% of the bill; $2–5 for pizza
Bartender$1–2 a drink, or 15–20% of the tab
Valet$2–5 when the car is returned
Hotel housekeeper$2–5 a day, left daily
Bellhop or skycap$2 for the first bag, $1 for each additional bag
Taxi15–20% of the fare, at least $1
Hair salon, manicure, massage15–20%

To turn a flat tip into a rate, divide it by the bill: a $5 tip on a $32 delivery order is 5 ÷ 32 = 15.6%.

How to split a bill unevenly

An even split works when everyone ordered about the same. When one of three diners also had a starter and a glass of wine, weights of 1, 1 and 1.5 put 1.5 ÷ 3.5, or 42.9%, of the total on the third person.

Tax and tip split in the same proportion, so before rounding the result matches separate bills when the weights match what each person ordered.

Rounding still applies to each share. A 90 bill with no tax or tip, split 1, 1 and 2, is 22.50, 22.50 and 45; rounded up to 5, the table pays 25, 25 and 45, and the extra 5 is a 5.56% tip.

Letting one person pay the balance suits a table where that person pays by card and the others repay in round cash: on the 106.47 bill, the card holder collects 27 from each of three others and is left paying 25.47.

That only works while the others' rounded shares stay below the bill. Four people rounding an 18.00 bill up to 10 would have the other three pay 30 between them, more than the bill, so use a smaller step.

Worked examples

84.50 bill, 8% tax, 18% tip, 4 people, round to the cent

Bill before tax
84.50
Sales tax
8%
Tip
18%
Tip calculated on
Bill before tax
Split
Evenly
Number of people
4
Round each share up to
0.01
Money left over from rounding
Goes to the tip
Tax
6.76
Tip
15.21
Bill with tax and tip
106.47
Each person pays
26.62
Total collected
106.48
Tip including rounding
18.01%

Checked against: 84.50×0.08, 84.50×0.18, 106.47/4 = 26.6175 → ceil to 26.62; (15.21+0.01)/84.50

Round up to whole, person 1 pays the balance

Bill before tax
84.50
Sales tax
8%
Tip
18%
Tip calculated on
Bill before tax
Split
Evenly
Number of people
4
Round each share up to
1
Money left over from rounding
Person 1 pays less
Each person pays
27.00
Person 1 pays
25.47
Total collected
106.47

Checked against: ceil(26.6175) = 27; 106.47 − 3×27 = 25.47

Tip on the after-tax bill, one person

Bill before tax
100
Sales tax
10%
Tip
20%
Tip calculated on
Bill after tax
Split
Evenly
Number of people
1
Round each share up to
0.01
Money left over from rounding
Goes to the tip
Tip
22.00
Bill with tax and tip
132.00
Each person pays
132.00

Checked against: Hand calculation: (100 + 10) × 0.20 = 22

No tip, split 1:1:2, round up to 5 (extra becomes the tip)

Bill before tax
90
Sales tax
0%
Tip
0%
Tip calculated on
Bill before tax
Split
By shares
Shares per person
1, 1, 2
Round each share up to
5
Money left over from rounding
Goes to the tip
Tip
0.00
Bill with tax and tip
90.00
Total collected
95.00
Tip including rounding
5.56%

Checked against: 22.5, 22.5, 45 → 25, 25, 45; extra 5 / 90 = 5.56%

Questions

How much should you tip at a restaurant?

In the US, 15–20% of the pre-tax bill for table service and 10% at a buffet, according to the Emily Post Institute's tipping guide. Tips make up much of a server's pay there: federal law lets employers pay tipped workers a cash wage of $2.13 an hour and count tips towards the rest of the $7.25 minimum wage (US Department of Labor, Fact Sheet 15).

Should you tip on the amount before or after tax?

Etiquette guides such as the Emily Post Institute's give tip percentages of the pre-tax bill. Tipping on the total with tax adds the tip rate times the tax: on a 100 bill with 10% tax, a 20% tip is 20 before tax and 22 after it. Use the "Tip calculated on" setting to compare the two.

How do you split a bill unevenly?

Give each person a share and divide the total in proportion. For a 90 bill split 1, 1 and 2, the shares add to 4, so the first two pay 22.50 each and the third pays 45. Rounding each share up to 5 gives 25, 25 and 45: the table collects 95, and the extra 5 is a 5.56% tip on the 90 bill.

Is a service charge the same as a tip?

Not under US federal wage law: a compulsory charge, such as 15% added to every bill, is not a tip under the Fair Labor Standards Act (Department of Labor, Fact Sheet 15). In England, Scotland and Wales, the Employment (Allocation of Tips) Act 2023 has required employers since 1 October 2024 to pass all tips and service charges to workers without deductions other than tax. Check the bill for a service charge before adding a tip.

About this calculator

T=B+B t+A pqi=⌈T⋅wi/∑ws⌉s\begin{gathered}T = B + B\,t + A\,p \\ q_i = \left\lceil \frac{T\cdot w_i / \sum w}{s} \right\rceil s\end{gathered}

Sources

  1. Emily Post Institute — Tipping etiquette guide (restaurant tips of 15–20%)

Checked against references

This calculator includes 4 worked examples with independently sourced answers. They run in the test suite, and you can run them here too.

Put this calculator on your site

Paste this where you want the calculator to appear. It is free to use, it stays in step with corrections made here, and the credit line below it links back so your readers can find the full version.

Height
Preview the embed

Keep the credit line. It is the only condition, and it is what keeps these calculators free.