Home › Everyday Life › Bill Split Calculator
Bill Split Calculator
Adds an optional tip percentage to a bill and divides the total equally among a number of people, reporting the tip, the total and each person's share.
When to use
A restaurant bill, taxi fare or shared purchase must be divided equally among several people, with or without a tip.
Do not use when: Shares are unequal (itemised bills), you only need the tip amount for one payer (use tip), or the cost is a trip's fuel (use fuel-cost).
Formula
tip_amount = total_bill × tip_percent / 100; total_with_tip = total_bill + tip_amount; per_person = total_with_tip / people
Inputs
| Parameter | Type | Unit | Required | Description |
|---|---|---|---|---|
total_bill | number | yes | Bill total before tip, in your currency. Range: ≥ 0, ≤ 100000000 | |
people | integer | yes | How many people share the bill equally. Range: ≥ 1, ≤ 1000 | |
tip_percent | number | % | default 0 | Tip as a percentage of the bill (15 means 15 %). Range: ≥ 0, ≤ 100 |
Outputs
| Output | Type | Unit | Description |
|---|---|---|---|
tip_amount | number | total_bill × tip_percent / 100. | |
total_with_tip | number | total_bill + tip_amount. | |
per_person | number | total_with_tip / people. | |
bill_per_person | number | total_bill / people. | |
tip_per_person | number | tip_amount / people. |
Example
120 bill, 4 people, 15 % tip: {"total_bill":120,"people":4,"tip_percent":15} → {"tip_amount":18,"total_with_tip":138,"per_person":34.5,"bill_per_person":30,"tip_per_person":4.5}
87.50 bill, 3 people, no tip: {"total_bill":87.5,"people":3} → {"tip_amount":0,"total_with_tip":87.5,"per_person":29.17,"bill_per_person":29.17,"tip_per_person":0}
GET https://tttkmbb.com/api/v1/calculate/bill-split?total_bill=120&people=4&tip_percent=15
Machine access
- API:
GET https://tttkmbb.com/api/v1/calculate/bill-split(query parameters) orPOSTwith a JSON body{"inputs": {...}} - Schema: https://tttkmbb.com/api/v1/calculators/bill-split · Markdown: https://tttkmbb.com/everyday/bill-split.md · JSON definition: https://tttkmbb.com/everyday/bill-split.json
- MCP: server
https://tttkmbb.com/mcp, toolrun_calculator with calculator_id="bill-split" - OpenAPI operationId:
calculate_bill_split - Freshness:
static. Authentication: none. Rate limit: fair use (see rate limits).
Sources
FAQ
Should the tip be calculated before or after sales tax?
Customs vary; in the US the tip is commonly computed on the pre-tax amount. Enter whichever base you want as total_bill.
The per-person amount does not multiply back exactly to the total.
Shares are rounded to 2 decimals; a difference of a few cents is rounding and one person can cover it.
Related calculators
- Tip Calculator — Tip amount and total for a single payer.
- Fuel Cost Calculator — Share a trip's fuel cost between passengers.