Everyday Life & Household Tipping, Bills & Shared Household Costs Even-split arithmetic with largest-remainder penny allocation

Split the Bill Calculator

Enter the check subtotal, the sales tax rate, the tip you want to leave and how many people are paying, and this calculator returns the exact share each person owes plus a rounded share that people can actually hand over. It also reconciles the pennies: an even split almost never divides into whole cents, so the calculator tells you how many payers add one extra cent, and shows whether rounding to the dollar leaves the table over or short against the real bill.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Bill subtotal before taxThe food and drink total printed above the tax line on the check.128.5 $
Sales tax rateYour combined state and local restaurant tax; read it off the check as tax divided by subtotal if you are unsure.8.25 %
Tip percentageThe gratuity you want to leave, expressed as a percentage of the tip base you choose below.20 %
Tip is calculated onTipping on the pre-tax subtotal is the convention most etiquette guides give; tipping on the taxed total leaves a slightly larger gratuity.Subtotal before tax
Number of people payingCount only the people contributing money, not everyone at the table.4
Rounding ruleCent-exact collects the bill precisely; the two rounding-up rules are easier to hand over in cash and leave a surplus.Split to the exact cent

It returns

  • Share per person — Under the cent-exact rule this is the base share; the payer table below shows who adds the leftover pennies.
  • Total bill with tax and tip
  • Exact share (unrounded) — The total divided by the number of payers, before any rounding rule is applied.
  • Tax and tip inside each share
  • Collected minus bill — Positive means the table hands over more than the bill; negative means it hands over less.

The formula

share=S(1+t)+Bgn
r=CnCn

In plain text: Total = S(1 + t) + B·g, exact share = Total / n

  • SBill subtotal before tax ($)
  • tSales tax rate as a decimal (decimal)
  • BTip base: S on the pre-tax convention, S(1+t) on the post-tax convention ($)
  • gTip rate as a decimal (decimal)
  • nNumber of people paying (count)

The rounding step is separate from the formula. Cent-exact splitting floors each share to the cent and distributes the leftover cents one per payer, which is the largest-remainder method used in apportionment.

Updated Category Tipping, Bills & Shared Household Costs Verified against published test cases Reading time 10 min

What an even split actually has to get right

An even split has three moving parts and most arguments at the table come from mixing them up. The first is the order of operations: tax applies to the subtotal, and the tip applies either to that same subtotal or to the taxed figure, depending on the convention you choose. The second is who is paying, which is not always the same as who is eating — a table of six where two people are guests is a four-way split. The third is the pennies, and it is the part everyone waves away.

The penny problem is real arithmetic, not pedantry. A total of $164.80 over three payers is $54.9333 each. Round every share to $54.93 and you hand the server $164.79; round every share up to $54.94 and you hand over $164.82. Neither equals the bill. The fix is the same one legislatures use to apportion seats: floor every share to the cent, count the leftover cents, and give one extra cent to that many payers. Three cents left over means three people pay a penny more, and the collection matches the check exactly.

This calculator does all three parts and shows its work, so you can hand your phone across the table instead of arguing. If your group wants to split by what each person actually ordered rather than evenly, the even split is still the right starting point — work out the tax and tip on the whole check first, then allocate them in proportion to each person's food, which is what most itemising apps do internally.

The formula, and why the tip base changes the answer

Start with the subtotal S. Sales tax is a straight percentage of it, so the taxed check is S(1 + t). The tip is a percentage g of a base B, and the whole disagreement about tipping etiquette lives in what B is.

On the pre-tax convention, B = S, so the tip rewards the service and ignores the government. On the post-tax convention, B = S(1 + t), so you are tipping on the tax as well. The difference is exactly S · g · t: on a $128.50 check at 8.25% tax and a 20% tip, that is 128.50 × 0.20 × 0.0825 = $2.12. Across four payers it is 53 cents each. Small, but it is the entire substance of an argument that has been running for decades, and now you can put a number on it. The tip calculator isolates that comparison if the tip itself is what you are deciding.

Divide the total by the number of payers n and you have the exact share. Everything after that is presentation. Cent-exact splitting is the only rule that collects the bill precisely; rounding each share up to a dollar or to $5 is easier with cash and always collects at least as much as the bill, with the surplus becoming an extra gratuity. The calculator reports that surplus explicitly rather than letting it disappear.

