Tip and Exact Bill Split

Calculate using the labelled inputs: Tip and Exact Bill Split.

Tip amount
15.00
Bill including tip
115.00
Base amount per person
38.33
People paying 0.01 more than the base amount
1

Calculation and assumptions

Tip=round(B·p/100); total=B+Tip; base=floor(total_minor/N); extra=total_minor mod N.

Round the tip once, half upward. Divide whole minor units so the shares sum exactly: the reported number of people pay base+0.01, everyone else pays base. Enter any already-applicable taxes in the original bill. In one chosen two-decimal currency; no taxes or current market rates are supplied.

Frequently asked questions

How is the result calculated?

Tip=round(B·p/100); total=B+Tip; base=floor(total_minor/N); extra=total_minor mod N.

What assumptions apply?

Round the tip once, half upward. Divide whole minor units so the shares sum exactly: the reported number of people pay base+0.01, everyone else pays base. Enter any already-applicable taxes in the original bill. In one chosen two-decimal currency; no taxes or current market rates are supplied.

How precise are the results?

Monetary totals use two decimal places, with exact halves rounded away from zero at the steps described. Ratios and other numbers show up to ten significant digits. Display precision does not improve input accuracy.

How much tip does each person pay?

Tip per person = tip ÷ people, and each person pays (bill + tip) ÷ people. A 120 bill with 18 % tip among 4 gives a tip of 21.60, 5.40 tip each and 35.40 per person in total; the remainder line shows cents that do not split evenly.

Can I enter any tip percentage?

Yes. Type any percentage, such as 12.5; 0 splits the bill alone. A 150 bill with 12.5 % tip among 3 gives 18.75 tip, 168.75 in total and 56.25 per person.

Is the tip worked out before or after splitting the bill?

On the whole bill: tip = bill × rate, then the total is divided by the number of people. Splitting first gives the same amounts except for cent rounding, which is why the calculator shows how many people pay 0.01 more.

How we verified this calculator

The calculator is checked against 3 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Bill before tip = 80
Entered tip rate (%) = 15
People sharing the bill = 4
Tip amount: 12.00
Bill including tip: 92.00
Base amount per person: 23.00
People paying 0.01 more than the base amount: 0
2
Bill before tip = 47.35
Entered tip rate (%) = 18
People sharing the bill = 3
Tip amount: 8.52
Bill including tip: 55.87
Base amount per person: 18.62
People paying 0.01 more than the base amount: 1
3
Bill before tip = 123.45
Entered tip rate (%) = 20
People sharing the bill = 5
Tip amount: 24.69
Bill including tip: 148.14
Base amount per person: 29.62
People paying 0.01 more than the base amount: 4

How we test our calculators →

Also try:

Back to category →