Back to Calculators

Tax and Tip Calculator

Check the bill, choose what to tip on, and split every cent. A restaurant-payment calculator with discounts, tax and service charges.

Food and drink before any discount, tax or service charge

Blank = 0. An amount cannot exceed the subtotal

Applied to the discounted subtotal. If your receipt taxes another base, enter the tax amount. Blank = 0

Blank = 0. Service charges are entered separately below

Tip base

The base is shown in money in the results so you can check it.

Added to the total but never part of the tax or tip base. Do not also include it in the subtotal. Blank = 0

Whole number, 1 to 100. Equal split

The first result is an illustrative example. Everything is calculated in your browser; nothing you enter is saved or sent. Amounts are whole cents. This is not tax, payroll or financial advice.

Total to pay
USD 117.20
3 people, tax and tip included
Each person pays (exact cents)
39.07 / 39.06
2 pay USD 39.07; 1 pays USD 39.06
Voluntary tip
USD 20.00
20% of the original subtotal, before tax (100.00)
Sales tax
USD 7.20
8% of the discounted subtotal (90.00)

Bill breakdown

Every line of the bill in USD: subtotal, discount, tax, service charge, tip and total
LineUSD
Item subtotal100.00
Discount-10.00
Discounted subtotal90.00
Sales tax7.20
Service charge already due0.00
Voluntary tip on 100.00 (original subtotal, before tax)20.00
Round-up added to the tip0.00
Total117.20

Total = discounted subtotal + tax + service charge + tip + round-up. Final voluntary tip including any round-up: 20.00. Effective tip: 20.00% of the tip base.

Exact split

2 pay USD 39.07; 1 pays USD 39.06. The shares add up to exactly 117.20: the remaining cents are spread one cent at a time instead of charging everyone the rounded-up share.

How to calculate tax and tip

A restaurant receipt mixes several different amounts, and a tip percentage only means something once you know which of them it applies to. Start with the item subtotal before tax. Subtract any coupon or discount to get the discounted subtotal. Add sales tax, add any service charge the restaurant has already included, and then add the voluntary tip you choose. This calculator keeps each of those lines separate so you can inspect them, then shows the total and an exact split between diners. For a single bill that is not shared, set the number of people to 1.

Choose the tip base

A bill can have several valid tipping bases. The amount before a coupon rewards the original service price. The discounted subtotal follows what you paid for the items. Including sales tax raises either base. This calculator shows the selected base in money so you can inspect the choice before using the result. It does not decide the right local custom or calculate a legal tax liability. The same idea appears in business arithmetic: markup and margin use different bases, and a percentage means little until the base is named. For the example bill below, the four bases give four different tips at 20%.

Hypothetical bill: 100.00 subtotal, 10% discount, 8% tax on the discounted subtotal (7.20), 20% tip, 3 people
Tip baseBase20% tipTotal
Original subtotal, before tax100.0020.00117.20
Original subtotal, including tax107.2021.44118.64
Discounted subtotal, before tax90.0018.00115.20
Discounted subtotal, including tax97.2019.44116.64

Tax, discount and tip formulas

The calculator uses these steps, with every money amount rounded half-up to the cent before it feeds the next step:

  • S is the pre-tax item subtotal, and D is the discount: S × the discount rate, or an amount you enter.
  • A = S − D is the discounted subtotal. When a coupon covers a multipack or a larger size, compare unit prices after a discount before you order.
  • X is sales tax: A × the tax rate, or the tax amount printed on your receipt.
  • C is a service charge already due. It is added to the total but is never part of the tax or tip base.
  • B is the tip base: S or A, plus X only if you include tax. T is the voluntary tip: B × the tip rate, or an amount you enter.
  • Total = A + X + C + T, plus the optional round-up described below.

Percentage tax is applied to the discounted subtotal. If your receipt taxes a different base, or taxes the service charge, enter the actual tax amount instead; the tool does not look up local tax rules.

Worked example: a coupon and three diners

Take a 100.00 food subtotal with a 10% coupon, 8% sales tax, a 20% tip on the original pre-tax subtotal and three diners. The discount is 10.00, so the discounted subtotal is 90.00. Tax is 8% of that, 7.20. The tip base is the original 100.00, so the tip is 20.00. The total is 90.00 + 7.20 + 20.00 = 117.20. Divided by three that is 39.0666…, which cannot be paid in whole cents. Two diners pay 39.07 and one pays 39.06, and the three shares add up to 117.20 exactly. Charging all three 39.07 would collect 117.21, one cent too much.

