Sub topic 10
Totaling the Columns and Checking the Balance
This chapter covers the last step of building an unadjusted trial balance: adding up the two columns and comparing the totals. It assumes you can already record a journal entry, post it to a ledger account, and compute an account's ending balance. It also assumes you know the normal balance of each account type (debit for assets and expenses, credit for liabilities, equity, and revenue).
Why the totals must agree
Every journal entry records equal debits and equal credits. When you post an entry, those amounts go into ledger accounts, so the sum of all debits posted equals the sum of all credits posted. Netting each account to one balance does not change that equality. Each net amount is just a difference between debit and credit postings, and it lands in the debit column if debits were larger or in the credit column if credits were larger.
So the trial balance is a check of the arithmetic. If both columns total the same amount, the ledger is internally consistent. If they differ, at least one error exists somewhere between the journal and the trial balance.
The check follows from the accounting equation:
- Assets and expenses carry debit balances.
- Liabilities, equity, and revenue carry credit balances.
- Assets + Expenses = Liabilities + Equity + Revenue, so total debit balances equal total credit balances.
The procedure
Work through these steps in order.
- List every ledger account that has a nonzero balance, in chart-of-accounts order.
- Enter each balance in the column that matches its side (debit or credit), not necessarily its normal side.
- Add the debit column.
- Add the credit column.
- Compare the two totals.
- Write the totals on a single line, with a rule above them.
Accounts with a zero balance are usually left off. If you include them, leave both columns blank or enter 0 consistently.
Worked example
Example Services Co. started in January with these transactions:
- The owner invested 10,000 cash.
- The company bought equipment for 4,000, paying 1,500 cash and owing 2,500 on account.
- The company earned 3,000 of service revenue in cash.
- The company paid 800 of rent in cash.
Posting these entries gives the Cash account these amounts:
| Posting | Debit | Credit |
|---|---|---|
| Owner investment | 10,000 | |
| Equipment purchase | 1,500 | |
| Service revenue | 3,000 | |
| Rent payment | 800 | |
| Total | 13,000 | 2,300 |
The Cash balance is 13,000 − 2,300 = 10,700, a debit. The other accounts each have one posting, so their balances equal that posting.
Example Services Co.
Unadjusted Trial Balance
As of January 31
Account Debit Credit
Cash 10,700
Equipment 4,000
Accounts Payable 2,500
Owner's Capital 10,000
Service Revenue 3,000
Rent Expense 800
------ ------
Totals 15,500 15,500The debit column adds as 10,700 + 4,000 + 800 = 15,500. The credit column adds as 2,500 + 10,000 + 3,000 = 15,500. The totals agree, so the check passes.
Notice that the total of 15,500 is not any figure from the financial statements. It is only a control total. Do not report it as total assets or total revenue.
Doing the same check in code
The script below nets each account from its journal lines, assigns each net balance to a column, and compares the totals. It is useful for seeing the logic, and for checking larger data sets where adding by hand is slow.
from collections import defaultdict
# Each line of a journal entry: (account, debit, credit)
lines = [
("Cash", 10000, 0),
("Owner's Capital", 0, 10000),
("Equipment", 4000, 0),
("Cash", 0, 1500),
("Accounts Payable", 0, 2500),
("Cash", 3000, 0),
("Service Revenue", 0, 3000),
("Rent Expense", 800, 0),
("Cash", 0, 800),
]
# Net balance per account: positive means debit, negative means credit
net = defaultdict(int)
for account, debit, credit in lines:
net[account] += debit - credit
debit_total = sum(b for b in net.values() if b > 0)
credit_total = -sum(b for b in net.values() if b < 0)
for account, balance in net.items():
dr = balance if balance > 0 else ""
cr = -balance if balance < 0 else ""
print(f"{account:<18}{dr!s:>8}{cr!s:>8}")
print(f"{'Totals':<18}{debit_total:>8}{credit_total:>8}")
print("Balanced" if debit_total == credit_total else "Out of balance")The output ends with totals of 15,500 in both columns (printed without separators) and the line Balanced.
What a match means and does not mean
Equal totals show that the recorded debits and credits are arithmetically consistent. They do not show that the right accounts or the right amounts were used. A balanced trial balance is evidence, not proof, that the books are correct. A later chapter covers the specific errors that leave the totals equal.
An unequal result is stronger evidence. It proves at least one error exists. The size and pattern of the difference help you find it.
Reading the difference
Subtract the smaller total from the larger one and note which column is larger. Then test the difference against a few common patterns.
| Pattern in the difference | Likely cause |
|---|---|
| Equals one amount in the ledger | A debit or credit was posted on one side only, or an account balance was left off the trial balance |
| Exactly half the difference matches an amount | One amount was posted to the wrong side (a debit entered as a credit) |
| Divisible by 9 | A transposition (540 written as 450) or a slide (decimal point shifted) |
| Divisible by 10, 100, or 1,000 | An addition error in one column, or a misplaced digit |
| A round number such as 1,000 | A column was added wrongly |
The divisible-by-9 test is easy to automate:
def may_be_transposition_or_slide(difference):
# A transposed pair of digits or a shifted decimal point produces
# a difference that is evenly divisible by 9.
return difference != 0 and difference % 9 == 0
# Example: 540 recorded as 450 gives a difference of 90.
print(may_be_transposition_or_slide(90)) # True
print(may_be_transposition_or_slide(100)) # FalseA divisible-by-9 difference only suggests the cause. Many unrelated errors also produce multiples of 9, so confirm by finding the actual entry.
The side-swap test works like this. If a 400 credit was posted as a debit, the debit column is too high by 400 and the credit column is too low by 400. The difference is 800, which is twice the error. Halve the difference to get the size of the mistaken amount, then look for a 400 entry.
def side_swap_candidate(difference):
# A single amount posted to the wrong side shifts the totals by twice that amount.
if difference % 2 == 0:
return difference // 2
return None
print(side_swap_candidate(800)) # 400
print(side_swap_candidate(75)) # NoneCommon mistakes when totaling
- Totaling before every account is listed. Count the accounts on your trial balance and compare to the ledger. A missing account is the most common reason for a difference equal to one balance.
- Using the normal side instead of the actual side. A cash overdraft is a credit balance in Cash. An account with an abnormal balance goes in the column that matches its real balance, even if that surprises you.
- Adding the columns once. Add each column twice, preferably in a different order, or use a calculator tape you can re-read.
- Forcing the match. Never insert a plug figure, such as a "suspense" amount, only to make the totals agree. A plug hides the error and the books remain wrong.
- Treating the total as a result. The 15,500 total carries no meaning for the business. Do not carry it forward to a financial statement.
Recording the result
When the totals agree, the unadjusted trial balance is ready for its next uses. It becomes the starting point for adjusting entries, which handle items such as accrued expenses and prepaid costs. Keep the trial balance with its date and a heading that says "Unadjusted," so later versions are not confused with it.
Exercise
A company's trial balance shows debit total 48,250 and credit total 47,350. Cash has a debit balance of 9,000. Give the difference, state which column is larger, and name two possible causes using the patterns in this chapter.
Show answer
The difference is 48,250 − 47,350 = 900, and the debit column is larger. Because 900 is divisible by 9, a transposition or slide error is possible (for example, 450 recorded as 540 on the debit side, or 540 as 450 on the credit side). Because half of 900 is 450, a 450 credit that was posted as a debit is also possible. A credit entry omitted from the credit column or a debit counted twice would also create the same difference if an amount of 900 exists in the ledger.
Exercise
A trial balance lists these balances: Cash 5,200 debit, Accounts Receivable 1,800 debit, Accounts Payable 2,100 credit, Owner's Capital 4,000 credit, Service Revenue 1,500 credit, Utilities Expense 600 debit. Total both columns and say whether the trial balance is balanced.
Show answer
The debit column is 5,200 + 1,800 + 600 = 7,600. The credit column is 2,100 + 4,000 + 1,500 = 7,600. The totals are equal, so the trial balance is balanced.
Exercise
A bookkeeper finds the trial balance out of balance by 300, with the debit column higher. A 300 payment of utilities expense was debited to Utilities Expense, but the bookkeeper forgot to post the credit to Cash. Explain why the totals differ and what correction is needed.
Show answer
Posting only the debit adds 300 to the debit column with no matching 300 in the credit column, so debits exceed credits by 300. The correction is to post the missing 300 credit to Cash, which lowers the Cash balance by 300 and restores equality. No new journal entry is needed, because the journal entry was correct and the error was in posting.