How to Calculate a Tip
Dev Nexus4 min read
Learn the one tip formula plus quick mental-math shortcuts for 10%, 15%, 18% and 20%, with worked examples you can verify instantly.
The check arrives, and suddenly you are doing percentage maths in your head while everyone waits. Tipping should be simple, but an odd bill total and a rate like undefined% can turn a quick calculation into an awkward pause.
The good news is that every tip comes down to one short formula and a couple of mental-math shortcuts. This guide walks through both, with worked examples you can follow, so you can work out any tip in seconds - or check your answer instantly.
The Problem
A tip is just a percentage of the bill, but percentages under pressure trip people up. You misplace a decimal, round the wrong way, or freeze on what undefined% of $undefined.undefined actually is.
Get it wrong and you either short the server or quietly overpay. The maths is not hard - the difficulty is doing it quickly, correctly, and while holding a conversation. A repeatable method fixes that.
The Solution
The formula is one line: tip = bill x (percent / 100). Convert the percentage to a decimal - undefined% becomes 0.20 - then multiply by the bill. The total is simply bill + tip.
Once you know the formula, mental shortcuts make it effortless. Finding undefined% is just moving the decimal one place left, and every other common rate builds from there. When you would rather not do it by hand at all, the Tip Calculator applies the formula and shows the tip and total instantly, right in your browser.
Step-by-Step Guide
- 1
Turn the tip percent into a decimal
Divide the rate by undefined, or move the decimal two places left. So
15%becomes0.15,18%becomes0.18, and20%becomes0.20. This one step is the foundation of every tip calculation. - 2
Multiply the bill by that decimal
That gives the tip. For a $undefined bill at undefined%:
50 x 0.20 = 10, so the tip is $undefined. For a $undefined bill at undefined%:60 x 0.15 = 9, so the tip is $undefined. The maths is the same whatever the rate. - 3
Use the 10% shortcut for mental math
Find undefined% by moving the decimal one place left: undefined% of $undefined is
$4.60. From there, undefined% is double that ($9.20), undefined% is undefined% plus half of undefined% ($4.60 + $2.30 = $6.90), and undefined% is half of undefined%. Building from undefined% handles almost any rate in your head. - 4
Add the tip to get the total
The grand total is
bill + tip. On a $undefined bill with a $undefined tip, you pay$60. If you are paying by card, this is the figure to write on the total line. - 5
Sanity-check the result
A undefined% tip should be about a fifth of the bill; undefined% should be a bit under a sixth. If your tip is close to half the bill, you slipped a decimal. A quick gut check catches most errors before you pay.
Common Mistakes
Forgetting to convert the percent
Multiplying
50 x 20instead of50 x 0.20gives $undefined, not $undefined. Always turn the percentage into a decimal first, or divide by undefined at the end - never both, and never neither.Tipping on the post-tax total by accident
Tax inflates the number your percentage lands on. Many people tip on the pre-tax subtotal so the tip reflects the food and service alone. Decide which you mean and use that figure consistently.
Rounding too early
Rounding undefined% of $undefined.undefined to "about $undefined" before you finish can leave you a dollar off. Do the full calculation, then round the final tip to something tidy if you want.
Double-tipping over a service charge
Some bills - often for larger groups - already include a gratuity or service charge. Adding a full tip on top means paying twice. Scan the check before you calculate.
Frequently Asked Questions
What is the formula for a tip?
Multiply the bill by the tip percentage written as a decimal: tip = bill x (percent / 100). For a $50 bill at 20%, that is 50 x 0.20 = $10, and the total is $60.
How do I quickly work out a 20% tip?
Find 10% by moving the decimal one place left, then double it. For a $45 bill, 10% is $4.50, so 20% is $9. It is the fastest mental shortcut for the most common rate.
How do I calculate a 15% tip in my head?
Take 10% of the bill, then add half of that. For a $60 bill, 10% is $6 and half is $3, so 15% is $9.
Should I tip on the pre-tax or post-tax amount?
Both are common, but many people tip on the pre-tax subtotal so the tip is based on the food and service rather than the tax. Use whichever amount matches your intent.
Is there an easier way than doing the maths?
Yes. An online tip calculator applies the formula for you and shows the tip and total instantly, running entirely in your browser so nothing you enter is uploaded.
Try the Tool
Tip Calculator
Skip the mental maths - get the tip and total instantly, privately, in your browser.
Related Tools
Related Articles
How to Split a Bill with Tip
Split any restaurant bill plus tip evenly among your group with one clear formula, worked examples, and rounding tips that actually add up.
Read articleAre UUIDs Really Unique?
In practice UUIDs never collide - here is the math behind why, and the one thing people get wrong: a UUID is an identifier, not a secret.
Read articleencodeURI vs encodeURIComponent Explained
The clear difference between encodeURI and encodeURIComponent, with examples showing which one to use for a value versus a whole URL.
Read article