Before-discount or after-discount tip?

With the discounted subtotal as the base, the same 20% gives a tip of 18.00 instead of 20.00, a total of 115.20 and 38.40 each. Adding the 7.20 tax to the discounted base gives a tip of 19.44, a total of 116.64 and 38.88 each. The difference between 20.00 and 18.00 is a choice about the base, not a tax rule and not a recommendation. Some diners tip on what the meal would have cost, others on what they paid; the tool lets you see both before you decide.

Tip percentages at a glance

The table shows the same bill at 15%, 18%, 20%, 22% and 25%, using the discount, tax, tip base, service charge, round-up setting and number of people from your last calculation. Use a row to load that percentage into the form; nothing is recalculated until you press Calculate. These are examples of arithmetic, not suggested tip rates.

Tip, total and exact split in USD for your current bill, by tip percentage
TipVoluntary tipTotalSplitLoad percentage
15%15.00112.20Everyone pays 37.40
18%18.00115.20Everyone pays 38.40
20%20.00117.202 pay 39.07; 1 pays 39.06
22%22.00119.201 pays 39.74; 2 pay 39.73
25%25.00122.201 pays 40.74; 2 pay 40.73

Service charges and tax already on the receipt

Some restaurants add a service charge, especially for larger parties. That is money already due, not a second automatic tip, so the calculator enters it on its own line: with a 100.00 subtotal and a 20.00 service charge, a 0% voluntary tip leaves a total of 120.00, or 40.00 each for three people. Keep the subtotal free of the service charge and of tax, or the same money is counted twice. Whether a given charge is legally a gratuity, and whether it is taxable, depends on where you are and is outside this model. When your receipt already shows the tax, enter it as an amount. You can then decide whether any extra voluntary tip is wanted on top of the service charge.

How rounding and splitting work

Every computed amount is rounded to the cent, half up. Take a 48.75 bill with an 18% tip: 18% is 8.775, which rounds to 8.78, so the total is 57.53 rather than 57.52. The final total is then divided among the diners in whole cents. The cents that do not divide evenly go to as many people as there are leftover cents, one cent each, so the group pays the exact bill and no one pays two cents more than another. The optional round-up lifts the group total to the next whole currency unit and shows the difference as extra tip: the example bill rises from 117.20 to 118.00 with 0.80 of added tip, and the shares become 39.34, 39.33 and 39.33. It rounds the group total, never each guest separately, and it is not a suggestion that anyone should pay less than their share.

For examples of other bill calculators and the conventions they use, see Salecalc’s tax and tip calculator and Calculator.net’s tip calculator. They are shown only as examples of conventions, not as authority for any required tip rate.

Frequently asked questions

Should I tip before or after tax?

The calculator allows either. Local customs and personal preference differ, so look at the base shown in money and decide. It does not prescribe a mandatory percentage.

Should a discount reduce the tip?

You choose the original or the discounted subtotal. In the 100.00 example with a 10% coupon, a 20% tip is 20.00 on the original subtotal and 18.00 on the discounted one, before tax, while tax is computed independently.

What if the bill already includes a service charge?

Enter it separately so it is not counted twice, then decide whether you want any additional voluntary tip. The tool does not decide whether a charge is legally a gratuity.

Why do some people pay one cent more?

An equal share does not always fit whole cents. The remainder is distributed so the group pays the exact bill: in the example, 39.07, 39.07 and 39.06.

Can I enter the tax or tip as a fixed amount?

Yes. Enter the tax printed on the receipt, or choose a flat voluntary tip. No jurisdictional tax rate is inferred, and the tip base controls do not apply to a flat tip.

Does this calculate income tax on tips or split different meals?

No. It calculates a customer’s bill and equal shares. Payroll, withholding, tip pooling and itemized uneven splits are separate tasks. See the disclaimer.

Get New Free Calculators by Email

Be the first to hear about new free calculators and plain-English guides on pricing, money and planning. Occasional emails only, unsubscribe at any time.

No spam. See our privacy policy.