Skip to content
Keyboard shortcuts
Esc
Everywhere
Search the site
⌘K
Search the site
/
Show these shortcuts
?
Close what is open
Esc
Talk to us

Journal entry balancer

Paste an entry, see what it's out by, and copy the lines back out.

Journal entry balancer, worked

Loading the tool…

Arithmetic only — not tax, accounting, legal or investment advice. Check against current rules.

How the journal entry balancer works.

Journal entry balancer: paste or key lines, see the debit/credit totals, the out-of-balance, and copy an import-ready CSV.

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 the ledger itself

Read it in context

Learn what it computes

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.