Skip to content
Bookkeeping & Accounting

Double-Entry Bookkeeping: How It Works, With a Worked Example

AL
Written by Antti Laitinen
8 min read
Double-Entry Bookkeeping: How It Works, With a Worked Example

Double-entry bookkeeping is the system of recording every business transaction in at least two accounts: a debit in one and an equal credit in another. Because both sides of every entry are equal, the books stay in balance, and the accounting equation (assets = liabilities + equity) holds after every transaction. It is the system behind every balance sheet, and the one accounting software runs on. Below is a new bakery's first week recorded both ways, single entry and double entry, so you can see what the second entry buys you.

The IRS describes both systems in its bookkeeping guide and puts the difference plainly: single entry "is the simplest to maintain," but "you may find the double-entry system better because it has built-in checks and balances to assure accuracy and control" (IRS Publication 583).

What Is Double-Entry Bookkeeping?

Every transaction moves value from somewhere to somewhere. When a bakery buys flour with cash, it has more flour and less cash. Double-entry bookkeeping writes down both halves: the account that received value is debited, and the account that gave it up is credited, for the same amount.

Publication 583 sums up the mechanic: the system "is self-balancing because you record every transaction as a debit entry in one account and as a credit entry in another," and so "the total debits must equal the total credits after you post the journal entries to the ledger accounts." If they do not, there is an error to find.

Three ideas carry the whole system:

  • Every entry has two sides that are equal. A transaction can touch three or more accounts, but the debits and the credits add up to the same total.
  • Every account has a normal side. Assets and expenses grow with debits. Liabilities, equity and income grow with credits. Debits and credits covers the rules for all five account types.
  • The accounts are listed in a chart of accounts. Each transaction is posted to accounts from your chart of accounts, and the general ledger holds every account's running balance.

A Worked Example: A Bakery's First Week

Maple Street Bakery opens on a Monday. Here are its first five transactions as double entries, with the accounting equation after each one.

#TransactionDebitCreditAssetsLiabilitiesEquity
1Owner puts in $5,000Cash $5,000Owner's capital $5,000$5,000$0$5,000
2Buys an oven for $2,400 on the business cardEquipment $2,400Credit card $2,400$7,400$2,400$5,000
3Pays $300 cash for flour and butterIngredients $300Cash $300$7,100$2,400$4,700
4Sells $1,150 of bread and pastriesCash $1,150Sales $1,150$8,250$2,400$5,850
5Pays $1,000 off the cardCredit card $1,000Cash $1,000$7,250$1,400$5,850

Assets equal liabilities plus equity on every row. The ingredients and the sales change equity because expenses reduce profit and income increases it; at the end of the year those accounts close into the owner's capital.

At the end of the week, the bakery's trial balance lists each account's balance:

AccountDebitCredit
Cash$4,850
Equipment$2,400
Ingredients$300
Credit card$1,400
Owner's capital$5,000
Sales$1,150
Totals$7,550$7,550

