Skip to content
UniKit

Bill splitter

Split a bill exactly in cents with deterministic remainders.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Bill JSON

Split result

Exact to cents

Enter bill JSON

What this tool does

  • Split a bill
  • Handle remainder cents
  • Validate duplicate names

Example

Input

{"amount":100,"people":["A","B","C"]}

Output

A: 33.34
B: 33.33
C: 33.33

Amounts are calculated in cents; remainder cents go to earlier people.

Frequently asked questions

Who gets remainder cents?

Earlier people get one extra cent.

Maximum people?

100.

Amount format?

A non-negative number with up to two decimals.

Keywords:AA分账billlocal

Related tools