Penny-exact allocation
Split 100.00 three ways and get 33.34 / 33.33 / 33.33, with nothing left in suspense.
Penny-exact allocation, worked
Arithmetic only — not tax, accounting, legal or investment advice. Check against current rules.
How the penny-exact allocation works.
Allocation (largest-remainder, sums to the total exactly)
Quoted from the toolbelt spec, the document this tool was built against.
Where these numbers come from.
Negatives are parenthesized because that’s what a statement does. The rest is four promises.
Minor units, never floats
Amounts are integers in the currency's smallest unit, end to end. A float never touches a cent.
Rounded in the right place
Rounded where an invoice or a ledger would round, never operand by operand, so a split still sums to the whole. A tool that rounds each period says so.
Unit tested
The arithmetic lives in one unit-tested module, and the extension uses the same one.
No network
There is no request to make. What you type stays in this tab and is gone when you close it.
More in money math
- VAT / sales taxAdd tax to a net price or back it out of a gross one, and the parts still add up.
- Margin & markupMargin is profit over price; markup is profit over cost. Solve either way.
- FX conversion & gain/lossConvert at your policy rate and measure the FX gain or loss.
- NPV, IRR & XIRRNPV, payback and every IRR a series has, not just the first a solver finds.
- Effective vs nominal rateTurn a nominal rate into the effective annual rate it compounds to.
Learn what it computes
- Accounting · Lesson 14 · 12 minRevenue recognition and deferred revenueThe five steps of ASC 606 on Northwind's October: a deposit earned on delivery, and a bundle split into a kit sold today and servicing earned monthly.
- AR · Lesson 6 · 9 minCash application: matching payments to invoicesMatching Northwind's receipts to its invoices: a short pay, a lump sum with no remittance, and a card payment that arrives net of the processor's fee.
The same number, elsewhere.
A calculator answers the question once. These carry the answer into a product, name what it computed, and argue the method.
- ComponentMoneyThe core primitive. A monetary value, formatted correctly.
- ComponentCashApplicationThe highest-value screen in AR. Every case is a first-class path.
- ComponentPaymentRunBuilderShows the cash balance remaining after the run.
- TermApplicationAssigning received cash to specific invoices
- TermUnapplied cashCustomer cash received but not yet assigned to an invoice. It reduces that customer's AR; only a net credit balance is reclassified to a liability at period end
- DocNumericsThese are the rules that make Lopifi a finance system instead of a dashboard kit. The rest of the library enforces them on the consumer's behalf.
- EntryJournal entry for a customer depositWhen a customer pays a deposit, debit Cash and credit Customer deposits. On delivery, debit Customer deposits for the deposit, debit Accounts receivable for the balance, and credit Revenue for the full price.
- EntryJournal entry for a bundled contract under ASC 606For a contract with several promises, debit Accounts receivable and credit Deferred revenue for the price when billed, allocate the price to each performance obligation by relative standalone selling price, and credit Revenue for each part as that promise is satisfied.
- EntryJournal entry for issuing common stockWhen shares are issued for cash, debit Cash for the proceeds, credit Common stock for the par value of the shares, and credit Additional paid-in capital for everything above par.
- DocCurrency decimal placesHow many decimals each ISO 4217 code is stored at — JPY 0, USD 2, KWD 3.