How the split is calculated
Tax is the bill multiplied by the tax rate. The tip is calculated on the amount before tax or after tax, as you choose. Both are added to the bill, and the total is divided by the number of people.
The last line rounds each share up to the next whole unit, which is handy when everyone pays in cash or by transfer; the extra goes to the tip.
When equal shares are not fair
Equal shares work when everyone ordered about the same. When orders differ a lot, have each person add their own items, then apply the same tax and tip rates to their part. Our guide on splitting the bill explains the three usual methods.
Before you start
Check whether the restaurant has already added a service charge, which is common for large groups in some places. If it has, set the tip to 0 or lower it, so the group does not tip twice.