The two columns agree. From these balances the bakery can build both a profit and loss statement (sales of $1,150 less ingredients of $300, a profit of $850) and a balance sheet (cash and an oven, a card balance, and the owner's capital).

Single-Entry vs Double-Entry Bookkeeping

Single-entry books record each transaction once, usually as a line in a cash book or spreadsheet. Publication 583 says a single-entry system "is based on the income statement" and "can be a simple and practical system if you are starting a small business." Here is the same week as a single-entry cash book:

DateDescriptionMoney inMoney outCategory
MonOwner's money$5,000Capital
TueFlour and butter$300Ingredients
ThuSales$1,150Sales
FriCard payment$1,000?

Two things went missing. The oven bought on the card is not in the cash book at all, because no cash moved that day. And the Friday card payment has no clear category: it is not an expense, but the book has nowhere else to put it. Single-entry books track income and spending well. They do not track what the business owns and owes.

Single entryDouble entry
Records each transactionOnceTwice, as a debit and an equal credit
Profit and lossYesYes
Balance sheetNoYes
Tracks loans, card balances, equipment, unpaid invoicesNot reliablyYes
Built-in error checkNoDebits must equal credits
Good fit forA sole proprietor with few transactions, all paid at onceAny business with debt, equipment, staff, unpaid bills or invoices, or an accountant

What the Error Check Catches, and What It Misses

Because debits must equal credits, double entry catches arithmetic and one-sided mistakes: a payment entered on only one side, an amount typed as $1,150 on one side and $1,510 on the other, a debit posted as a credit. The trial balance will not tie until they are fixed.

It does not catch a transaction left out of the books entirely, or one recorded in full on both sides but to the wrong account, such as a client lunch posted as software. Those still balance. What a balanced trial balance does not catch lists the error types and how to find them.

Do You Need Double-Entry Bookkeeping?

The IRS does not require it. Publication 583 says that "except in a few cases, the law does not require any specific kind of records," and that "you can choose any recordkeeping system suited to your business that clearly shows your income and expenses." A sole proprietor filing Schedule C is not asked for a balance sheet at all.

Double entry starts to pay off when any of these is true:

  • you buy equipment, take a loan or carry a credit card balance;
  • customers pay on invoice, or you pay suppliers on terms, so you have accounts receivable or accounts payable;
  • you need a balance sheet for a bank, an investor or a partner;
  • you run a partnership or a corporation, whose returns ask for a balance sheet on Schedule L, with an exception for smaller ones;
  • an accountant prepares your year-end, and you want to hand over books they can use without rebuilding them.

The trade-off used to be the time it takes to write two sides for everything. Software removed most of that: you record the receipt or the bank line, and the software writes the debit and the credit.

Where SparkReceipt Fits

The SparkReceipt Ledger is a double-entry ledger built from the records you already keep. Each receipt, invoice, bank line and expense claim becomes a balanced journal entry on its own, on the right account from your chart of accounts and with its tax split out. The bakery's flour receipt would become the debit to ingredients and the credit to the card or bank account that paid it, with the receipt attached.

The SparkReceipt Ledger overview: setup steps done, each month's result and what it still waits on, items booked twice or missing, and the latest change sets

The Ledger keeps the books on the accrual basis and the cash basis side by side, builds the trial balance, balance sheet and profit and loss from the entries, and checks every day for costs booked twice or payments with no document. Bank lines with no document behind them are booked too, and they wait for you to confirm: an owner's investment or draw goes to the owner's accounts, and a loan payment is split between the loan and its interest once the loan is on the Loans page. Anything else that no document or bank line produces goes in as a manual journal entry. If you already keep the books in QuickBooks Online or Xero, SparkReceipt can publish the categorized documents there instead.

Double-entry bookkeeping FAQ

Every transaction is written down twice: as a debit in one account and an equal credit in another. Because both sides are equal, total debits equal total credits, which gives the books a built-in error check.

Single entry records each transaction once, usually in a cash book, and gives you income and expenses. Double entry records it in two accounts, which also tracks what the business owns and owes, so you get a balance sheet and an arithmetic check that the books are complete.

No. The IRS lets you use any recordkeeping system that clearly shows your income and expenses, and its bookkeeping guide describes single entry as a practical system for a small business that is starting out. Partnerships and corporations report a balance sheet on their returns, which in practice needs double-entry books.

Every transaction affects at least two accounts; total debits equal total credits in every entry; and each account type has a normal side, with assets and expenses increased by debits and liabilities, equity and income increased by credits.

No. Double entry is how transactions are recorded. Accrual and cash are about when income and expenses are recorded. Double-entry books can be kept on either basis, and many small businesses keep both views.

Yes, with a journal sheet where each entry has a debit and a credit line and a ledger sheet that sums each account. It works for a few transactions a month. As volume grows, mistakes in formulas and missed entries become harder to spot than in software that enforces the balance.

Key takeaways

  • Double-entry bookkeeping records every transaction as a debit in one account and an equal credit in another.
  • The accounting equation stays balanced after every entry, and the trial balance proves debits equal credits.
  • Single-entry books show income and spending; double-entry books also show assets, debts and equity, and give you a balance sheet.
  • The IRS does not require double entry, but loans, equipment, unpaid invoices and bills make it the practical choice.
  • Accounting software writes both sides for you from the receipt, invoice or bank line.
Get Started