How Double-Entry Bookkeeping Works
Use the accounting equation and the rules of debits and credits to record everyday business transactions so that every entry, and the whole set of books, balances.
Table of contents
Every dollar a business earns or spends comes from somewhere and goes somewhere. Double-entry bookkeeping records both sides of each transaction, so every entry has at least one debit and at least one credit, and the two always total the same amount. That built-in check is why the method has been the standard for centuries, and why every accounting program still works this way underneath, even when its screens hide it. Learn the rules once and you can read any set of books.
What You Will Be Able to Do
- State the accounting equation and use it to check a set of books.
- Tell which accounts go up with a debit and which go up with a credit.
- Write a balanced journal entry from a receipt, bill or invoice.
- Post entries to the ledger and prepare a trial balance.
- Name the errors a trial balance catches and the ones it misses.
The Accounting Equation
Everything in bookkeeping rests on one equation:
Assets = Liabilities + Equity
- Assets are what the business owns or is owed: cash, money customers owe (accounts receivable), inventory, equipment and vehicles.
- Liabilities are what the business owes others: unpaid bills (accounts payable), loans, credit card balances, and sales tax collected but not yet paid to the state.
- Equity is the owner's share, what would be left if every asset were sold and every debt paid. It grows when the owner puts money in and when the business earns a profit. It shrinks when the owner takes money out and when the business has a loss.
A small cleaning company with $50,000 in assets and $20,000 in debts has $30,000 in equity. The equation always holds, because every transaction changes it by matching amounts. When the business borrows $5,000, cash (an asset) goes up $5,000 and the loan (a liability) goes up $5,000. Both sides still match.
Equity has parts of its own. Revenue, the income from sales, raises equity. Expenses, the costs of running the business, lower it. So the expanded equation is:
Assets = Liabilities + Owner Contributions + Revenue - Expenses - Owner Draws
In a corporation, the owner's side is called stockholders' equity, contributions are called paid-in capital, and payouts to owners are called dividends. The rules are the same.
Debits and Credits
A debit is an entry on the left side of an account. A credit is an entry on the right side. That is all the words mean. A debit is not good or bad, and a credit is not always money coming in. Whether a debit raises or lowers an account depends on the account's type.
| Account type | A debit | A credit | Normal balance |
|---|---|---|---|
| Asset | Increases | Decreases | Debit |
| Expense | Increases | Decreases | Debit |
| Owner draws or dividends | Increases | Decreases | Debit |
| Liability | Decreases | Increases | Credit |
| Equity | Decreases | Increases | Credit |
| Revenue | Decreases | Increases | Credit |
The normal balance is the side where an account usually carries its balance. Cash normally has a debit balance. Accounts payable normally has a credit balance. An account sitting on the wrong side, such as cash with a credit balance, usually means an error or an overdraft, so look into it.
A common memory aid is DEALER: Dividends (or draws), Expenses and Assets go up with debits. Liabilities, Equity and Revenue go up with credits.
Why Your Bank Says It Backwards
Your bank statement calls a deposit a "credit" to your account. From the bank's side, your deposit is money it owes you, a liability on its books, so the bank credits it. On the business's own books, the same deposit is a debit to Cash. Do not let the bank's wording flip your entries.
Writing a Journal Entry
A journal entry records one transaction. Each one has:
- The date of the transaction.
- The accounts affected, with debits listed first and credits after.
- The amount on each line.
- A short memo saying what happened and naming the source document, such as "Invoice 1042, Smith Dental, office cleaning, March."
Total debits must equal total credits in every entry. An entry with more than two lines is a compound entry, and the same rule applies.
Before you write an entry, ask three questions:
- Which accounts changed?
- Did each one go up or down?
- Given its type, is that a debit or a credit?
Worked Entries for One Month
Bright Path Cleaning is a new one-person company. Here is its first month, entry by entry.
March 1. The owner puts $10,000 of savings into the business bank account. Cash, an asset, goes up. Owner's Capital, which is equity, goes up.
| Account | Debit | Credit |
|---|---|---|
| Cash | 10,000.00 | |
| Owner's Capital | 10,000.00 |
March 2. The company buys a floor machine for $2,400 by check. One asset goes up and another goes down.
| Account | Debit | Credit |
|---|---|---|
| Equipment | 2,400.00 | |
| Cash | 2,400.00 |
March 3. It buys $600 of cleaning supplies on account, due in 30 days. "On account" means on credit. The business now owes the vendor, so a liability goes up.
| Account | Debit | Credit |
|---|---|---|
| Supplies Expense | 600.00 | |
| Accounts Payable | 600.00 |
March 5. It pays $800 rent for March.
| Account | Debit | Credit |
|---|---|---|
| Rent Expense | 800.00 | |
| Cash | 800.00 |
March 12. It cleans a dental office and sends an invoice for $1,500. The work is done, so the revenue is earned now, even though no cash has come in. Accounts receivable, an asset, goes up.
| Account | Debit | Credit |
|---|---|---|
| Accounts Receivable | 1,500.00 | |
| Service Revenue | 1,500.00 |
March 15. It cleans a house and is paid $350 on the spot.
| Account | Debit | Credit |
|---|---|---|
| Cash | 350.00 | |
| Service Revenue | 350.00 |
March 18. It buys a commercial vacuum for $900, paying $300 now and owing the rest. This is a compound entry, with one debit and two credits.
| Account | Debit | Credit |
|---|---|---|
| Equipment | 900.00 | |
| Cash | 300.00 | |
| Accounts Payable | 600.00 |
March 26. The dental office pays its $1,500 invoice. There is no new revenue here, because it was recorded on March 12. One asset (cash) goes up and another (the receivable) goes down.
| Account | Debit | Credit |
|---|---|---|
| Cash | 1,500.00 | |
| Accounts Receivable | 1,500.00 |
March 28. It pays the supply vendor the $600 owed from March 3.
| Account | Debit | Credit |
|---|---|---|
| Accounts Payable | 600.00 | |
| Cash | 600.00 |
March 31. The owner takes $500 for personal use. A draw is not a business expense. It reduces equity.
| Account | Debit | Credit |
|---|---|---|
| Owner's Draws | 500.00 | |
| Cash | 500.00 |
Posting to the Ledger
The journal lists entries in date order. The general ledger sorts the same lines by account, so you can see each account's running balance. Moving each line from the journal to its account is called posting. Accounting software posts the moment you save an entry, but you still need to know where the numbers go.
A T-account is a sketch of one ledger account, with debits on the left and credits on the right. Here is Bright Path's Cash account for March:
| Date | Memo | Debit | Credit |
|---|---|---|---|
| Mar 1 | Owner investment | 10,000.00 | |
| Mar 2 | Floor machine | 2,400.00 | |
| Mar 5 | Rent | 800.00 | |
| Mar 15 | House cleaning | 350.00 | |
| Mar 18 | Vacuum down payment | 300.00 | |
| Mar 26 | Dental office payment | 1,500.00 | |
| Mar 28 | Paid supply vendor | 600.00 | |
| Mar 31 | Owner draw | 500.00 |
The debits total $11,850.00 and the credits total $4,600.00. Cash ends the month with a debit balance of $11,850.00 - $4,600.00 = $7,250.00.
The Trial Balance
A trial balance lists every account with its ending balance in the debit or credit column. If the books are in balance, the two columns total the same amount. Here is Bright Path's trial balance on March 31:
| Account | Debit | Credit |
|---|---|---|
| Cash | 7,250.00 | |
| Accounts Receivable | 0.00 | |
| Equipment | 3,300.00 | |
| Accounts Payable | 600.00 | |
| Owner's Capital | 10,000.00 | |
| Owner's Draws | 500.00 | |
| Service Revenue | 1,850.00 | |
| Supplies Expense | 600.00 | |
| Rent Expense | 800.00 | |
| Total | 12,450.00 | 12,450.00 |
Now check it against the equation. Assets are $7,250 of cash plus $3,300 of equipment, or $10,550. Liabilities are $600. Equity is the $10,000 contributed, plus $1,850 of revenue, minus $1,400 of expenses, minus the $500 draw, or $9,950. And $600 + $9,950 = $10,550. The books balance.
What a Trial Balance Will Not Catch
A trial balance proves that debits equal credits. It does not prove the entries are right. These errors leave it in balance:
| Error | Example | How you find it |
|---|---|---|
| Entry left out | A bill never entered | Vendor statements, bank reconciliation |
| Entry made twice | One invoice entered two times | Duplicate checks, aging reports |
| Wrong account | Fuel posted to Office Supplies | Review account detail each month |
| Debit and credit swapped | A customer payment entered as a refund | Bank reconciliation, odd balances |
| Same wrong amount on both sides | A $1,250 bill entered as $1,520 | Matching to the source document |
When a trial balance does not balance, a few checks narrow the search:
- Look for the exact difference. A $1,500 gap often means a $1,500 line is missing from one side.
- Divide the difference by 2. If the answer matches an entry, that amount was probably posted to the wrong side. A $350 debit posted as a credit throws the columns off by $700.
- Divide the difference by 9. If it divides evenly, look for a transposition, two digits swapped, such as $540 typed as $450 on one side. The $90 difference divides by 9.
Cash Basis and Accrual Basis
The accrual basis records revenue when it is earned and expenses when they are incurred, whether or not cash has moved. Bright Path used it on March 12, when it recorded revenue the day it sent the invoice. The cash basis records revenue when cash comes in and expenses when cash goes out. On the cash basis, the dental office job would show up on March 26, the day the payment arrived.
Both bases use debits and credits. The owner and the company's accountant choose the basis, and tax rules limit which businesses may use the cash basis, so never switch it yourself. Most accounting software can run reports either way, so always check which basis a report uses before you compare numbers.
Common Mistakes
| Mistake | What it costs |
|---|---|
| Recording a customer's payment as new revenue | Income counted twice, and taxes owed on money never earned |
| Treating an owner draw as an expense | Profit looks smaller than it is, and the tax return is wrong |
| Expensing a whole loan payment | The loan balance stays too high, and expenses are overstated |
| Following the bank's "credit" wording | Deposits recorded on the wrong side |
| Forcing a balance with a made-up amount | The real error stays hidden and grows |
Check Your Understanding
1. A business pays $1,200 up front for 12 months of liability insurance. Which accounts change, and is each a debit or a credit?
Prepaid Insurance, an asset, goes up with a $1,200 debit, because the business now holds 12 months of coverage it has not used yet. Cash goes down with a $1,200 credit. Each month, $100 then moves from Prepaid Insurance to Insurance Expense.
2. A customer pays a $900 invoice you recorded last month. Your coworker wants to credit Service Revenue. What is wrong?
The revenue was recorded when the invoice went out. Crediting revenue again would count it twice. The right entry is a $900 debit to Cash and a $900 credit to Accounts Receivable.
3. Your trial balance shows debits of $48,610 and credits of $48,340. What do you check first?
The difference is $270. Half of it is $135, so look for a $135 entry posted to the wrong side. It also divides by 9 (270 / 9 = 30), so look for two swapped digits, such as $410 entered as $140.
4. The owner uses the business debit card to pay $300 for a family dinner. How do you record it?
Debit Owner's Draws $300 and credit Cash $300. It is a personal cost, so it reduces equity and never goes in a business expense account. Let the owner know it was recorded as a draw.
Key Takeaways
- Assets = Liabilities + Equity, and every entry keeps that true.
- Debit means left and credit means right. Assets, expenses and draws go up with debits. Liabilities, equity and revenue go up with credits.
- Every journal entry, however many lines it has, has equal debits and credits.
- A customer's payment on an invoice is not new revenue, and an owner draw is not an expense.
- A balanced trial balance proves the math, not that each entry is right.