Worked example: a $128.50 check at 8.25% tax with a 20% tip

Four friends eat dinner. The subtotal is $128.50, the local restaurant tax is 8.25%, and the table agrees on 20% on the pre-tax subtotal.

  1. Tax. 128.50 × 0.0825 = $10.60125, which the restaurant prints as $10.60.
  2. Tip base. The pre-tax convention means the base is the subtotal itself, $128.50.
  3. Tip. 128.50 × 0.20 = $25.70.
  4. Total. 128.50 + 10.60125 + 25.70 = $164.80125, so the amount to collect is $164.80.
  5. Exact share. 164.80 ÷ 4 = $41.20 exactly. Four people hand over $41.20 each and the collection is $164.80. No pennies left over.
  6. Tax and tip inside each share. (10.60 + 25.70) ÷ 4 = $9.08, so 22% of what each person pays is not food.

Now suppose one friend cancels and three people split the same check. 164.80 ÷ 3 = $54.9333. In cents, the total is 16,480 and 16,480 ÷ 3 = 5,493 with a remainder of 1. So one payer hands over $54.94 and the other two hand over $54.93; 54.94 + 54.93 + 54.93 = $164.80, which is the bill to the penny. If instead the three of you round up to whole dollars, each pays $55.00, the table hands over $165.00, and the extra $0.20 goes to the server as a slightly larger tip — an effective tip of 20.16% rather than 20%.

Reading the result: even split, itemised split, or something between

An even split is fair when the orders are broadly comparable and unfair when they are not. The honest test is the size of the gap: if one person had a $12 salad and another had a $60 steak with two cocktails, the even split moves roughly $24 from the first person to the second on a four-top, which is more than most people are comfortable subsidising in silence.

The middle path most groups actually want is itemise the food, share the overheads. Each person pays for what they ordered, then tax and tip are added in proportion to that amount. The proportional add-on is simply each person's food multiplied by (1 + t + g) on the pre-tax convention, so a $12 salad at 8.25% tax and 20% tip becomes 12 × 1.2825 = $15.39. Shared appetisers and bottles get divided evenly among the people who touched them before that multiplier is applied.

Watch the collected minus bill figure. Zero means the collection is exact. A positive number is surplus that lands in the tip; treat it as intentional generosity rather than an accounting error, and check that it has not quietly pushed a 20% tip to 26%. A negative number means the table is short and one person is covering the gap, which only happens if you deliberately round down. For a group trip where the same people keep paying for different things, a running tally like the carpool cost split calculator or the trip daily budget calculator is a better tool than splitting each receipt as it arrives.

Cost per person on a $100 subtotal with a 20% pre-tax tip

Exact share per person, before any rounding rule, for a $100 subtotal with a 20% tip on the pre-tax amount.
Sales taxTotal2 people3 people4 people6 people
0%$120.00$60.00$40.00$30.00$20.00
6.00%$126.00$63.00$42.00$31.50$21.00
8.25%$128.25$64.13$42.75$32.06$21.38
10.00%$130.00$65.00$43.33$32.50$21.67

Scale linearly for any other subtotal: a $250 check at 8.25% tax split four ways is 2.5 × $32.06 = $80.16. Shares shown to the nearest cent; the calculator handles the leftover pennies.

Mistakes that make a split wrong

  • Tipping on a check that already includes a service charge. Large parties are frequently charged an automatic gratuity of 18-20%. It appears as a line item, and adding a further 20% on top means the server is tipped twice. Read the check before you enter a subtotal.
  • Entering the taxed total as the subtotal. If you type the bottom-line figure into the subtotal field and then add tax again, you tax the tax. On a $128.50 check at 8.25% that inflates the total by about $10.60.
  • Splitting by headcount when the payers differ. Six at the table, four cards on the tray. The divisor is four.
  • Ignoring the pennies and hoping. Rounding everyone down leaves the server short. Rounding everyone up on a large table can add several dollars you did not intend to give.
  • Assuming your tax rate. Restaurant tax varies by city and sometimes by whether the item is food or alcohol. Divide the printed tax by the printed subtotal to get your real rate rather than guessing.
  • Splitting a discount incorrectly. A coupon reduces the subtotal, which reduces both tax and a pre-tax tip. If the group wants to tip on the undiscounted amount, enter the original subtotal, choose the tip you want, then subtract the discount from the total by hand.

