Home › Finance › Tip Calculator
Tip Calculator
Computes the tip from a bill amount and tip percentage, the total including tip, and the per-person share when the bill is split evenly.
When to use
You need to add a gratuity to a restaurant, delivery or service bill and optionally divide the total among several people.
Do not use when: People pay for different items or unequal shares (use bill-split), or you need to add sales tax rather than a tip (use sales-tax).
Formula
tip_amount = bill_amount × tip_percent / 100; total_amount = bill_amount + tip_amount; per person = value / split_between
Inputs
| Parameter | Type | Unit | Required | Description |
|---|---|---|---|---|
bill_amount | number | yes | Amount on the bill before tip (pre- or post-tax, as you prefer to tip). Range: ≥ 0, ≤ 10000000 | |
tip_percent | number | % | default 15 | Gratuity as a percent of bill_amount. US restaurant custom is 15–20 %. Range: ≥ 0, ≤ 100 |
split_between | integer | default 1 | How many people share the bill equally. Range: ≥ 1, ≤ 1000 |
Outputs
| Output | Type | Unit | Description |
|---|---|---|---|
tip_amount | number | bill_amount × tip_percent / 100. | |
total_amount | number | bill_amount + tip_amount. | |
total_per_person | number | total_amount / split_between. | |
tip_per_person | number | tip_amount / split_between. | |
bill_per_person | number | bill_amount / split_between. |
Example
85.50 bill, 18 % tip, 3 people: {"bill_amount":85.5,"tip_percent":18,"split_between":3} → {"tip_amount":15.39,"total_amount":100.89,"total_per_person":33.63,"tip_per_person":5.13,"bill_per_person":28.5}
42.00 bill, 20 % tip: {"bill_amount":42,"tip_percent":20} → {"tip_amount":8.4,"total_amount":50.4,"total_per_person":50.4}
GET https://tttkmbb.com/api/v1/calculate/tip?bill_amount=85.5&tip_percent=18&split_between=3
Machine access
- API:
GET https://tttkmbb.com/api/v1/calculate/tip(query parameters) orPOSTwith a JSON body{"inputs": {...}} - Schema: https://tttkmbb.com/api/v1/calculators/tip · Markdown: https://tttkmbb.com/finance/tip.md · JSON definition: https://tttkmbb.com/finance/tip.json
- MCP: server
https://tttkmbb.com/mcp, toolcalculate_tip - OpenAPI operationId:
calculate_tip - Freshness:
static. Authentication: none. Rate limit: fair use (see rate limits).
Sources
- Wikipedia – Gratuity (tipping customs by country) (reference)
- Wikipedia – Percentage (reference)
FAQ
Should I tip on the pre-tax or post-tax amount?
Custom in the US is to tip on the pre-tax subtotal, though many people tip on the total; enter whichever amount you want the percentage applied to.
What are typical percentages?
US sit-down restaurants 15–20 %, exceptional service 20–25 %, counter service 0–10 %. In many countries (Japan, much of Europe) service is included and tipping is small or absent.
Related calculators
- Bill Split Calculator — Divide a bill unevenly or itemise it among people.
- Sales Tax Calculator — Add sales tax to a price.