JavaScript Tip Calculator
Type the bill and watch the gratuity, grand total, and per-person share update live. Tap a quick tip percentage, split the check any number of ways, choose whether to tip on the pre-tax or post-tax amount, and round up to a clean dollar.
🍽Real Tipping Presets
⚡Quick-Tap Tip Percent
Tapping a percentage fills the tip field and recalculates instantly. The bill field also updates the results live as you type.
📝Bill and Split Inputs
Type here and the totals refresh in real time.
Use the quick-tap buttons above or type any custom percent.
🔢How The Math Works
📊Tip Percent Quick Reference
| Bill | 10% | 15% | 18% | 20% | 25% |
|---|---|---|---|---|---|
| $10 | $1.00 | $1.50 | $1.80 | $2.00 | $2.50 |
| $20 | $2.00 | $3.00 | $3.60 | $4.00 | $5.00 |
| $35 | $3.50 | $5.25 | $6.30 | $7.00 | $8.75 |
| $50 | $5.00 | $7.50 | $9.00 | $10.00 | $12.50 |
| $80 | $8.00 | $12.00 | $14.40 | $16.00 | $20.00 |
| $120 | $12.00 | $18.00 | $21.60 | $24.00 | $30.00 |
| $200 | $20.00 | $30.00 | $36.00 | $40.00 | $50.00 |
đź§ľTip Etiquette By Service
| Service | Customary | Great Service | Notes |
|---|---|---|---|
| Sit-down restaurant | 18% to 20% | 22% to 25% | Tip on pre-tax when you can |
| Counter or coffee | 0% to 15% | 15% to 20% | A dollar or two is common |
| Food delivery | 15% to 20% | 20% plus | More in bad weather |
| Bartender | $1 to $2 per drink | 20% of tab | Or 20% of the full tab |
| Buffet | 10% | 15% | Staff still clear plates |
| Taxi or rideshare | 10% to 15% | 20% | Round up for short rides |
| Hairstylist | 15% to 20% | 25% | Tip the assistant too |
👥Split The Check Reference
| Grand Total | 2 People | 3 People | 4 People | 5 People | 6 People |
|---|---|---|---|---|---|
| $40 | $20.00 | $13.33 | $10.00 | $8.00 | $6.67 |
| $60 | $30.00 | $20.00 | $15.00 | $12.00 | $10.00 |
| $90 | $45.00 | $30.00 | $22.50 | $18.00 | $15.00 |
| $120 | $60.00 | $40.00 | $30.00 | $24.00 | $20.00 |
| $150 | $75.00 | $50.00 | $37.50 | $30.00 | $25.00 |
| $200 | $100.00 | $66.67 | $50.00 | $40.00 | $33.33 |
đź”—Round-Up Comparison Grid
| Bill | 20% Tip | Exact Total | Round Up | Added | Effective % |
|---|---|---|---|---|---|
| $23.40 | $4.68 | $28.08 | $29.00 | $0.92 | 23.9% |
| $41.75 | $8.35 | $50.10 | $51.00 | $0.90 | 22.2% |
| $52.10 | $10.42 | $62.52 | $63.00 | $0.48 | 20.9% |
| $67.30 | $13.46 | $80.76 | $81.00 | $0.24 | 20.4% |
| $88.90 | $17.78 | $106.68 | $107.00 | $0.32 | 20.4% |
| $114.55 | $22.91 | $137.46 | $138.00 | $0.54 | 20.5% |
⚙Full Formula Breakdown
đź“‹Reference Values
| Input | Common Entry | How It Is Used | Effect On Result |
|---|---|---|---|
| Bill amount | $10 to $250 | Sets the tip base | Drives every card live |
| Tip percent | 10% to 25% | Base Ă— percent / 100 | Raises tip and total |
| People | 1 to 12 | Divides the totals | Lowers per-person share |
| Tax rate | 0% to 10% | Adds tax to the bill | Raises total, may raise tip |
| Tip base mode | Pre or post tax | Chooses the base | Post-tax gives a bigger tip |
| Rounding | Up or nearest | Cleans the total | Nudges effective tip % |
đź’ˇPractical Tipping Tips
It is that point in your meal, somewhere between “just long enough” and the awkward moment when someone has to get the check. It is a moment when everyone is thinking: did I have the appetizer but only one course? And he got the salad too, so is it even fair if we split it 3-ways? It is a battle between math and social anxiety.
This is the kind of thing that makes most people pull out their phone calculators and get stuck in a debate over percentages with themselves. That awkward pause are removed here because this app updates the totals instantly as you type. This allows you to change the split or total amount without having to press anything and wait for it to reload. In other words, it lets you go back to worrying about getting home instead of wondering how many pennies to spare.
How to Use the Tipping Calculator
Determining which tip percentage to select isn’t about following strict rules, but about understanding the service environment. Eighteen to twenty percent will typically apply when someone is curating your dining experience, such as during a sit-down meal where they are actively working the table. Coffee shops and counter service environments follows a different model, using smaller percentages or tipping into jars, given that these interactions are transactional rather than personal.
In addition to a quick-tap button for each, the calculator also displays the impact of common rates (such as 10%, 15%, 18% and 25%) at a glance. Seeing results helps you visualize whether you’d like to round-up for exceptional service, or stay put at the base amount for a standard experience.
There is a reference table on the page to help you know what to expect. It breaks down tipping guidelines by common bill sizes to give you a mental benchmark before you pull out your wallet.
What’s most challenging about today’s tipping: Should you calculate your tip based off the pre-tax price or the post-tax cost? Most etiquette authorities say that since sales tax is a governmental charge rather than a service fee, you should base your tip on the subtotal before taxes gets applied. (Local custom varies, though, in certain places it’s expected to tip on the gross total; others feel it means over-paying for a governmental charge.) To reflect your preference, there’s a toggle for that option within the calculator.
Tipping pre-tax tends to keep things easier and often leads to smaller tip. This will make a big difference if you’re dining at a restaurant with high tax rates or expensive wine. That couple of bucks can mean the difference between several dollars up or down on a big meal out with friends.
Splitting the bill evenly is path of least resistance. But that’s never really what happens with wildly differing orders. If the group ordered the same amount, they can just enter the party size into the calculator to divide the total. For all other occasions, where one person went out to eat twice as much as others, splitting the bill evenly look like you’re being too nice to the big-eater, or not nice enough to the little eaters.
On these occasions, the best approach is to find out each person’s separate bill. Then, add the same tip percentage to each bill and total all individual costs together. That way everyone’s paid exactly what they should, including their appropriate portion of the gratuity. To help do this, the calculator lets you change the number of heads at a table, and watch as the price-per-head adjust accordingly in realtime.
Small decisions accumulate; one such place is rounding. Rounding to the nearest dollar makes things convenient and is also perhaps a little bonus for the server (though some may find that exact cents are more important). If you want to have the option of rounding to the nearest dollar or up, you can select this in the calculator, which will change the actual tip percentage a little bit.
If your bill is $28 and you round up to $29, then you’re tipping just under a dollar more, which moves the rate up by a tiny bit compared than the percentage you specified. It is a very small difference on its own, but it represents a deliberate decision about whether you favor precision over generosity. There’s a breakdown section to show exactly what you’re tipping above-and-beyond for rounding. No surprises!
Tipping boils down to a social contract: be transparent and contribute fairly. It’s not rocket science to pay the bill graciously; just create a system that minimizes mental effort at the moment. Visualize how different options for rounding, splitting the bill, and tax impact the bottom line. Make the decision that feels respectful towards service staff and right by your wallet.
With the live updates, you’re never committed to anything until you’re certain you want it, no more pressure to decide quickly! When the next check arrives, you’ll already know the answer, even before they ask.
You should of seen how easy this is. It could of been much harder without the app. The moddern way to tip is simple. It looks naturaly easy when you use it. Making sure you recieve every penny is important. One shouldn’t feel uncomfortably about the math.

