GenerateRandomSearch

Bill Split Calculator

Three people and a ten pound bill is £3.3333… each, and every obvious way of handling that is wrong. Round each share down and you are a penny short; round up and you have invented one. It is a small enough error that nobody notices until the card is declined. This works in whole pennies, so the shares always add back up to the bill — and it is explicit about who takes the penny that cannot be divided, because that is a real question rather than a rounding detail.

What this generator does

Divides an amount between any number of people so that the shares sum to the total exactly. All arithmetic is in whole pennies rather than decimals, which is what makes that guarantee possible: the base share is integer division, and the pennies left over — always fewer than there are people — are handed out one each according to the rule you choose. It also adds a tip or service percentage first, and shows the arithmetic rather than a single figure you have to trust.

How to use this tool

  1. Enter the total.
  2. Add a tip or service percentage if there is one.
  3. List who is splitting it, one name per line.
  4. Choose what happens to the indivisible penny, then press Split it.

Understanding the controls

Total amount
The bill before any tip added below. Typed the way you would say it — 42.50, £42.50 and 1,234.56 are all read correctly, and anything that is not an amount is refused rather than guessed at.
Tip or service (%)
Added to the total before splitting, rounded to the nearest penny as a bill would. Shown separately in the result so the two steps are visible rather than folded into one number.
Who is splitting it
One name per line. The names are only used to label the shares and never leave your browser.
The penny that will not divide
Spread puts the extra pennies on the largest shares first, which is the convention accounting software uses and is fully repeatable. Draw for it assigns them at random, which is the fairest option for a group that splits bills often — no rule that quietly always favours the same person. Or the first name on the list absorbs it, which is what most groups actually do.

Worked examples

£10.00 between three
£3.33, £3.33 and £3.34 — the parts sum to exactly £10.00.
£9.00 between three
£3.00 each. It divided exactly, and the tool says so.
With 12.5% service
£45.67 becomes £51.38, then splits from there.
What is never shown
Three shares of £3.33 totalling £9.99 against a £10.00 bill.

Common use cases

  • Splitting a restaurant bill where the total will not divide evenly
  • Sharing a cost between housemates without anyone being quietly short-changed
  • Working out a per-person figure that actually sums to the invoice
  • Adding service to a bill and splitting the result in one step
  • Settling a group cost where the same people split things regularly

How this generator works

The amount is converted to whole pennies immediately and never leaves that form, because floating-point decimals cannot represent money reliably — 0.1 plus 0.2 is famously not 0.3, and a bill splitter built on that will sometimes be a penny out with no pattern to it. Each person's base share is the total multiplied by their weight and divided by the total weight, rounded down. Rounding down always under-allocates, which is deliberate: it means the leftover is a small positive number of pennies, strictly fewer than there are people, so at most one extra penny goes to anybody. Those are then distributed by the rule you chose. Because the shares are constructed as 'base plus leftover' rather than 'rounded value', the sum equals the total by construction rather than by luck — a property the test suite checks across every total from zero to five pounds, for one to nine people, under all three rules.

Randomness and fairness

The arithmetic is entirely deterministic — the same bill and the same people always produce the same shares. Randomness appears in exactly one place, and only if you choose it: deciding who absorbs the indivisible pennies, drawn with the browser's cryptographic random number generator. Under the other two rules nothing is random at all.

For how randomness is produced across the whole site, see how Generate Random works.

Assumptions this tool makes

  • Amounts are in a currency with 100 minor units to the major unit.
  • A tip percentage applies to the whole bill rather than to individual items.

Limitations and good to know

  • It splits one amount between people. Working out who already paid what and who now owes whom is a different job — this gives you the per-person figure, not a settlement plan.
  • Shares can be weighted, but the weights are yours to decide. The tool cannot know that one person had a starter and another did not.
  • It assumes a single currency and two decimal places. Currencies with different minor units, or none at all, are not handled.
  • Perfectly equal shares are impossible when the amount does not divide, and no rule changes that. Fair here means nobody is systematically disadvantaged, not that everybody pays an identical amount.
  • The random rule is fair over many bills, not within one. On any single split somebody does pay the extra penny.

Common mistakes

Rounding each share yourself
That is the thing this exists to avoid. Rounding each share independently either loses or invents pennies, and which one it does depends on the number in a way that is hard to predict.
Adding the tip after splitting
Split the tipped total instead. Adding a percentage to each rounded share reintroduces exactly the rounding problem, and the shares stop summing to what the restaurant is charging.
Assuming the random rule makes a single split equal
It does not, and cannot. It makes the disadvantage land unpredictably rather than always on the same person, which is the only kind of fairness available when a penny will not divide.

Practical tips

  • For a group that eats together often, use the random rule. Over a year the extra pennies even out, which no fixed rule achieves.
  • Add service before splitting rather than after — it is both the correct order and one fewer thing to argue about.
  • If one person genuinely had much more, give them a heavier weight rather than fudging the total.

Troubleshooting

The shares are not all the same
Then the amount did not divide evenly, and no split can make them identical. The difference is never more than a penny, and the tool marks who took it.
It will not accept my amount
It takes digits with at most two decimal places, optionally with a currency symbol or thousands separators. Something like 10.567 is refused rather than silently rounded, because silently rounding the input is how the total stops matching the bill.

Privacy and your data

The amount and the names never leave your browser. Nothing is uploaded, nothing is stored, and nothing is written into the page address — which matters here because a bill and a list of names together say quite a lot about an evening. Analytics records only that the tool ran and how many people were splitting, never the amount or the names.

Frequently asked questions

Why does the odd penny matter?
Because a split whose parts do not sum to the bill is worse than no tool at all. The error is a penny — small enough that nobody checks, and large enough that the last card gets declined or one person is quietly out of pocket every time. Handling it explicitly is the whole point.
Which rule should I use?
For a one-off, it genuinely does not matter — it is a penny. For a group that splits bills regularly, use the random draw: a fixed rule like 'largest share' or 'first person' will quietly land on the same people every time, and over a hundred bills that stops being nothing.
Can it handle people who had different things?
Partly. You can give someone a heavier weight so they pay a proportionally larger share, and the result still sums exactly. What it does not do is take an itemised bill and work out who ordered what — that is a different tool with a different input.
Is this financial advice?
No, and it is not trying to be. It is arithmetic: dividing one number into parts that add back up to it. Nothing here has an opinion about what you should spend or how you should manage money.