Sub topic 14
Checking Your Work with a Trial Balance
This chapter assumes you can write a balanced journal entry, know the debit and credit rules for the five account types, and understand that posting copies journal amounts into ledger accounts. You will learn how to build a trial balance, what it proves, what it cannot prove, and how to track down the errors it does reveal.
What a trial balance is
A trial balance is a list of every ledger account with its ending balance, placed in a debit column or a credit column. You total both columns. Because every journal entry has equal debits and credits, the two totals must match.
The check is mechanical. It does not tell you whether the entries were correct. It tells you whether the arithmetic of the double-entry system held together between the journal and the ledger.
You prepare a trial balance at the end of a period, and also before you make adjusting entries. The first one is the unadjusted trial balance. After adjusting entries you prepare an adjusted trial balance, which feeds the financial statements.
Building a trial balance step by step
- Compute the balance of each ledger account: total debits minus total credits for that account.
- Place a positive result in the debit column and a negative result in the credit column.
- Use the account's normal balance as a sanity check. Assets and expenses normally have debit balances. Liabilities, equity, and revenue normally have credit balances.
- Total each column.
- Compare the totals.
Owner's Withdrawals is an equity account with a normal debit balance. It sits in the debit column, which surprises many learners.
A worked example
Suppose a small consulting business has these ledger balances at the end of January.
| Account | Debit | Credit |
|---|---|---|
| Cash | 6,300 | |
| Accounts Receivable | 1,500 | |
| Prepaid Insurance | 1,100 | |
| Equipment | 6,000 | |
| Accounts Payable | 4,500 | |
| Owner's Capital | 10,000 | |
| Owner's Withdrawals | 500 | |
| Service Revenue | 4,200 | |
| Wages Expense | 800 | |
| Rent Expense | 1,000 | |
| Utilities Expense | 200 | |
| Insurance Expense | 100 | |
| Totals | 17,500 | 18,700 |
The totals are 17,500 and 18,700, a difference of 1,200. The books are out of balance. The next sections show how to find out why.
What a difference tells you
The size of the difference is a clue. Use these patterns in order, starting with the cheapest checks.
| Difference | Likely cause |
|---|---|
| Equal to one balance in the list | That account was left off the trial balance |
| Divisible by 9 | A transposition (for example 450 written as 540) or a slide (for example 1,200 written as 120) |
| Divisible by 2 | An amount placed in the wrong column. The difference is twice that amount |
| Equal to one posting amount | One side of an entry was not posted, or posted twice |
| Any other number | An arithmetic error, or a combination of errors |
In the example, the difference is 1,200 and the credit column is larger. Two checks fit:
- Half of 1,200 is 600. A debit of 600 placed in the credit column, or the reverse, would produce this. No account shows 600.
- The Prepaid Insurance balance is 1,100. A 1,200 payment less 100 of expense should leave 1,100 as a debit. The entry for the policy would be correct. The problem is elsewhere.
Searching the journal for 1,200 turns up a transaction: the owner took a 1,200 cash purchase and the debit side was never posted to a ledger account. In this case, the debit of 1,200 to an Advertising Expense account was written in the journal but missing from the ledger. Adding the 1,200 debit to the trial balance makes the debit total 18,700, and the columns agree.
The exact error matters less than the method. Work from the difference, form a hypothesis, then confirm it against the journal.
A systematic search procedure
When the quick patterns fail, follow this sequence.
- Re-add both columns. Many differences are addition mistakes.
- Confirm that every ledger account appears on the trial balance.
- Recompute each ledger balance.
- Trace every posting back to the journal, ticking each one off. Look for an entry posted to only one side.
- Re-check each journal entry to see that its debits equal its credits.
Stop as soon as you find an error. Correct it, re-total, and see whether the columns now agree. More than one error may be present.
Computing the trial balance in code
If you keep entries in a script or spreadsheet, you can automate the check. The program below stores journal entries, rejects any unbalanced entry on entry, then builds the trial balance.
from collections import defaultdict
entries = [
("Jan 2", [("Cash", 10000, 0), ("Owner's Capital", 0, 10000)]),
("Jan 5", [("Equipment", 6000, 0), ("Cash", 0, 1500), ("Accounts Payable", 0, 4500)]),
("Jan 10", [("Accounts Receivable", 2400, 0), ("Service Revenue", 0, 2400)]),
("Jan 25", [("Cash", 2400, 0), ("Accounts Receivable", 0, 2400)]),
]
def check_entry(date, lines):
debits = sum(d for _, d, _ in lines)
credits = sum(c for _, _, c in lines)
if debits != credits:
raise ValueError(f"{date}: debits {debits} do not equal credits {credits}")
def trial_balance(entries):
totals = defaultdict(int)
for date, lines in entries:
check_entry(date, lines)
for account, debit, credit in lines:
totals[account] += debit - credit
debit_col = {a: b for a, b in totals.items() if b > 0}
credit_col = {a: -b for a, b in totals.items() if b < 0}
return debit_col, credit_col
debit_col, credit_col = trial_balance(entries)
for account, amount in debit_col.items():
print(f"{account:<22}{amount:>10,}")
for account, amount in credit_col.items():
print(f"{account:<22}{'':>10}{amount:>10,}")
print("Total debits:", f"{sum(debit_col.values()):,}")
print("Total credits:", f"{sum(credit_col.values()):,}")Software that enforces balanced entries at the time of entry cannot produce an out-of-balance trial balance from entries alone. Errors then show up as wrong accounts or wrong amounts, which the trial balance cannot detect. That leads to the next section.
What a trial balance cannot catch
Balanced columns are necessary but not sufficient. These errors leave the totals equal:
- Omitted transaction. A whole entry is missing, so both sides are missing.
- Wrong account. A repair bill debited to Equipment instead of Repairs Expense. Debits still equal credits.
- Compensating errors. A debit overstated by 300 in one account and a credit overstated by 300 in another.
- Equal wrong amounts. An entry recorded as 900 on both sides when it should be 90.
- Duplicate entry. An entry posted twice adds equal amounts to both columns.
- Wrong side in both accounts. Reversing both the debit and the credit of an entry.
Where errors enter
The diagram shows the path from a transaction to the trial balance and where each kind of check applies.
Using the trial balance in the period-end cycle
The trial balance appears more than once in a period.
- Prepare an unadjusted trial balance from the posted ledger.
- Record adjusting entries for items such as expired prepayments, accrued wages, and depreciation.
- Prepare an adjusted trial balance. It should balance again, because each adjusting entry is itself balanced.
- Build the income statement, the statement of owner's equity, and the balance sheet from the adjusted balances.
A trial balance that balances before adjusting but not after points to an error in an adjusting entry or its posting. That narrows the search to a few entries.
Practical habits
- Total the journal columns before posting. If the journal does not balance, the ledger cannot.
- Write the date and reference of the journal entry beside each posting so that you can trace it back.
- Keep a short description on every entry. A description often reveals a wrong account.
- Never plug the difference into a suspense account to force a match. A temporary suspense account is acceptable only when it is cleared and documented.
- Scan for abnormal balances, such as a credit balance in Cash or a debit balance in Accounts Payable. These flag errors even when the totals agree.
Exercise
A trial balance shows total debits of 24,350 and total credits of 23,450. (a) What is the difference, and what two quick checks suggest a cause? (b) The journal shows a 450 debit to Supplies Expense that was posted in the ledger as 540. Does this explain the difference? (c) A 1,200 equipment repair was debited to Equipment instead of Repairs Expense. Would that change the trial balance totals?
Show answer
(a) The difference is 900, with debits higher. It is divisible by 9, which suggests a transposition or slide. It is also twice 450, which suggests a 450 amount placed in the wrong column. (b) Posting 450 as 540 overstates a debit by 90, so the difference would be 90, not 900. It does not explain it. A 900 difference fits a 450 credit posted as a debit, or a 450 debit posted as a credit, because moving an amount to the wrong column changes the gap by twice that amount. (c) No. The debit and credit amounts are still equal, so the totals agree. The error misstates assets and expenses and the trial balance cannot detect it.
Exercise
Why can a trial balance be prepared both before and after adjusting entries, and what does it mean if only the second one fails to balance?
Show answer
Both sets of ledger balances should have equal debits and credits, because every entry, including adjusting entries, has equal debits and credits. If the unadjusted trial balance balances and the adjusted one does not, the error lies in an adjusting entry or in how it was posted or totaled. You can limit your search to those entries.