Where the penny rule comes from, and when to use a different tool

Distributing leftover cents one at a time is the largest-remainder method, the same procedure used to apportion legislative seats to districts when the quota is fractional. It has the property you want here: every share differs from the exact share by less than one cent, and the shares sum to the total exactly. No other rounding scheme can promise both at once, which is why cent-exact splitting is the default in this calculator.

Cash changes the calculation. If everyone is paying with notes, rounding each share up to the next dollar or to $5 removes the change problem entirely, and the surplus is a defensible extra tip. The calculator reports it so the decision is deliberate. Card-only tables should stay cent-exact, because the server can split a check across cards to the penny anyway.

Use a different tool when the shared cost is recurring rather than one-off. Housemates dividing a monthly rent should use the rent split by room size calculator, which weights bedrooms rather than splitting evenly, and a household dividing utilities should start from the actual bill with the electricity bill calculator or the water and sewer bill calculator before deciding how to apportion it. For a shared hotel room on a group trip, the hotel stay total cost calculator builds the taxed and fee-loaded total that you then split here.

Frequently asked questions

Should the tip be calculated before or after sales tax?

Tip on the pre-tax subtotal — that is the convention most etiquette guides describe, and tax is not a service the restaurant provided. The difference is small but real: it equals subtotal × tip rate × tax rate. On a $128.50 check at 8.25% tax with a 20% tip, tipping post-tax costs $2.12 more. If you prefer to tip on the total, switch the Tip is calculated on selector and the calculator handles it.

How do I split a bill when the total will not divide evenly?

Floor each share to the cent, then give one extra cent to as many payers as there are leftover cents. A $164.80 total over three people is $54.9333 each; the calculator floors that to $54.93, finds one cent left over, and has one payer hand over $54.94. The three payments sum to exactly $164.80. Rounding everyone the same way instead always leaves the collection either over or short.

What if one person ordered far more than everyone else?

Split the food itemised and share the overheads proportionally. Add up what each person ordered, then multiply by (1 + tax rate + tip rate) if you are tipping pre-tax. A $12 dish at 8.25% tax and a 20% tip becomes 12 × 1.2825 = $15.39. Shared plates get divided evenly among the people who ate them before the multiplier. An even split is only fair when the orders are roughly comparable.

The restaurant added an automatic gratuity. What do I enter?

Set the tip percentage to zero and add the gratuity line into the subtotal, or enter the subtotal normally and set the tip to the percentage the restaurant already charged so the total matches the printed check. What you must not do is enter the printed subtotal and then add a second full tip on top — that pays the gratuity twice. Automatic gratuity is common for parties of six or more.

What is a normal tip percentage in a US restaurant?

Fifteen to twenty percent of the pre-tax subtotal is the band most etiquette guides give for full-service dining, with twenty percent the common default in large cities. Counter service, where you order and carry your own food, carries no comparable expectation. The calculator accepts anything from zero to one hundred percent and flags values above thirty percent as unusual rather than wrong.

Why does rounding up cost more than I expected on a large table?

Because the surplus scales with the number of payers, not with the size of the bill. Rounding each share up to the next dollar adds up to 99 cents per person, so a table of twelve can hand over almost $12 more than the check. The Collected minus bill output shows the exact surplus. Rounding to $5 multiplies that effect by five and is worth checking before you use it on a big group.

Does this work for splitting a bar tab or a group grocery run?

Yes, for anything where one taxed total is divided evenly. Enter the pre-tax subtotal, the applicable tax rate, and zero tip for a grocery run. The penny reconciliation is the useful part: a $73.41 grocery bill split three ways is $24.47 each, and the calculator tells you which payer covers the extra cent so the collection is exact.

How do I handle someone who only had a drink?

Take them out of the even split and settle their item separately. Subtract their food and drink from the subtotal, run the even split on the remainder over the remaining payers, then charge that person their own item plus its share of tax and tip — their item multiplied by (1 + tax rate + tip rate). This keeps the total collected equal to the bill, which a pure even split would not.

References