Tip and bill split calculator
Tip amount, total and a fair split between people where the shares add up exactly to the bill.
- Version 1
- Free, no sign-up
Example: 100 split 3 ways, no tip
| Tip amount The tip. |
0.00 exact |
|---|---|
| Total Bill plus tip. |
100.00 exact |
| Per person Total ÷ people, rounded. |
33.33 exact |
| Shares What each person pays; adds up exactly to total. |
33.34, 33.33, 33.33 |
| People paying extra How many shares carry one extra smallest unit. |
1 |
Rounding: Half even, 2 decimal places. Calculator everyday/tip@1.
How it is calculated
tip = bill × p; shares = total split into whole cents, remainder spread one cent at a timeAdds a tip and splits the total. Splitting 100.00 three ways cannot give three equal amounts in cents, so the shares are 33.34, 33.33 and 33.33: they always add up to the total exactly, and the response says how many people pay one extra cent.
- Amounts are plain numbers in any single currency; no currency conversion is done.
- The tip is calculated on the bill amount you enter (usually before tax).
References
Results follow each calculator's documented rules and the sources listed. They are not financial, tax or legal advice. Check that the rules fit your case before you rely on a result. See the terms.
Use it from your code
curl https://api.curatedapi.com/v1/calc/everyday/tip \
-H "Authorization: Bearer $CURATEDAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"bill_amount": "100",
"tip_percent": "0",
"people": 3
}'
The same call in Python
import os
import requests
payload = {
"bill_amount": "100",
"tip_percent": "0",
"people": 3,
}
response = requests.post(
"https://api.curatedapi.com/v1/calc/everyday/tip",
headers={"Authorization": f"Bearer {os.environ['CURATEDAPI_KEY']}"},
json=payload,
timeout=10,
)
print(response.json()["result"])
The same call in JavaScript
const payload = {
"bill_amount": "100",
"tip_percent": "0",
"people": 3,
};
const response = await fetch("https://api.curatedapi.com/v1/calc/everyday/tip", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CURATEDAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify(payload),
});
console.log((await response.json()).result);
MCP tool calc_everyday_tip at https://mcp.curatedapi.com.
Inputs, outputs and errors in the API reference.
Put it on your website
<div data-curatedapi-widget="everyday/tip" data-key="capi_public_…"></div>
<script src="https://widgets.curatedapi.com/v1/widget.js" async></script>
Use a public key registered for your site. Calculations are billed like API calls. How widgets work.
Related calculators
Add this calculator to your website
Paste two lines into your page and your visitors get this calculator. Each use counts as one call on your plan, the same as the API.
Free for up to 1,000 uses a month. 50,000 uses a month cost $9.00 on the Starter plan.