Data & APIs

Tip Calculator: Calculate a Tip and Split a Bill — Guide

tip calculator: Calculate a restaurant tip from the amount you choose, decide whether tax is included, and split the final bill fairly. See how.

Photorealistic editorial photo for How To Calculate Tip
Data & APIs · Practical ideas for your next build

A tip is usually calculated as a percentage of a restaurant bill, then added to the amount due. When a group shares a meal, the fairest split may depend on what each person ordered rather than dividing the total evenly. Check whether the receipt already includes a service charge and whether your group expects a tip based on the pre-tax amount. A tip calculator can make the arithmetic quick and show each person’s share before anyone pays.

Choose the base amount consistently

Decide whether the tip percentage applies to the pre-tax subtotal or the final total. Practices vary by location and restaurant, so follow your group’s agreement and local norms. Multiply the chosen base by the tip rate as a decimal: 18% becomes 0.18. Add the tip to the bill to find the total. If a service charge is already listed, ask whether it replaces or supplements a voluntary tip rather than adding a second amount automatically.

Split by equal shares or individual orders

An equal split works when everyone agrees to share the cost. Divide the total including tip by the number of people and round cents in a way that preserves the sum. If people ordered different amounts, enter each person’s subtotal and allocate the tip in proportion to those subtotals. This keeps someone who ordered less from paying the same amount as someone who ordered more. Account for shared appetizers separately if your group wants to divide them evenly.

Check rounding and payment methods

Card terminals may suggest a tip using different bases, and cash payments can require convenient rounding. Agree on a method before sending payments so the collected amounts add up to the receipt. If one person pays the restaurant, settle only after confirming the itemized total, taxes, discounts, and included charges. A calculator estimates shares; it cannot decide what is fair for a specific group, so show everyone the calculation.

Worked example

EXAMPLE
Subtotal: $80.00
Tip: 18% × $80 = $14.40
Total: $94.40
Four equal shares: $23.60 each

Should I calculate a tip before or after tax?

Customs vary. Choose a basis your group and local practice consider appropriate, and check whether the bill already includes a service charge.

Reference and further reading

Read the official documentation ↗