Now in open beta — close the books in 2 days, not 2 weeks.Read the case study →
Accounting · April 17, 2026 · 9 min read

What is double-entry bookkeeping: explained with examples.

Double-entry bookkeeping is the 500-year-old rule that every transaction touches at least two accounts, and total debits equal total credits. It is the reason your books can balance. Here is what that actually means in plain English, with worked examples no textbook gives you.

The one rule that everything rests on.

Double-entry bookkeeping has exactly one rule: every transaction is recorded in at least two accounts, and the total debits must equal the total credits. That is it. The rule was formalized by Luca Pacioli, a Venetian friar, in 1494. It is the reason a 16th century cloth merchant could verify his books and the reason a 2026 software developer can ship an accounting product. Without the rule, errors compound silently. With the rule, errors surface the moment the trial balance refuses to add up.

The reason it is called double-entry is mechanical. When cash enters the business in exchange for goods, two things changed: cash went up, and goods went down. Both changes must be recorded. Single-entry (just write down the cash) loses half the picture and cannot self-correct. Double-entry records both halves and lets the books prove themselves arithmetically.

The accounting equation.

Everything in double-entry derives from one equation: Assets = Liabilities + Equity. The left side is what the business owns. The right side is who has claims on it. Every transaction keeps the equation in balance, because if you increase one side you must either increase the other side or decrease the same side somewhere else. Sell goods for cash: assets go up (cash) and assets go down (inventory). Take a loan: assets go up (cash) and liabilities go up (loan payable). Earn revenue: assets go up (cash or AR) and equity goes up (retained earnings via revenue).

Expand the equation to include revenue and expenses: Assets = Liabilities + Equity + Revenue - Expenses. This is what the modern P&L bridges to the balance sheet. Net profit (revenue minus expenses) flows into equity at period end. The balance sheet at March 31 equals the balance sheet at March 30 plus the net P&L of March 31. Always. By construction.

Debits and credits, the cheat sheet.

Debits and credits are not "good" or "bad". They are directions on a column. Assets and expenses increase with a debit, decrease with a credit. Liabilities, equity, and revenue increase with a credit, decrease with a debit. That is the entire memorization. Once you have it, every journal entry follows. Spend USD 500 on rent: rent expense increases (debit) and cash decreases (credit). DR Rent 500 / CR Cash 500.

A useful framing: ask "what did the business get, and what did it give up?" You got rent (an expense), you gave up cash. The thing you got is debited. The thing you gave up is credited. Sold a USD 1,000 product for cash: you got cash, you gave up inventory (and you earned revenue, which is what the customer paid for). DR Cash 1,000 / CR Sales 1,000 (revenue). Plus the cost side: DR COGS 600 / CR Inventory 600.

ACCOUNTDEBITCREDITAssets↑ increase↓ decreaseLiabilities↓ decrease↑ increaseEquity↓ decrease↑ increaseRevenue↓ decrease↑ increaseExpenses↑ increase↓ decrease
Five rows. Print it. Tape it on the wall. Every journal entry decodes from this table.

Worked example: a service business in San Francisco.

A consultant in San Francisco invoices a client USD 8,000 on April 1, 2026 for a month of work. Two accounts move. Accounts receivable goes up by USD 8,000 (asset increase, debit). Services revenue goes up by USD 8,000 (revenue increase, credit). Entry: DR AR 8,000 / CR Services Revenue 8,000. Debits 8,000, credits 8,000, balanced.

On May 5, 2026, the client pays. Two accounts move. Cash goes up by 8,000 (asset, debit). AR goes down by 8,000 (asset decrease, credit). Entry: DR Cash 8,000 / CR AR 8,000. Through both entries, total assets are unchanged (cash up, AR down), liabilities are unchanged, and equity is up 8,000 (via revenue). The accounting equation held the whole time.

Worked example: a retail purchase with VAT.

A UK retailer buys inventory from a supplier for GBP 10,000 plus 20 percent VAT. Three accounts move. Inventory goes up by 10,000 (asset, debit). VAT input tax goes up by 2,000 (asset, debit; recoverable from HMRC). Accounts payable goes up by 12,000 (liability, credit). Entry: DR Inventory 10,000 / DR VAT Input 2,000 / CR Accounts Payable 12,000. Debits total 12,000, credits total 12,000, balanced.

