Journal entry balancer
Paste an entry, see what it's out by, and copy the lines back out.
Journal entry balancer, worked
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
- Founder guide · 6 minBalance sheet explained for startupsAssets equal liabilities plus equity. What each startup line means, from deferred revenue to the SAFE and the accumulated deficit, and why it must balance.
- Founder guide · 6 minGeneral ledger and double-entry bookkeeping, explainedHow double entry works: journal entries, debits and credits, normal balances, running balances, the trial balance, and why posted entries are reversed.
- Founder guide · 3 minCan you vibe code your startup’s accounting?AI coding tools build a finance dashboard in an afternoon, but not a closed, reconciled, GAAP-basis ledger. Where the line is, and how to stay inside it.
Learn what it computes
- Core · Lesson 4 · 8 minThe books, in one lessonStartup books are accrual books, closed every month. Profit, operating cash and the bank balance are three different numbers, and the books show all three.
- Accounting · Lesson 5 · 12 minRecording the monthFourteen things happened to Northwind in September. Here is each one as an entry, with the reasoning behind it.
- Payroll · Lesson 7 · 9 minRecording payroll in the booksJE-11 posts $8,400 of wages against $1,692.60 withheld and $6,707.40 paid; AJE-4 adds $642.60 of employer FICA; the October deposit clears the liability.
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.
- ComponentJournalEntryDebit and credit as two columns. No signed-column variant.
- ComponentJournalEntryFormLine grid with live balance check and dimension capture.
- ComponentJournalEntryTableAll entries, with the gapless-numbering check.
- TermJournal entryA balanced set of debit and credit lines posted to the GL
- TermNormal balanceThe side that increases an account — debit for assets and expenses, credit for liabilities, equity and revenue, inverted for a contra account
- TermPostingCommitting an entry to the ledger, making it immutable
- TermDouble-entryRecording every transaction as equal debits and credits, so the ledger proves itself
- DocThe accounting modelEvery Lopifi component sits on one data model, and if the model is wrong no amount of design saves the product. This page defines it, from the journal line up to basis and materiality.
- EntryJournal entry for accrued expensesAt month-end, debit the expense and credit Accrued expenses for work received but not yet billed. Reverse the accrual on the first day of the next month, then book the vendor's bill as usual when it arrives.
- DocCurrency decimal placesHow many decimals each ISO 4217 code is stored at — JPY 0, USD 2, KWD 3.