How tax, a pre-tax tip and weights divide one bill to the cent
A fair group payment must reconcile to the actual total after tip and entered tax. Optional relative weights let one person pay twice another's share while the cent-allocation rule prevents missing or extra pennies.
Splitting a bill needs an explicit rounding rule. A group total of 100 cannot be divided equally among three people to exact cents without one share receiving an extra cent. This calculator rounds the tip once, computes the total, allocates whole cents by optional relative weights and hands any remainder cents to the largest fractional shares. That keeps the paid amounts equal to the displayed total.
Each person's weighted amount is shown in a table whose values add exactly to the group total. The tip basis and leftover-cent rule are explicit, avoiding hidden rounding discrepancies.
How subtotal, tax, tip rate, head count and weights set each share
The first three inputs build the total that must be covered. The head count and optional weights decide how that total is cut.
- Pre-tax subtotal
- This is the food and drink total before tax, entered to no more than two decimal places. It is the only base for the tip, so it drives two parts of the bill. Typing the after-tax total here and also entering the tax counts the tax twice and tips on it.
- Tax amount
- Enter the tax printed on the receipt as a money amount, not a percentage. It is added to the total unchanged and is never tipped on. In the example, 8 of tax is part of the 118 total, while the 10% tip stays at 10 rather than 10.80.
- Tip rate
- The percentage is applied to the subtotal and rounded once, half-up, to the cent. Raising it from 10% to 15% in the example adds 5, taking the total from 118 to 123. Enter 0 when a service charge already covers the tip or tipping is not expected.
- Number of people
- Between 1 and 30 people can share a bill. With no weights, the total is divided evenly and any cents that will not divide go to the earliest people: 118 among three becomes 39.34, 39.33 and 39.33. The count must match the weight list when weights are used.
- Relative weights
- Weights are proportions, not money: 2, 1, 1 means the first person pays half and the other two a quarter each, giving 59, 29.50 and 29.50. Separate them with commas or spaces, one per person in order, each from 0.01 to 100. A list shorter or longer than the head count is rejected rather than guessed.
Steps
- Enter the pre-tax subtotal and the actual tax amount shown on the bill.
- Choose a tip percentage calculated on the pre-tax subtotal and the number of people.
- Leave weights blank to split equally, or enter one positive weight per person for a proportional split; check each person's cent-accurate amount.
Reading tip: The table labels people in entry order and shows each weight beside the owed amount. A weight of two receives twice the unrounded share of a weight of one; one-cent adjustments can still be necessary.
Group-payment situations this split handles
Share a restaurant receipt
Add the entered tax and a pre-tax tip before dividing the actual group total.
Use uneven shares
Assign relative weights when some people agree to pay larger portions than others.
Reconcile the cents
Get payable person amounts that add exactly to the rounded group total.
Run a no-tip case
Enter zero tip or tax without changing the underlying equal-or-weighted split rule.
How the calculation works
- subtotal
- Pre-tax bill amount entered in cents before any tip or entered tax is added.
- tax / tip
- Actual tax amount entered / tip calculated only from the pre-tax subtotal.
- weightᵢ
- Positive relative share for person i; omitted weights default to one per person.
- remainder cents
- Whole cents left after flooring ideal allocations, awarded by largest fractional remainder.
No tax rate or personal item allocation is inferred. The cents rule guarantees displayed shares reconcile to the group total.
What every part means
- subtotal
- Pre-tax bill amount entered in cents before any tip or entered tax is added.
- tax / tip
- Actual tax amount entered / tip calculated only from the pre-tax subtotal.
- weightᵢ
- Positive relative share for person i; omitted weights default to one per person.
- remainder cents
- Whole cents left after flooring ideal allocations, awarded by largest fractional remainder.
Calculate it step by step
Tip is calculated on the pre-tax subtotal; tax is the amount you enter.
Blank weights mean each person has weight one.
Earlier people break exact ties, so the final person amounts sum exactly to total cents.
Subtotal and tax must be entered to cents. The tip uses half-up cent rounding. Allocation uses precise decimal weights and whole cent floors, then distributes only the cents left after those floors.
See how Calculation Guide tests examples and handles calculation limits.
See it in practice
- Pre-tax subtotal
- 100 currency units
- Tax amount on the bill
- 8 currency units
- Tip on pre-tax subtotal
- 10 %
- Number of people
- 3 whole people
- Optional relative weights
- 2, 1, 1
Subtotal 100, tax 8, tip 10% of subtotal = 10, total 118. For three people with weights 2,1,1, weight sum 4: shares 118×2/4=59; 118/4=29.50; 118/4=29.50.
- Tip on pre-tax subtotal10
- Entered tax8
Interpretation & limitations
How to read your result
With a 100 subtotal, 8 tax and 10% pre-tax tip, total is 118. Three people with weights 2, 1, 1 owe 59, 29.50 and 29.50. These are shares of all included charges, not individual menu item totals.
Where this estimate stops
This does not identify who ordered which item or apply item-specific tax and tip. The tax amount must come from the real bill; tips, service fees and local rules vary. For a reimbursement, use the actual receipt and group agreement.
Frequently asked questions
01Is tip calculated on tax too?
No. This tool calculates tip from the pre-tax subtotal only, then adds the entered tax amount to the final total.
02Why can equal shares differ by one cent?
A currency total may not divide evenly into whole cents. Leftover cents go to the largest fractional remainders, with earlier people winning ties, so every share adds to the bill.
03Can I split equally without typing weights?
Yes. Leave the weights box empty and enter only the number of people; each person receives weight one.
04Can weights be decimals?
Yes. Positive values such as 1.5, 1 and 0.5 allocate the whole bill in that proportion.
05Why must the count match the weight list?
Every person needs one weight in displayed order; otherwise the calculator cannot label and reconcile each share.
06What if there is no tip or tax?
Enter zero for those amounts; the subtotal alone is allocated using the same cent rule.
07The bill already includes a service charge. Where does it go?
There is no separate service-charge field. If the charge replaces a tip, set the tip rate to 0 and add the charge to the tax amount; that field is simply added to the total, so the charge is shared by the same weights. The result will then label the combined figure as entered tax.