1. Home
  2. How we calculate

Methodology maths and sources

How we calculate

Our tip calculation methodology: the exact rules every calculator follows, and how we decide which tipping guidance to publish.

  • Last updated
Tip Calculation Methodology: The rules every calculator follows
Tip Calculation Methodology — the rules every calculator follows.

Tip calculation methodology: money in whole units

Amounts are stored as whole numbers of the smallest unit of the currency — cents for the dollar, pence for the pound, yen for the yen (which has no smaller unit) and fils for the Kuwaiti dinar (three decimals). This avoids the rounding errors that come from ordinary decimal arithmetic in software.

Rounding

Percentages are calculated exactly, then rounded half up to the smallest unit: 0.5 of a cent or more rounds up, less rounds down. For example, 18% of $10.25 is $1.845, which is shown as $1.85.

Splitting

When a total doesn’t divide evenly, the leftover units go to the first shares, one each. $118.00 split three ways is $39.34, $39.33 and $39.33 — the shares always add up to the exact total.

Working backwards

The reverse calculator divides the total by 1 plus the tip rate, rounds the bill, and sets the tip to the total minus the bill, so the two always add back up to what you entered.

Reading what you type

The calculators accept a decimal point or a comma. If an amount could mean two different things — “1,234” in a currency with two decimals could be 1,234 or 1.234 — we ask you to check it instead of guessing.

How we choose sources

Tipping figures come only from official tourism organisations, governments, or recognised etiquette authorities. Each guide lists its sources with the date we checked them. If no source we trust covers a service or country, we publish no figure for it. For example, U.S. figures come from the Emily Post Institute’s general tipping guide.

Testing

The calculation engine has automated tests for rounding, splitting, zero-decimal and three-decimal currencies, reverse calculations and invalid input, and each calculator page is tested in a real browser before release.