When the retailer sells the inventory for GBP 18,000 plus VAT to a customer, four accounts move. Cash or AR goes up by 21,600 (asset, debit). Sales revenue goes up by 18,000 (revenue, credit). VAT output tax goes up by 3,600 (liability, credit). COGS goes up by 10,000 (expense, debit). Inventory goes down by 10,000 (asset, credit). Two combined entries, all balanced. The HMRC VAT return owes 3,600 minus 2,000 = GBP 1,600.

Purchase + 20% VAT · 3 accounts moved, totals balancedDEBITCREDITInventory10,000Accounts Payable12,000VAT Input (recoverable)2,000TOTAL DR12,000TOTAL CR12,000
VAT input is an asset (recoverable from HMRC), not an expense. Mis-coding it inflates COGS by 20%.
  • Assets and expenses: debit to increase.
  • Liabilities, equity, revenue: credit to increase.
  • Every entry must balance: total DR = total CR.
  • The accounting equation always holds: A = L + E.

Why single-entry fails past a certain point.

Single-entry (a cash log) works for a freelancer with no inventory, no AR, no AP, no employees, and no tax registration. Above that floor it breaks. You cannot track who owes you what. You cannot compute COGS because there is no inventory ledger. You cannot file VAT because there is no output tax accumulator. You cannot prove the books to a bank applying for a loan or to a tax authority running an audit. The deeper you grow, the more the gaps cost.

The day you start needing two of: payables, receivables, inventory, sales tax, employees, multiple bank accounts, you should be on double-entry. Modern software hides the mechanics. You record a sale and the software writes both legs. But the mechanics are still there underneath, and they are what makes the books defensible.

How software makes double-entry effortless.

Modern accounting software enforces the rule at the database level. You cannot save an unbalanced journal entry. When you record an invoice, the software writes both legs (AR and Revenue, plus VAT if applicable). When you record a payment, it writes both legs (Cash and AR). The trial balance is always balanced by construction. The owner stops thinking about debits and credits and starts thinking about transactions.

Nonari runs every transaction through a double-entry engine with branch-scoped inventory and FBR-aware tax accounts. The journal is visible if you want to see it, hidden if you do not. The audit log is immutable. When a sales tax auditor or a bank credit officer asks how a number was derived, the trail goes from the report down to the individual journal entries down to the original invoice or receipt. That is the value of double-entry: it is auditable by design.

Frequently asked

Common questions.

Is double-entry bookkeeping required by law?

For incorporated entities (companies, LLCs) in most jurisdictions, yes. For sole traders and freelancers, often optional but recommended. Tax authorities generally accept single-entry for small businesses below specified thresholds but require double-entry once you cross revenue or VAT registration lines.

Who invented double-entry bookkeeping?

Luca Pacioli, a Franciscan friar in Venice, formalized the system in his 1494 book Summa de Arithmetica. He did not invent it from scratch; Italian merchants had used the method for over a century. Pacioli wrote it down systematically, which is why his name attaches to it.

Do I need to memorize debits and credits if I use software?

You need to recognize them, not memorize them from scratch. Software posts the correct sides automatically when you tell it the transaction type. When something looks wrong on a report, the only way to debug is to read the underlying journal entry, and that requires knowing which side increases which account.

Can double-entry catch every accounting error?

No. Double-entry catches arithmetic errors and one-sided entries. It cannot catch posting to the wrong account (debit Office Supplies when you meant Software), wrong amounts entered consistently on both sides, or transactions never recorded at all. Reconciliation and review catch those.

What is the difference between bookkeeping and accounting?

Bookkeeping is the disciplined recording of transactions using double-entry. Accounting is the interpretation: setting depreciation policy, computing tax positions, preparing financial statements, advising on structure. Bookkeeping is what happened; accounting is what it means.

Try nonari

Put your books on autopilot.

Free to start. No credit card. Bring your books, kick the tires, export everything if you decide to leave.