I-Calculator ye-Tip
Bala i-tip kwaye udibanise i-bill phakathi kwenani naliphi na labantu.
Iinketho ze projekti
Malunga nale Calculator
A tip calculator works out the gratuity on a bill from a percentage you choose, adds it to the total, and optionally splits the whole thing evenly between a group so everyone pays their fair share. The tip itself is simply the bill multiplied by the tip percent and divided by 100; the per-person figure is the bill plus tip divided by the number of people.
For example, on a 50 bill at 18%, the tip is 50 × 18 ÷ 100 = 9, for a total of 59. Split between two people that is 29.50 each. Turn on "round up total" under advanced options to nudge the total to a whole number, which the calculator does by adjusting the tip.
Use it at restaurants, bars, cafes and for delivery or a taxi to tip quickly and settle a shared bill without the mental arithmetic. The comparison table shows the tip and per-person cost at 15%, 18%, 20% and 25% at once, so you can pick a level and see the total instantly.
Imibuzo ebuza rhoqo
Ndimele ndinike i-tip ngantoni?
Kwi-US, 15-20% yemali ehlawulwe phambi kokuba kuhlawulwe ityala liqhelekileyo kwinkonzo yetafile. Imithetho yokunika isipho ihluka kakhulu kwilizwe ngalinye—ezindaweni ezininzi ayifanelekanga okanye sele iqulethe.
Ndiza kuyenza njani i-akhawunti ye-akhawunti nge-tip?
Yongeza icebiso kwityala, emva koko udibanise ngenani labantu. Le kalkuli isenza zombini - icwangcisa inani labantu phantsi kokhetho oluphambili.
Ndiyicebisa njani imali engaphambili okanye ekugqibeleni?
Uhlala unika inkxaso kwityala elingaphambili letyala, nangona abantu abaninzi benika inkxaso kwimali epheleleyo ukuze basebenzise. Faka nayiphi na i-akhawunti yetyala ofuna ukuyifaka njengexabiso lokuqala kwaye i-calculator inike inkxaso kuyo.
Ixabiso le-20% ye-tip lithini?
I-20% ye-tip yi-1/ 5 ye-bill: ukuphindaphinda nge-0.20, okanye uthathe i-10% uze uyiphinde. Kwi-50 bill eyinkunzi. Itheyibhile efakwe ngaphakathi ibonisa i-15%, 18%, 20% ne-25% ngaphaya ngaphaya.
Ndiyinika njani ingcebiso xa inkonzo igqibelele okanye ilahlekile?
Ukubonelela ngenkonzo elungileyo, abapheki abaninzi basebenzisa i-22-25% okanye ngaphezulu; ukubonelela ngenkonzo ephantsi, abanye bakhupha, nangona ukuthetha nomphathi kubaluleke kakhulu kunesixa esiphantsi. Nceda ubhale i-percentage ocinga ukuba ilungile kwindawo yokunika isixa.
Ingaba ukunika inkxaso kulindeleke kuwo onke amagumbi?
Hayi. E-US 15-20% yokusetyenziswa kwetafile kuqwalaselwa njengento eqhelekileyo, kodwa eninzi e-Europe nase-Asia iindleko zokusetyenziswa ziquka iindleko zokusetyenziswa kunye nokusetyenziswa okungaphezulu kwe-tip kukhethwa okanye kuncinci. Khangela iimfuno zasekhaya uze umisele i-percentage ngokuhambelana nazo.
API — sebenzisa le calculator ukusuka kwikhowudi
Nceda le khadi lemali njengendawo esemva ye-JSON ekhululekileyo - akukho qhosha lifunekayo. Thumela amaxabiso endawo ezantsi njengeparameter yombuzo okanye i-JSON. Nantoni na oyenzayo isebenzisa okungagqibekanga okufanayo eli phepha ligqityiwe ngaphambili; iparameter engaziwayo yi 400, ayikho i zero ekhululekileyo. Funda i-API epheleleyo →
Incopho yesiphelo
GET https://calculator.free/api/v1/tip/
curl
curl "https://calculator.free/api/v1/tip/?bill=50&percent=18"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/tip/?" + new URLSearchParams({
"bill": "50",
"percent": "18"
}));
const data = await r.json();
console.log(data.results);
Results are estimates for general guidance only, not financial, medical or tax advice.