Tip Calculator

Never struggle with tip math again! This easy-to-use tip calculator helps you calculate the perfect tip for any service. Enter your bill amount, select or customize your tip percentage, and split the total between multiple people. Great for restaurants, delivery services, salons, and any tipping situation. Perfect for restaurant websites, food delivery apps, and hospitality businesses.

FinancialPopular

Try the Calculator

Tip Calculator
๐Ÿงพ Bill Details
 
๐Ÿ’ต Tip Amount
 
๐Ÿ‘ฅ Split the Bill
 

โšก Quick Tip Reference
15%: $12.82 | 18%: $15.39 | 20%: $17.10 | 25%: $21.38
๐Ÿ“Š Tip Breakdown
$ 17.10
20%
$ 102.60
๐Ÿ‘ค Per Person
$ 17.10
$ 102.60
Not splitting the bill
๐Ÿงพ Summary
$85.50 bill with 20% tip
Tip amounts are suggestions. Always tip based on service quality and local customs.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
export function tipCalculator(form: FormTs) {
form.addRow(row => {
row.addTextPanel('header', {
computedValue: () => 'Tip Calculator',
customStyles: { 'font-size': '1.5rem', 'font-weight': '600', 'color': '#1e293b' }
});
});
 
form.addSpacer({ height: 20 });
 
// Bill Details Section
const billSection = form.addSubform('bill', { title: '๐Ÿงพ Bill Details' });
 
billSection.addRow(row => {
row.addDecimal('billAmount', {
label: 'Bill Amount',
min: 0,
max: 100000,
defaultValue: 85.50,
placeholder: 'e.g. 85.50',
prefix: '$',
isRequired: true
}, '1fr');
row.addDropdown('taxOption', {
label: 'Calculate Tip On',
options: [
{ id: 'pre-tax', name: 'Pre-tax Amount' },
{ id: 'post-tax', name: 'Total with Tax' }
],
defaultValue: 'post-tax',
tooltip: 'Choose whether to tip on pre-tax or post-tax amount'
}, '1fr');
});
 
billSection.addRow(row => {
row.addDecimal('taxAmount', {
label: 'Tax Amount (if pre-tax)',
min: 0,
max: 10000,
defaultValue: 0,
placeholder: 'e.g. 7.50',
prefix: '$',
isVisible: () => billSection.dropdown('taxOption')?.value() === 'pre-tax',
tooltip: 'Enter tax amount to calculate tip on pre-tax total'
});
});
 
// Tip Selection Section
const tipSection = form.addSubform('tip', { title: '๐Ÿ’ต Tip Amount' });
 
tipSection.addRow(row => {
row.addRadioButton('tipPreset', {
label: 'Tip Percentage',
options: [
{ id: '15', name: '15% (Good)' },
{ id: '18', name: '18% (Great)' },
{ id: '20', name: '20% (Excellent)' },
{ id: '25', name: '25% (Outstanding)' },
{ id: 'custom', name: 'Custom' }
],
defaultValue: '20',
isRequired: true
});
});
 
tipSection.addRow(row => {
row.addDecimal('customTip', {
label: 'Custom Tip Percentage',
min: 0,
max: 100,
defaultValue: 22,
suffix: '%',
isVisible: () => tipSection.radioButton('tipPreset')?.value() === 'custom'
});
});
 
// Split Bill Section
const splitSection = form.addSubform('split', { title: '๐Ÿ‘ฅ Split the Bill' });
 
splitSection.addRow(row => {
row.addInteger('numberOfPeople', {
label: 'Number of People',
min: 1,
max: 50,
defaultValue: 1,
isRequired: true
}, '1fr');
row.addDropdown('roundOption', {
label: 'Round Total',
options: [
{ id: 'none', name: 'No Rounding' },
{ id: 'nearest', name: 'Nearest Dollar' },
{ id: 'up', name: 'Round Up' }
],
defaultValue: 'none',
tooltip: 'Round the total for easier splitting'
}, '1fr');
});
 
form.addSpacer({ height: 20, showLine: true, lineStyle: 'dashed' });
 
// Quick Reference
const quickTipSection = form.addSubform('quickTip', { title: 'โšก Quick Tip Reference', isCollapsible: true });
 
quickTipSection.addRow(row => {
row.addTextPanel('quickTips', {
computedValue: () => {
const billAmount = billSection.decimal('billAmount')?.value() || 85.50;
const taxOption = billSection.dropdown('taxOption')?.value() || 'post-tax';
const taxAmount = billSection.decimal('taxAmount')?.value() || 0;
 
const tipBase = taxOption === 'pre-tax' ? billAmount - taxAmount : billAmount;
 
const tip15 = ((Number(tipBase) || 0) * 0.15).toFixed(2);
const tip18 = ((Number(tipBase) || 0) * 0.18).toFixed(2);
const tip20 = ((Number(tipBase) || 0) * 0.20).toFixed(2);
const tip25 = ((Number(tipBase) || 0) * 0.25).toFixed(2);
 
return `15%: $${tip15} | 18%: $${tip18} | 20%: $${tip20} | 25%: $${tip25}`;
},
customStyles: { 'font-size': '0.9rem', 'color': '#475569', 'text-align': 'center' }
});
});
 
// Results Section
const resultsSection = form.addSubform('results', { title: '๐Ÿ“Š Tip Breakdown', isCollapsible: false });
 
resultsSection.addRow(row => {
row.addPriceDisplay('tipAmount', {
label: 'Tip Amount',
computedValue: () => {
const billAmount = billSection.decimal('billAmount')?.value() || 85.50;
const taxOption = billSection.dropdown('taxOption')?.value() || 'post-tax';
const taxAmount = billSection.decimal('taxAmount')?.value() || 0;
const tipPreset = tipSection.radioButton('tipPreset')?.value() || '20';
const customTip = tipSection.decimal('customTip')?.value() || 22;
 
const tipBase = taxOption === 'pre-tax' ? billAmount - taxAmount : billAmount;
const tipPercent = tipPreset === 'custom' ? customTip : parseFloat(tipPreset);
 
return Math.round(tipBase * (tipPercent / 100) * 100) / 100;
},
variant: 'success'
}, '1fr');
row.addTextPanel('tipPercentDisplay', {
label: 'Tip Percentage',
computedValue: () => {
const tipPreset = tipSection.radioButton('tipPreset')?.value() || '20';
const customTip = tipSection.decimal('customTip')?.value() || 22;
const tipPercent = tipPreset === 'custom' ? customTip : parseFloat(tipPreset);
return `${tipPercent}%`;
},
customStyles: { 'font-size': '1.5rem', 'font-weight': '600', 'text-align': 'center', 'color': '#059669' }
}, '1fr');
});
 
resultsSection.addRow(row => {
row.addPriceDisplay('totalAmount', {
label: 'Total (Bill + Tip)',
computedValue: () => {
const billAmount = billSection.decimal('billAmount')?.value() || 85.50;
const taxOption = billSection.dropdown('taxOption')?.value() || 'post-tax';
const taxAmount = billSection.decimal('taxAmount')?.value() || 0;
const tipPreset = tipSection.radioButton('tipPreset')?.value() || '20';
const customTip = tipSection.decimal('customTip')?.value() || 22;
const roundOption = splitSection.dropdown('roundOption')?.value() || 'none';
 
const tipBase = taxOption === 'pre-tax' ? billAmount - taxAmount : billAmount;
const tipPercent = tipPreset === 'custom' ? customTip : parseFloat(tipPreset);
const tipAmount = tipBase * (tipPercent / 100);
 
let total = billAmount + tipAmount;
 
if (roundOption === 'nearest') {
total = Math.round(total);
} else if (roundOption === 'up') {
total = Math.ceil(total);
}
 
return Math.round(total * 100) / 100;
},
variant: 'large'
});
});
 
// Per Person Section
const perPersonSection = form.addSubform('perPerson', { title: '๐Ÿ‘ค Per Person', isCollapsible: false });
 
perPersonSection.addRow(row => {
row.addPriceDisplay('tipPerPerson', {
label: 'Tip per Person',
computedValue: () => {
const billAmount = billSection.decimal('billAmount')?.value() || 85.50;
const taxOption = billSection.dropdown('taxOption')?.value() || 'post-tax';
const taxAmount = billSection.decimal('taxAmount')?.value() || 0;
const tipPreset = tipSection.radioButton('tipPreset')?.value() || '20';
const customTip = tipSection.decimal('customTip')?.value() || 22;
const numberOfPeople = splitSection.integer('numberOfPeople')?.value() || 1;
 
const tipBase = taxOption === 'pre-tax' ? billAmount - taxAmount : billAmount;
const tipPercent = tipPreset === 'custom' ? customTip : parseFloat(tipPreset);
const tipAmount = tipBase * (tipPercent / 100);
 
return Math.round((tipAmount / numberOfPeople) * 100) / 100;
},
variant: 'default'
}, '1fr');
row.addPriceDisplay('totalPerPerson', {
label: 'Total per Person',
computedValue: () => {
const billAmount = billSection.decimal('billAmount')?.value() || 85.50;
const taxOption = billSection.dropdown('taxOption')?.value() || 'post-tax';
const taxAmount = billSection.decimal('taxAmount')?.value() || 0;
const tipPreset = tipSection.radioButton('tipPreset')?.value() || '20';
const customTip = tipSection.decimal('customTip')?.value() || 22;
const numberOfPeople = splitSection.integer('numberOfPeople')?.value() || 1;
const roundOption = splitSection.dropdown('roundOption')?.value() || 'none';
 
const tipBase = taxOption === 'pre-tax' ? billAmount - taxAmount : billAmount;
const tipPercent = tipPreset === 'custom' ? customTip : parseFloat(tipPreset);
const tipAmount = tipBase * (tipPercent / 100);
 
let total = billAmount + tipAmount;
 
if (roundOption === 'nearest') {
total = Math.round(total);
} else if (roundOption === 'up') {
total = Math.ceil(total);
}
 
return Math.round((total / numberOfPeople) * 100) / 100;
},
variant: 'success'
}, '1fr');
});
 
perPersonSection.addRow(row => {
row.addTextPanel('splitNote', {
computedValue: () => {
const numberOfPeople = splitSection.integer('numberOfPeople')?.value() || 1;
if (numberOfPeople === 1) {
return 'Not splitting the bill';
}
return `Bill split ${numberOfPeople} ways`;
},
customStyles: { 'font-size': '0.9rem', 'color': '#64748b', 'text-align': 'center' }
});
});
 
// Summary Section
const summarySection = form.addSubform('summary', {
title: '๐Ÿงพ Summary',
isCollapsible: false,
sticky: 'bottom'
});
 
summarySection.addRow(row => {
row.addTextPanel('summaryText', {
computedValue: () => {
const billAmount = billSection.decimal('billAmount')?.value() || 85.50;
const tipPreset = tipSection.radioButton('tipPreset')?.value() || '20';
const customTip = tipSection.decimal('customTip')?.value() || 22;
const numberOfPeople = splitSection.integer('numberOfPeople')?.value() || 1;
const tipPercent = tipPreset === 'custom' ? customTip : parseFloat(tipPreset);
 
if (numberOfPeople === 1) {
return `$${(Number(billAmount) || 0).toFixed(2)} bill with ${tipPercent}% tip`;
}
return `$${(Number(billAmount) || 0).toFixed(2)} bill with ${tipPercent}% tip, split ${numberOfPeople} ways`;
},
customStyles: { 'font-size': '0.95rem', 'font-weight': '500', 'text-align': 'center', 'color': '#1e293b' }
});
});
 
summarySection.addRow(row => {
row.addTextPanel('tippingNote', {
computedValue: () => 'Tip amounts are suggestions. Always tip based on service quality and local customs.',
customStyles: { 'font-size': '0.8rem', 'color': '#64748b', 'text-align': 'center' }
});
});
 
form.configureSubmitButton({
label: 'Share Bill'
});
}
 

Frequently Asked Questions

What is the standard tip percentage?

In the US, 15-20% is standard for good service at restaurants. 18-20% is common for excellent service. For other services like delivery or salons, 15-20% is also typical.

Should I tip on the pre-tax or post-tax amount?

Traditionally, tips are calculated on the pre-tax amount, but tipping on the total including tax has become common. This calculator lets you choose either approach.

How do I split the bill fairly?

The easiest method is to divide the total (bill + tip) equally among all diners. For more complex situations, some prefer to have each person tip on their individual orders.

Can I customize this calculator?

Yes. You can adjust default tip percentages, add your branding, and embed it on your restaurant or hospitality website to help customers calculate tips easily.

What tip percentages should I use for different services?

Restaurants: 15-20%, Delivery: 15-20% or $2-5 minimum, Hair salon: 15-20%, Taxi/Rideshare: 15-20%, Hotel housekeeping: $2-5 per night.