Why the calculation is structured this way
Convert the finalized payable amount to integer cents. Divide by people count to obtain a base-cent share and remainder. Exactly that many higher shares receive one extra cent. The lower/higher amounts differ by one cent at most, and their weighted sum reproduces the total.
A second scenario you can verify
A total of $82.57 among four people is 8,257 cents. Base share is 2,064 cents and remainder one, so one pays $20.65 and three pay $20.64. Their sum is $82.57. Rounding all four shares down gives $82.56; rounding all upward gives $82.60.
What changes the interpretation
The mathematical allocation does not name who pays the extra cent. A repeated group can rotate those positions. Unequal orders, prior payments and personal discounts require a separate itemized model; do not hide those differences inside an equal split.
Verify the cent conservation identity before collecting payments
Let total integer cents be T and people count n. The lower share is floor(T/n) cents, and the number of higher shares is T modulo n. If q is the lower share and r the remainder, the total is r(q + 1) + (n − r)q = nq + r = T. This identity is the audit, not a claim that every person receives an identical rounded amount.
For $19.99 across six people, T is 1,999, q is 333 and r is one. The first one pays $3.34 and the other five $3.33. Their total is exactly $19.99. Which person occupies a higher-share position is a practical group decision; itemized orders or prior payments remain outside equal allocation.
Input reference and units
These values reproduce the model’s demonstration. Replace them with your own records or measurements; they are not recommended targets.
On a small screen, swipe horizontally to see all columns. With a keyboard, focus the table and use the arrow keys.
| Parameter | Demonstration value | How to enter it |
|---|---|---|
| Bill before tax and tip | 100 | Enter bill before tax and tip without adding a unit suffix. Scope: Equal shares only, with at most a one-cent difference; first-in-list assignment is a deterministic convention, not random selection. |
| Tip (%) of base bill | 15 | Enter tip (%) of base bill without adding a unit suffix. Scope: Equal shares only, with at most a one-cent difference; first-in-list assignment is a deterministic convention, not random selection. |
| Tax (%) of base bill | 5 | Enter tax (%) of base bill without adding a unit suffix. Scope: Equal shares only, with at most a one-cent difference; first-in-list assignment is a deterministic convention, not random selection. |
| People | 4 | A positive whole-person count; zero and fractional people are invalid. |
Bill Split Calculator: calculation relationships
Split a bill with tax and tip calculated on the same base. Round the total once to cents, then assign one extra cent to the first remainder-count people; the cent shares add exactly to the rounded bill. Equal shares only, with at most a one-cent difference; first-in-list assignment is a deterministic convention, not random selection. Totals round once to two decimals, with midpoint upward for nonnegative amounts. The total in cents must fit the safe integer range; currencies with other minor units need a different model.
Tax and tip use the same base: 90 with 10% tax and 20% tip totals 117, or 39 for each of three people. The total is rounded once to cents before allocation. A 10.01 bill with no extras contains 1001 cents; dividing by three gives 333 cents each plus a remainder of two. The first two people pay 3.34 and the third pays 3.33, so the paid shares add exactly to 10.01. Rounding every person independently to 3.34 would collect an extra cent.
total cents = roundHalfUp(bill × (1 + tip/100 + tax/100) × 100); lower cents = floor(total cents/people); remainder = total cents mod people
- bill: Bill before tax and tip. Enter bill before tax and tip without adding a unit suffix. Scope: Equal shares only, with at most a one-cent difference; first-in-list assignment is a deterministic convention, not random selection.
- tip: Tip (%) of base bill. Enter tip (%) of base bill without adding a unit suffix. Scope: Equal shares only, with at most a one-cent difference; first-in-list assignment is a deterministic convention, not random selection.
- tax: Tax (%) of base bill. Enter tax (%) of base bill without adding a unit suffix. Scope: Equal shares only, with at most a one-cent difference; first-in-list assignment is a deterministic convention, not random selection.
- people: People. A positive whole-person count; zero and fractional people are invalid.
- Result units: stated beside each output
- Calculation relationship: total cents = roundHalfUp(bill × (1 + tip/100 + tax/100) × 100); lower cents = floor(total cents/people); remainder = total cents mod people
- Supported domain: see the limits below
Worked example
Bill Split Calculator baseline input: Bill before tax and tip: 100; Tip (%) of base bill: 15; Tax (%) of base bill: 5; People: 4. Output: Per person (unrounded mathematical share) = 30; Total (rounded once to cents) = 120; People paying higher share (first in list) = 0; Higher share = 30; People paying lower share = 4; Lower share = 30. Substitute these values into the displayed equation to reproduce the result.
Reproduce the default scenario
This reproduces the default inputs in the reference table above; it is not an additional independent example. Displayed rounding may differ from intermediate precision.
- Per person (unrounded mathematical share)
- 30
- Total (rounded once to cents)
- 120
- People paying higher share (first in list)
- 0
- Higher share
- 30
- People paying lower share
- 4
- Lower share
- 30
Common questions and boundary checks
Why are there lower and higher shares?
A cent total may not divide evenly, so remainder cents are assigned explicitly.
How many people pay the higher share?
The remainder after dividing total cents by people count.
Can everyone be rounded independently?
That can underpay or overpay the total; use the conserving allocation.
Does the tool split different meals?
No. This is equal allocation of the entered total.
When should tip rounding happen?
Finalize the tip and total first, then split the final cents once.
Sources and content notes
Toolify describes the implemented algorithm and its assumptions. Sources below support the topic or applicable rules; they do not endorse this calculator. Examples are illustrative, and published rules take precedence over simplified estimates.
Report a formula, example or translation issue through our contact page. Include the tool name, inputs and expected result so it can be reproduced. Contact Toolify