inyourbrowser.com

Tip calculator

Tip calculator is a calculator tool that splits a restaurant bill across any number of guests with a custom tip percentage. It supports common presets, custom rates, and an optional round-up for easier cash payment, and shows per-person and total figures. The tool runs in your browser.

Tip total: 10.80. Per person: 35.40.

Tip percentage

2
35.40per person (2 guests)
Tip per person
5.40
Total tip
10.80
Bill total
70.80
Bill per person
30.00

How to calculate a tip

  1. Enter your bill amount.
  2. Choose a tip percentage from the presets or type a custom value.
  3. Set the number of people sharing the bill.
  4. See the tip per person, total per person, and the grand total.

Common uses

  • Quickly working out the tip and total at a restaurant before the card machine arrives
  • Splitting a group meal evenly including tip, with optional rounding up for easier cash payment, or use a unit converter when comparing prices across currencies abroad
  • Calculating a tip percentage alongside a percentage calculator for other bill types

Technical specification

  • Algorithm or formula: Tip amount = bill * (tipPercent / 100). Grand total = bill + tip. Per-person share = total / guests. Round-up option applies Math.ceil() to each per-person figure.
  • Browser API or library: Pure JavaScript arithmetic; no external library.
  • Input limits: Bill 0–10,000,000. Tip percent 0–100. Guests 1–100.
  • Output: Tip amount, grand total, tip per person, and total per person. Updates instantly as you adjust any field.
  • Known limitations: Equal-split only; no per-item or per-person bill breakdown. Round-up increases the effective tip percentage slightly to balance the cash.

Frequently asked questions

What tip percentage should I leave?
Common guidelines vary by location. In the UK, 10–15% is typical for table service. In the US, 15–20% is standard with 18–20% common in most restaurants. This calculator accepts any value from 0 to 100.
How does the per-person split work?
The total bill plus tip is divided equally by the number of guests. Each person's tip share and total share are shown separately so you can see both the tip contribution and the full amount each person owes.
What does the round-up option do?
The round-up option applies Math.ceil() to each person's total, rounding up to the nearest whole number. This makes cash splitting easier and slightly increases the tip amount.
Is my data sent to a server?
All calculations run locally in your browser using JavaScript. No data is sent to our servers at any point.

Reviewed and tested May 26, 2026.