StingySplitter

Shared charges and credits

How to split tax, tip, fees, and discounts

Line items answer who consumed what. Receipt-level charges answer a different question: how should costs or credits that apply to the whole purchase follow those items? A consistent rule keeps the final totals explainable and exact.

Proportional allocation is the strongest itemized default

With proportional allocation, each person's share of a charge equals their assigned item subtotal divided by the total assigned item subtotal. If Alex has $20 of a $60 item subtotal, Alex receives one third of the tax and tip. If Sam has $40, Sam receives two thirds.

PersonItemsShare$12 tax + tipTotal
Alex$20.0033.33%$4.00$24.00
Sam$40.0066.67%$8.00$48.00
Receipt$60.00100%$12.00$72.00

This method matches percentage-based charges naturally. It is also transparent: a person with twice the assigned items receives approximately twice the tax and tip.

Even allocation is appropriate when the group chooses simplicity

An even rule divides a shared charge by the number of participating people, regardless of item value. It can make sense for a flat delivery fee, a booking charge that does not depend on spending, or a group that explicitly agreed to divide every extra equally.

Do not confuse even charges with an even receipt. A group can itemize food while dividing only a $6 delivery fee equally. Conversely, a whole-receipt equal split assigns the complete total equally and makes line-level ownership irrelevant.

Treat each kind of charge according to what caused it

Sales tax is usually proportional to taxable item value, although exemptions can make receipt-level allocation approximate. Voluntary tip is commonly proportional to pre-tax item value. Mandatory gratuity should not be counted again as voluntary tip. Delivery fees may be even or proportional. Product-specific fees, such as deposits, should follow the related product.

Read the receipt labels: “service charge,” “admin fee,” and “gratuity” do not always mean the same thing. Confirm what is already included before adding another amount.

Apply discounts as negative charges with a clear beneficiary

An item-level discount belongs to that item and reduces the shares of its assigned people. A receipt-wide promotion can be divided proportionally across eligible item values. An even discount is possible, but it can over-credit a person whose items were cheaper than the credit they receive.

Coupons funded by one person require an agreement. If Sam contributed a personal $10 voucher, the group may treat that as Sam's payment contribution rather than a discount shared by everyone. Store credit from a prior return can likewise represent one person's money even when it reduces today's merchant total.

Keep unresolved items and their shared charges together

If $15 of a $75 subtotal is unresolved, then 20% of proportional tax, tip, and fees is unresolved too. Allocating all shared charges only to named participants while leaving the item unassigned understates the open balance and overcharges the people whose items are already known.

The final reconciliation should distinguish participant totals, payer-absorbed amounts, already-settled amounts, excluded receipt errors, and unresolved amounts. Together, those categories must equal the declared receipt total.

Rounding rules should preserve the receipt total

Calculate authoritative amounts in integer cents. For proportional allocation, compute exact fractional shares, assign whole cents, then distribute remaining cents by largest fractional remainder with a stable tie-break. This avoids floating-point drift and ensures every charge and discount is fully allocated.

  1. Confirm the item subtotal and each printed charge or credit.
  2. Choose a rule for tax, tip, every fee, and every discount.
  3. Define which participants are included in each rule.
  4. Keep unresolved item value and its proportional charges unresolved.
  5. Round once at the allocation boundary and distribute remainder cents deterministically.
  6. Verify that all result categories reconcile exactly to the receipt total.
Calculate a fair split