Essa Shakeel Finance 100 #87 · Everyday Money View source on GitHub

Itemized Bill Splitter

Split a restaurant bill by what each person ordered, with tax and tip shared fairly.

The bill

List each item and tick who had it. An item shared by several people is split evenly. Tax and tip follow each person's food.

Results

Per person

Summary


    

How it works

Each item is split evenly among the people ticked for it, in whole cents. Any leftover cent goes to the people with the largest fractions, so the shares add up to the bill exactly.

Discount comes off the food first. Tax is (food − discount) × tax %. Tip is tip % × food after discount, or × (food after discount + tax) if you choose that option.

Discount, tax and tip are shared in proportion to each person's food after discount. A person who ordered 20% of the food pays 20% of the tax and tip.

Limits: tax is one rate for the whole bill, so a bill with mixed rates needs a separate split. Items with nobody ticked are left out, and the page reports their total. Check the receipt for service charges, which are not added.