AccountingModule 2: Recording transactionsBeginner2 min read
Double-Entry Accounting: How It Works and Why
Understand double-entry accounting: why every transaction affects at least two accounts, how balanced entries catch errors, and how it compares with single-entry.
Course outline (15 lessons)
Before this lesson:Debit and Credit Explained
In this lesson · 7 sections
Double-entry accounting is the method used by virtually every business that keeps proper accounts. Its core rule is short: every transaction is recorded in at least two accounts, and total debits must equal total credits.
The idea in one sentence
Every transaction has two sides: something is received and something is given, or something increases and something else changes to match. Double entry records both.
| Transaction | What is received or increases | What is given or changes |
|---|---|---|
| Buy equipment for cash | Equipment | Cash |
| Take out a loan | Cash | A loan liability |
| Sell services on credit | A customer’s promise to pay | Revenue (owner’s equity grows) |
Why it works
Because each transaction’s debits equal its credits, and because debits and credits are defined to mirror the accounting equation, the equation can never drift out of balance. Adding up every account produces equal debit and credit totals, which is what a trial balance checks.
A compound entry
A business buys a $9,000 van, paying $2,000 in cash and financing the rest with a loan.
| Account | Debit (Dr) | Credit (Cr) |
|---|---|---|
| Vehicles | $9,000 | |
| Cash | $2,000 | |
| Loan Payable | $7,000 | |
| Total✓ Balanced | $9,000 | $9,000 |
Three accounts change. Debits ($9,000) equal credits ($2,000 + $7,000). Assets rise by $7,000 net and liabilities rise by $7,000.
Single-entry vs double-entry
Single-entry bookkeeping records each transaction once, usually as a line in a cash book: money in, money out. It is simple and can work for a very small business, but it:
- does not track assets and liabilities systematically;
- cannot produce a reliable balance sheet;
- has no built-in check for errors.
Double-entry takes a little more effort, but produces complete financial statements and a built-in arithmetic check.
What double entry catches, and what it does not
Because debits must equal credits, double entry catches one-sided errors: an amount entered on only one side, or entered as $540 on one side and $450 on the other.
It does not catch:
- a transaction left out completely;
- the right amount posted to the wrong account (for example, Rent Expense instead of Wages Expense);
- debit and credit reversed;
- the same wrong amount entered on both sides.
A short history
Double-entry bookkeeping was used by merchants in Italian city-states in the medieval period, and the method was described in print by the mathematician Luca Pacioli in 1494. The principles have barely changed since; what changed is that software now does the arithmetic.
Real-world application
Accounting software enforces double entry for you: it will refuse to save an unbalanced entry. If you build financial software yourself, enforcing that rule is your job. The double-entry engine lesson shows how to do it in code.
Recap
- Every transaction affects at least two accounts.
- Total debits always equal total credits, for each entry and for the books as a whole.
- Double entry keeps the accounting equation balanced and catches one-sided errors.
- It does not catch omissions, wrong accounts or reversed entries.
Try it yourself
Active recall
Quick check · Test yourself
Work out each answer in your head first, then reveal the explanation and mark whether you got it right.
1A business pays $1,200 for a year of insurance in advance. Record it using double entry.
Show worked answer
Debit Prepaid Insurance $1,200 (an asset increases) and credit Cash $1,200 (an asset decreases). Debits equal credits.
2Can a journal entry have three lines?
Show worked answer
Yes. A compound entry can have any number of lines, as long as total debits equal total credits.
3Name one error that double-entry bookkeeping will not catch.
Show worked answer
Any of: posting to the wrong account on the correct side, omitting a transaction entirely, recording the wrong amount on both sides, or reversing the debit and credit.
Key terms in this lesson
Lesson 5 of 15 · Accounting
Finished this lesson?
Mark it complete to track your progress through the course. Progress is saved in this browser only.
Previous lesson: Debit and Credit Explained
Connected lessons
Educational content only—not accounting, tax, legal or investment advice. See our editorial policy or report an error via our corrections policy.