Tip = bill × (tip % ÷ 100)
Total = bill + tip
Per person = total ÷ people
The tip is calculated on the pre-tax bill in most conventions — though in India, where service charge and GST are common, many people simply tip on the final bill for simplicity.