Double-Entry Accounting: Debits, Credits, and the Trial Balance

Double-entry accounting is a bookkeeping method that records every financial transaction in two places at once: once as a debit and once as a credit, in two different accounts, for the same dollar amount. That structure forces the books to balance after every entry, which is why it has been the worldwide standard for business financial reporting since the Italian friar Luca Pacioli first described it in 1494. If the debits and credits don’t line up, you know an error is sitting somewhere in the ledger, and you can go find it.

The system works because it rests on a single equation, uses a fixed vocabulary of debits and credits, and sorts every transaction into one of five account types. Once those three pieces click together, the rest of bookkeeping is mostly repetition.

The Accounting Equation

Every double-entry system rests on one formula: Assets = Liabilities + Equity.

Assets are everything the business owns: cash, equipment, inventory, receivables. Liabilities are what the business owes to outsiders: loans, accounts payable, taxes due. Equity is the residual, meaning the owners’ stake after all debts are subtracted.

That equation must hold true at every moment. When a company borrows $50,000 from a bank, its cash (an asset) increases by $50,000, and its loan balance (a liability) increases by the same amount. Both sides move in lockstep. If they ever fall out of balance, a recording error has occurred somewhere.

Equity itself breaks down further into pieces that connect the balance sheet to day-to-day operations. The expanded version of the equation looks like this: Assets = Liabilities + (Owner’s Capital + Revenue − Expenses − Withdrawals). Revenue increases equity because it adds value the owners can claim. Expenses and withdrawals reduce it. That expanded view is why a single sale ripples through more than one account: it increases an asset (cash or receivables), increases revenue, and through revenue, increases equity.

How Debits and Credits Work

Debits and credits are the language of the system. A debit is an entry on the left side of a ledger. A credit is an entry on the right side. The terms trip up almost every beginner because “debit” and “credit” don’t mean “good” or “bad.” They only indicate direction, and the direction depends on the type of account you’re touching.

Normal Balances by Account Type

Each account type has a “normal” balance, meaning the side (debit or credit) that increases it:

  • Assets: Normal balance is a debit. A debit increases the account; a credit decreases it.
  • Expenses: Normal balance is a debit. Spending money debits an expense account.
  • Liabilities: Normal balance is a credit. Taking on debt credits a liability account.
  • Equity: Normal balance is a credit. Owner investments credit equity.
  • Revenue: Normal balance is a credit. Earning income credits a revenue account.

The pattern is easier to remember if you tie it back to the equation. Assets sit on the left side of the equation, so they increase with left-side (debit) entries. Liabilities and equity sit on the right, so they increase with right-side (credit) entries. Expenses reduce equity, so they behave like assets and increase with debits. Revenue increases equity, so it follows the credit pattern.

Keeping the Equation Balanced

For every transaction, total debits must equal total credits. Say your company buys a $5,000 piece of equipment with cash. You debit the equipment account (increasing that asset by $5,000) and credit the cash account (decreasing that asset by $5,000). The total value of your assets hasn’t changed. It has just shifted from one form to another, and both sides of the entry show the same dollar amount.

Not every transaction touches only two accounts. A compound journal entry involves three or more accounts at once. If you buy $3,000 in office furniture and $500 in supplies from petty cash, you’d debit the furniture account for $3,000, debit supplies for $500, and credit petty cash for $3,500. Total debits ($3,500) still equal the total credit ($3,500). Compound entries are common whenever a single payment covers multiple categories of expense.

The Five Account Types

Before recording anything, a business creates a Chart of Accounts: a numbered list that assigns every possible transaction to one of five categories. Those categories map directly to the accounting equation and the income statement.

  • Asset accounts: Cash, equipment, vehicles, inventory, accounts receivable, and similar items the business owns.
  • Liability accounts: Loans, credit card balances, accounts payable, and other obligations to outside parties.
  • Equity accounts: Owner’s capital, retained earnings, and other accounts reflecting the owners’ residual interest.
  • Revenue accounts: Sales income, service fees, interest earned, and other inflows from business operations.
  • Expense accounts: Rent, wages, utilities, supplies, and other costs incurred to generate revenue.

Most accounting software generates a default Chart of Accounts that you can customize. Larger organizations sometimes bring in consultants to build out complex structures with hundreds of sub-accounts. Corporations that file Form 1120 need their Chart of Accounts organized precisely enough to populate every line of the return, since the IRS requires that the method of accounting used “clearly reflect income.”1Internal Revenue Service. 2025 Instructions for Form 1120 – U.S. Corporation Income Tax Return

Contra Accounts

Some accounts work in reverse. A contra account offsets the balance of its paired account rather than adding to it. The most common example is accumulated depreciation, which is a contra-asset. Equipment might appear in the ledger at its original purchase price of $50,000, but accumulated depreciation, credited each year as the equipment ages, gradually reduces the net book value. The same logic applies to accumulated amortization for intangible assets like patents, and accumulated depletion for natural resources like oil wells. Contra-revenue accounts also exist, such as sales returns and allowances, which reduce gross revenue to reflect returned merchandise.

