Double-Entry Bookkeeping: Debits and Credits Explained
Double-entry bookkeeping is the system almost every business uses to keep its books. The idea is simple: every transaction is recorded in at least two accounts, once as a debit and once as a credit, and the two sides are always equal. That one rule is what lets the books check themselves and produce a balance sheet and a profit and loss statement that agree with each other.
The accounting equation
Everything in double entry rests on one equation:
Assets = Liabilities + Equity
- Assets are what the business owns or is owed: cash, money customers owe you (accounts receivable), inventory, equipment.
- Liabilities are what the business owes to others: bills from suppliers (accounts payable), loans, taxes collected but not yet paid over.
- Equity is the owner's stake: money the owner put in, plus profits kept in the business, minus losses and money the owner took out.
Revenue and expenses are part of equity. Revenue increases it and expenses reduce it, which is why profit shows up as growth in the owner's stake. A transaction can never change one side of the equation without a matching change somewhere else, and double entry is just the bookkeeping that records both halves.
What debit and credit actually mean
Debit and credit do not mean "good" and "bad", or "money in" and "money out". They mean left side and right side of an account. Whether a debit increases or decreases an account depends on the type of account:
| Account type | A debit | A credit | Normal balance |
|---|---|---|---|
| Assets | Increases | Decreases | Debit |
| Expenses | Increases | Decreases | Debit |
| Liabilities | Decreases | Increases | Credit |
| Equity | Decreases | Increases | Credit |
| Revenue | Decreases | Increases | Credit |
A common memory aid is that assets and expenses sit on the left (debit) side, and liabilities, equity and revenue sit on the right (credit) side. Owner withdrawals (drawings) are a reduction of equity, so they also carry a debit balance.
One thing that confuses beginners: your bank statement says "credit" when money comes into your account. That is the bank's view. Your deposit is a liability for the bank (it owes you the money), so the bank credits it. In your own books, cash coming in is an asset increasing, so you debit cash.
Why every debit needs a matching credit
Because the equation must always hold, a change on one side has to be matched. If the business receives cash, something else changed too: a customer paid a bill (receivable down), the owner invested (equity up), the business borrowed (liability up) or it made a sale (revenue up). Recording only the cash would leave the equation out of balance. Recording both sides keeps it true after every single entry.
This also gives you a built-in error check. If total debits do not equal total credits when you list every account balance (a trial balance), something was entered wrongly. Balanced totals do not prove the books are right, though. A transaction posted to the wrong account, or left out entirely, can still balance.
Worked example: six transactions
Example: a new consulting business makes these transactions in its first month. All figures are illustrative.
- The owner puts $10,000 into the business bank account.
- The business buys a computer and equipment for $3,000, paid from the bank.
- It invoices a client $2,000 for work done.
- It pays $1,000 rent.
- The client pays the $2,000 invoice.
- It buys $500 of supplies on credit from a supplier, to pay next month.
| # | Account debited | Account credited | Amount |
|---|---|---|---|
| 1 | Cash (asset up) | Owner's equity (equity up) | $10,000 |
| 2 | Equipment (asset up) | Cash (asset down) | $3,000 |
| 3 | Accounts receivable (asset up) | Consulting revenue (revenue up) | $2,000 |
| 4 | Rent expense (expense up) | Cash (asset down) | $1,000 |
| 5 | Cash (asset up) | Accounts receivable (asset down) | $2,000 |
| 6 | Supplies expense (expense up) | Accounts payable (liability up) | $500 |
Notice entry 5. Collecting the invoice is not new revenue; the revenue was recorded when the work was billed in entry 3. Collecting simply swaps one asset (the receivable) for another (cash).
The trial balance at month end
Cash is $10,000 minus $3,000 minus $1,000 plus $2,000, which is $8,000. Accounts receivable went up $2,000 and back down $2,000, so it is zero.
| Account | Debit | Credit |
|---|---|---|
| Cash | $8,000 | |
| Equipment | $3,000 | |
| Rent expense | $1,000 | |
| Supplies expense | $500 | |
| Accounts payable | $500 | |
| Owner's equity | $10,000 | |
| Consulting revenue | $2,000 | |
| Total | $12,500 | $12,500 |
Check the equation. Assets are $8,000 cash plus $3,000 equipment, or $11,000. Liabilities are $500. Equity is the $10,000 invested plus the month's profit of $500 ($2,000 revenue minus $1,500 of expenses), or $10,500. $500 plus $10,500 is $11,000, so assets equal liabilities plus equity.
How entries flow through the books
- Source document. An invoice, receipt, bank statement line or payroll record shows that something happened.
- Journal entry. The transaction is recorded with its date, the accounts debited and credited, the amounts and a short description.
- Ledger. Each line is posted to its account in the general ledger, which keeps a running balance per account.
- Trial balance. All balances are listed to confirm debits equal credits.
- Adjustments and statements. At period end, adjusting entries are made and the financial statements are prepared.
Accounting software does steps 2 to 4 for you: when you categorize a bank transaction, it writes both sides of the entry behind the scenes. Understanding the double entry still matters, because it tells you where a miscategorized item will show up and how to fix it with a correcting entry rather than by deleting history.
Common mistakes and how to spot them
- Recording a loan as income. Borrowed money is a liability: debit cash, credit loan payable. Only the interest you later pay is an expense.
- Recording owner withdrawals as expenses. Money the owner takes out of a sole proprietorship or partnership is a draw against equity, not a business expense.
- Counting revenue twice. If you record revenue when you invoice, the customer's payment clears the receivable; it is not a second sale.
- Expensing equipment. Longer-lived assets are usually recorded as assets and depreciated over time, as explained in how depreciation works.
- Transposed figures. If the trial balance is out by an amount divisible by 9, look for two swapped digits, such as $540 entered as $450.
Where to go next
Double entry works inside a structure: the list of accounts you post to. Setting that up well is covered in how to set up a chart of accounts, and the period-end step that turns a trial balance into accurate statements is explained in trial balance and adjusting entries. If your books are kept by someone else, asking them to walk you through a few of your own journal entries is a quick way to see the system working on your real numbers.