# Penny-exact allocation

> Split 100.00 three ways and get 33.34 / 33.33 / 33.33 — never a cent left in suspense.

Source: https://lopifi.com/tools/allocate
Part of: Lopifi — US GAAP books on autopilot, reviewed by a CPA (https://lopifi.com)

---

- **Group:** Money

## Inputs

- `total` — Total to allocate
- `ways` — Equal ways
- `weights` — Or weights, one per line
- `currency` — Currency (ISO 4217 code — sets the decimals: JPY 0, USD 2, KWD 3.)

Runs entirely in the browser: no network call, no data leaves the page. The same definition powers the Lopifi Tools Chrome extension.
