Double-entry bookkeeping
Recording every transaction in at least two accounts so the books stay in balance
In briefDouble-entry bookkeeping is a method of recording each transaction in at least two accounts, with debits and credits that add up to the same total. OpenStax defines the system as one that "requires the sum of the debits to equal the sum of the credits for each transaction." Each entry keeps the books in balance.
The rule
Every journal entry has at least one debit and at least one credit. A debit is recorded on the left side of an account and a credit on the right. OpenStax describes a T-account as a picture of one general ledger account split into left and right sides. Entries are first written in the journal, then posted to the general ledger. Which side raises or lowers an account depends on its type, as the page on debits and credits shows.
The method keeps the accounting equation in balance. OpenStax states it as assets equal liabilities plus equity.
A worked example
A new bakery has three transactions.
| Transaction | Debit | Credit |
|---|---|---|
| Owner puts in $10,000 cash | Cash $10,000 | Owner's Capital $10,000 |
| Buys a $4,000 oven for cash | Equipment $4,000 | Cash $4,000 |
| Buys $1,500 of flour on credit | Inventory $1,500 | Accounts Payable $1,500 |
Debits total $15,500 and credits total $15,500. The balances afterward:
- Assets: cash $6,000, equipment $4,000 and flour inventory $1,500, or $11,500.
- Liabilities: accounts payable, $1,500.
- Equity: owner's capital, $10,000.
Liabilities plus equity are $11,500, the same as assets.
A real example: Costco
Costco's balance sheet shows the equality at the end of its 2026 fiscal year, August 30, 2026. Its 10-K balance sheet reports total assets of $89.045 billion. Total liabilities were $53.242 billion and equity was $35.803 billion. Those two add to $89.045 billion.
Why it is used
Because debits must equal credits, a mistake in one side of an entry shows up when the books are added. The trial balance lists every ledger account with a balance and checks that the debit and credit columns match. If the columns differ, OpenStax says, there is a mistake in at least one of them.
Common confusion
- A balanced trial balance is not proof of accuracy. OpenStax says a mistake can be present even when the totals match.
- Double entry is not two copies of the same number. The two sides go to different accounts, such as Cash and Equipment.
- It is not the same as accounting. Bookkeeping records the transactions. Accounting also analyzes and reports them.
- Credit does not mean good. Credit is a side of the account, not a gain.
Related entries
- Debit vs. creditThe left and right sides of every bookkeeping entry
- General ledgerThe master record of every account in a company's books and its balance
- Trial balanceA list of every ledger account with its debit or credit balance, used to check that the books add up
- Assets vs. liabilitiesWhat a business owns, and what it owes
- Bookkeeping vs. accountingRecording a business's transactions, and interpreting and reporting on them
- Balance sheetA snapshot of what a business owns, what it owes and what is left for owners on one date