How Statisticians Split a Bill

dmvaldman1 pts0 comments

TableStakes - Writings

TableStakes

2026 · June 16 ·

7 minute read

How do you split a bill? Do you each get separate checks (slow but fair)? Does everyone split evenly (slow and unfair)? Does one person treat everyone (fast but unfair)? If only there were a way that was both fast and fair! Well, turns out there is, but it requires a certain amount of faith.

Years ago I came across a fascinating article about statisticians who devised a way to split a bill that’s is both fast and fair, but based on chance. Amazingly, given the receipt, their procedure only asks for a single piece of information about the meal!

In their formulation, one person pays the bill, but that person is chosen probabilistically based on the meal. If you keep paying according to their rules, on average you will pay what you owe. And there’s no way to cheat! A helpful mental frame is that though in reality you never actually pay what you owe, you are always paying what you owe “in expectation.” That is, the chance you pay the bill is equal to your share of it. You operate calmly inside an uncollapsed platonic universe of probabilities, meanwhile violent collapse is happening all around you.

Here’s how it works. It’s quite simple, albeit counterintuitive. Imagine the bill as a pie, and each item is a wedge whose area is that item’s fraction of the total. Now, throw a dart at the pie. Whoever’s item the dart lands on pays for the meal. That’s it! The probability the dart lands on one of your items is exactly your share of the bill (your share is the area of all your wedges over the area of the pie). Notice though, we don’t need to keep record of who ordered what, we just need to ask who ordered the item the dart landed on. By choosing an item weighted by its cost, you’re encapsulating all the information you need to choose the person fairly.

Of course, it’s not that straightforward to select an item weighted by its cost in your head, so I made a web app tablestakes.cc for that. For each meal, take a picture of the receipt and the app selects an item according to the above process. Whoever ordered that item pays!

A few edge cases to consider:

What if the item selected was shared between people?

Choose the person based on how much of the shared item they had. E.g., if it was evenly shared, randomly pick the person. The way to see this is that we are now splitting the wedge the dart landed on into subwedges according to how much each sharer consumed and asking “which subwedge did the dart land on?”

What if more than one person ordered the selected item?

Randomly pick the payer from the people that ordered the item. The way to see this is to imagine that all the items were really just one item shared evenly by each person who ordered it, and you are back in the case above where the item is evenly shared.

What if you never eat with the same people again?

All that matters is how many times you play, not who you eat with. The fewer times you play, you can be lucky or unlucky, but if you play a lot, it will work out, and that’s true for everyone you eat with, too.

Analysis (optional)

That you are expected to pay what you owe is now clear, what’s less clear is just how your actual payments drift from what you owe over time.

A few questions may come to mind:

How can I measure what I actually paid vs what I owe?

How many times do I need to play before things “even out”?

Should I really use this for that fancy meal, or just that coffee with a friend?

Let’s analyze this game rigorously to get at some of these questions.

Say the $i^{\text{th}}$ bill has total $T_i$, and what you actually owe (which we don’t record) is $s_i$. You’ll pay the bill with probability $p_i = s_i/T_i$, otherwise you pay nothing. Let’s define what you actually pay, $X_i$, and your luck $L_i$ as what you owed minus what you paid:

\[\begin{align}<br>X_i = &<br>\begin{cases}<br>T_i & \text{with probability } p_i,\\[0.4em]<br>0 & \text{with probability } 1 - p_i,<br>\end{cases} \\<br>L_i = & s_i - X_i<br>\end{align}\]

Your luck $L_i$ is mean 0 and, since $s_i$ is fixed, its variance is the variance of $X_i$ which is $T_i^2 p_i (1 - p_i)$. We want to track how your luck $L_i$ aggregates over many meals $L = \sum_{i} L_i$. By the central limit theorem, your aggregate luck $L$ is approximated by a normal distribution. Since each meal is independent, the variance of this distribution is the sum of variances of each meal

\[\begin{aligned}<br>L &\sim N(0, \sigma^2) \\[0.4em]<br>\sigma^2 &= \sum_i T_i^2 p_i (1 - p_i)<br>\end{aligned}\]

The variance of your luck accumulates over time, but relative to what you owe, the error becomes negligible. Define $S = \sum_i s_i$ the sum of all you owe. A natural measure for comparing your payouts to what you should have spent is $L/S$, the percentage you are up/down versus what you owe.

\[\frac{L}{S} \sim N\left(0, \left(\frac{\sigma}{S}\right)^2\right)\]

How can I get a sense of my payouts over time vs what I owe?

Though we don’t record what you...

item bill person meal dart ordered

Related Articles