Tip Calculator
tip_calculatorWork out the tip and split the bill into amounts people can actually pay. A HelpySelf tool (helpyself.com).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bill | Yes | The amount on the bill before any tip, in whatever currency you use. Tax it already contains is handled by taxRate. | |
| people | Yes | How many ways to split the total. 1 means no split. | |
| roundTo | No | Round each person's share up to this step in the bill's currency: 1 for whole units, 0.5 for halves. 0 or omitted keeps the exact share. Always up, never down. | |
| taxRate | No | Sales tax already included in bill, as a percentage. It is taken off before the tip is worked out, so the tip is on the pre-tax amount. 0 or omitted tips on the whole bill, which is the norm outside the US. | |
| tipPercent | Yes | The tip as a percentage of the bill, or of the pre-tax amount when taxRate is set: 15 means 15%. |