Field guide · Plate XII
Why your split is off by a cent, and where the cent goes
Why three friends cannot always split a bill evenly, and where the cent goes.
A model checker tried every path: 18 states, 18 steps.
- Gold thread: the usual way
- Red thread: where money slips
- Grey line: any other step
What can happen next?
Map complete
A model checker tried every path: 18 states, 18 steps.
Read this map as text
- Bill added
- you split $2,400 4 ways Shares add up (Gold thread: the usual way)
- you split $2,400 4 ways, rounding each share down [it does not divide evenly] Shares come up short
- Shares add up
- everyone pays back $600 All square (Gold thread: the usual way)
- Shares come up short
- everyone pays back $600 Everyone paid, a few cents are missing
- All square
- Everyone paid, a few cents are missing
Bill added
Shares add up
Shares come up short
All square
Everyone paid, a few cents are missing
The shares always add up to the bill
you split $2,400 4 ways
you split $2,400 4 ways, rounding each share down [it does not divide evenly]
everyone pays back $600
everyone pays back $600
To get here:In plain words
Money is counted in whole cents. A bill of $2,400 split 4 ways comes out evenly, but many bills do not, and the cents left over need a home.
The cheap fix is to round each share down. Then the shares add up to a little less than the bill and someone is out of pocket. The red path on the map is exactly that.
The better fix is to hand the leftover cents out one at a time, in a fixed order. Every share is a whole number of cents, and the shares add back to the exact total, every time.
Do the numbers
The same idea with your own figures. Nothing leaves your device.
Each person pays
- Bill
- 100.00
- Total
- 100.00
This starts a new group with your names and currency filled in. Costs are not carried over, so you add them in the group.
What TLC checked
A model checker called TLC tried every path through this chart. Here is what it found.
Rules that can break
- The shares always add up to the billfound in 1 step
The red thread on the chart shows the way it goes wrong.
Rounding in Sikkio
Sikkio counts every amount in whole cents, or the smallest unit of your currency, and hands leftover cents out in a fixed order, so every split adds back to the exact total.
Try it in the appSikkio
Where this is now
- Bill added
- you split $2,400 4 waysShares add upYou are here
- What can happen nexteveryone pays back $600All square
Common questions
Questions
Why do I get $33.33 three times from my calculator?
Because 33.33 is the nearest cent to a third of $100.00, and three of them make $99.99. The missing cent has to be given to someone, which is what the leftover rule does.
Is it fair that the first person pays more?
The difference is one cent per cost, and the rule is the same for everyone. If your group wants to be fussy about it, take turns or agree a different order.
Does the app ever lose a cent?
No. Each cost is split into whole cents that add up exactly to the amount, and balances are built only from those exact amounts.
How is the tip rounded?
To the nearest cent on the pre-tax amount, with half a cent rounding up. The tax is rounded the same way. The total is then divided.