Recording a Transaction: The Journal Entry

The journal entry is the basic unit of record in double-entry. Every entry includes the date, the accounts affected, the dollar amounts, and a brief description of what happened. The account receiving the debit is listed first; the credit account is indented below it. Both sides show the same total.

On June 1, your business pays $1,200 in rent:

  • Debit: Rent Expense — $1,200
  • Credit: Cash — $1,200

The debit increases the expense account (which reduces equity through higher costs), and the credit decreases cash (which reduces assets). Both sides of the equation move by $1,200.

After you create a journal entry, the next step is posting: transferring the data into the general ledger, where each account maintains a running balance. Most software handles posting automatically, but the distinction matters when you’re troubleshooting errors or rebuilding records.

Every journal entry should be backed by a source document, meaning the original paper or digital record proving the transaction occurred. Invoices, receipts, bank statements, contracts, and canceled checks all serve this purpose. They form the audit trail that connects a ledger balance back to a real-world event. The IRS requires taxpayers to maintain records that support the income, deductions, and credits claimed on a return, and it can examine those records during an audit.2Internal Revenue Service. Use of Electronic Accounting Software Records – Frequently Asked Questions and Answers

Checking Your Work With a Trial Balance

A trial balance is a report that lists every account in the general ledger with its current balance, then totals all debits and all credits. If the two totals match, the ledger is in balance. If they don’t, an error is lurking somewhere in the entries or postings.

When the trial balance is out of balance, a useful trick is to check whether the difference between the two totals is divisible by nine. If it is, the culprit is often a transposition error, meaning two digits were accidentally swapped, like recording $3,120 as $3,210. That quirk of base-10 arithmetic can save hours of hunting through entries line by line.

A balanced trial balance does not guarantee the books are error-free. Several types of mistakes won’t show up because they affect both sides equally or don’t affect the balance at all:

  • Omission: A transaction was never recorded. Nothing is out of balance because nothing was entered.
  • Error of principle: A transaction was posted to the wrong type of account, like recording an equipment purchase as an expense. Debits still equal credits, but the financial statements are distorted.
  • Error of commission: The right type of account was used, but the wrong specific account was chosen — posting a payment to the wrong customer, for instance.
  • Compensating errors: Two unrelated mistakes happen to cancel each other out.

Catching these hidden errors takes reviewing source documents, reconciling bank statements, and knowing the business well enough to spot entries that don’t make sense in context.

Closing the Books at Year-End

At the end of each fiscal year, temporary accounts (revenue, expenses, and dividends or owner withdrawals) are reset to zero so the next year starts with a clean slate. Permanent accounts like assets, liabilities, and equity carry their balances forward indefinitely. The closing process moves the net result of the year’s activity into retained earnings (for corporations) or the owner’s capital account (for sole proprietors and partnerships).

The standard sequence runs through a temporary holding account called Income Summary. All revenue accounts are debited to bring them to zero, with the total credited to Income Summary. All expense accounts are then credited to zero, with the total debited to Income Summary. At that point, Income Summary holds the year’s net income (if revenues exceeded expenses) or net loss (if they didn’t). The final step transfers that balance into retained earnings: a debit to Income Summary and a credit to retained earnings for a profitable year, or the reverse for a loss.

Accounting software largely automates this. The system generates the closing entries with a few clicks. Understanding what those entries do still matters when you need to verify that last year’s retained earnings figure on the balance sheet makes sense, or when an auditor asks you to walk through the close.

When Double-Entry Is Required

Double-entry isn’t always legally required. The IRS lets taxpayers choose between single-entry and double-entry bookkeeping, though it notes that double-entry “has built-in checks and balances to assure accuracy and control.”3Internal Revenue Service. Publication 583 – Starting a Business and Keeping Records Single-entry, which records each transaction once in a running list like a checkbook register, can be adequate for sole proprietors or freelancers with straightforward finances. It cannot track assets, liabilities, or equity, so it cannot produce a full balance sheet or catch many types of recording errors.

Anything more formal than that pushes you toward double-entry. Generally Accepted Accounting Principles (GAAP) effectively require it for any company that prepares formal financial statements. Any business hoping to attract investors or secure a loan will need balance sheets that only double-entry can produce. Publicly traded companies file annual reports (Form 10-K), quarterly reports (Form 10-Q), and prompt disclosures of material events (Form 8-K) with the SEC, and every one of those filings depends on audited financial statements built on double-entry records.4U.S. Securities and Exchange Commission. Exchange Act Reporting and Registration The Foreign Corrupt Practices Act adds another mandate on public companies to “make and keep books, records, and accounts, which, in reasonable detail, accurately and fairly reflect the transactions and dispositions of the assets of the issuer” and to maintain a system of internal accounting controls.5Department of Justice. United States Code – Title 15 – Section 78m – Periodical and Other Reports

For a small business, none of those public-company rules apply directly. But the underlying reason double-entry became the worldwide standard is the same at every scale: it produces financial statements that hold up under scrutiny, whether that scrutiny comes from the IRS, a bank evaluating a loan application, or a buyer performing due diligence on your company.