Sub topic 9
Building the Unadjusted Trial Balance
This chapter assumes you know the basic account types (assets, liabilities, equity, revenue, expenses), the accounting equation, and how a transaction becomes a journal entry. It also assumes you can post entries to ledger accounts and find each account's ending balance. Here you take those ending balances and arrange them into a finished unadjusted trial balance.
What you are building
An unadjusted trial balance is a two-column list of every ledger account that has a balance. The columns are Debit and Credit. You prepare it at the end of a period, before any adjusting entries. Each account appears once, with its ending balance in the column that matches its normal balance side. The two column totals should be equal.
The list has one job: it is a check on the arithmetic of double-entry recording. It is also the starting point for adjusting entries and financial statements.
The build is a short pipeline. Each step uses the output of the one before it.
The running example
The chapter uses Example Services Co. for the month of January. The ledger holds these results from the journal entries:
- The owner invested 10,000 cash.
- The company bought equipment for 4,000, paying 1,500 in 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.
Cash starts at zero. After posting, the Cash account has debits of 10,000 and 3,000, and credits of 1,500 and 800. Its ending balance is 13,000 − 2,300 = 10,700, a debit balance.
Step 1: Collect the ending balance of each account
Take one ledger account at a time and compute its balance as the larger side minus the smaller side. The result is a debit balance if debits are larger and a credit balance if credits are larger.
| Account | Total debits | Total credits | Ending balance |
|---|---|---|---|
| Cash | 13,000 | 2,300 | 10,700 Dr |
| Equipment | 4,000 | 0 | 4,000 Dr |
| Accounts Payable | 0 | 2,500 | 2,500 Cr |
| Owner's Capital | 0 | 10,000 | 10,000 Cr |
| Service Revenue | 0 | 3,000 | 3,000 Cr |
| Rent Expense | 800 | 0 | 800 Dr |
Most accounts end on their normal side. Assets and expenses normally have debit balances. Liabilities, equity, and revenue normally have credit balances. A balance on the opposite side is possible, such as an overdrawn Cash account, but it deserves a second look. Section "Unusual balances" below covers how to list it.
Step 2: Order the accounts
List the accounts in the order of the chart of accounts. The standard order is assets, liabilities, equity, revenue, then expenses. If your chart uses account numbers, sort by number. The numbering already follows this order, for example 1xx for assets, 2xx for liabilities, 3xx for equity, 4xx for revenue, and 5xx for expenses.
The standard order has two practical benefits. A reviewer finds any account quickly. The order also matches the order that financial statements later use, so the move from trial balance to statements takes less rearranging.
Step 3: Place each balance in a column
Write each balance in the column for its side. Put debit balances in the Debit column and credit balances in the Credit column. Do not enter a minus sign. The column already tells the reader the side.
Leave the other column empty for that account. Do not write zero there. An account with a zero balance is normally left off the list, though some companies list it for completeness.
Step 4: Write the heading and the list
The heading answers three questions: whose books, which statement, and which date. For a trial balance the date is a single point in time, such as "As of January 31", because it shows balances at one moment. That differs from an income statement, which covers a span of time.
The finished list looks like this:
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,500Step 5: Total the columns and compare
Add the Debit column: 10,700 + 4,000 + 800 = 15,500. Add the Credit column: 2,500 + 10,000 + 3,000 = 15,500. The totals match, so the trial balance is in balance.
Draw a single rule above the totals. Some formats add a double rule beneath them to mark the final figures. Whichever you choose, apply it consistently.
Why do the totals agree? Every journal entry has equal debits and equal credits. Posting copies those amounts to the ledger without changing them. So the sum of all debits in the ledger equals the sum of all credits. Netting each account to a single balance subtracts equal amounts from both sides of the total, so the equality survives.
Automating the same steps
A small script mirrors the manual method. It nets each account's debits and credits, places the balance in a column, and compares the totals. The journal lines are the same transactions as above, split into one line per account.
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")Note that the script prints accounts in the order they first appear in the journal. A real report should sort them by account number, as in step 2. The script also depends on the journal lines being balanced entry by entry. If one entry has unequal sides, the totals will differ, which is the same signal a manual trial balance gives.
Unusual balances
Some accounts legitimately carry a balance on the side opposite to their normal one. Two common cases are:
- Contra accounts. Accumulated Depreciation is an asset-section account with a credit balance. List it in the Credit column.
- Abnormal balances. A Cash account that is overdrawn, or an Accounts Receivable account with a customer overpayment, shows a balance on the wrong side. List it where it actually falls, in the side that matches the real balance. Do not move it to the "expected" column. Flip it and the totals will no longer reflect the ledger.
An abnormal balance is a prompt to investigate. It may be real, or it may point to a posting error.
Owner's drawings and the equity section
Some businesses also have a Drawings (or Dividends) account. It is a contra-equity account with a normal debit balance. Put it in the Debit column, in the equity part of the list. Its debit balance reduces equity, which is why it sits on the debit side despite being in the equity group.
Common mistakes when building the list
- Wrong column for a balance. Putting a credit-balance account in the Debit column is the most frequent slip. Check each account against its normal balance.
- Listing a total instead of a balance. Copying only the debit total of an account, rather than the net, overstates the balance.
- Omitting an account. A ledger account with a balance that is missing from the list makes the totals differ by that balance.
- Listing an account twice. If a balance appears twice, one column is overstated by that amount.
- Using adjusted figures. The unadjusted list uses balances before adjusting entries. Do not add accruals, deferrals, or depreciation here.
Quick reference for the difference check
When the totals differ, the size of the difference suggests a cause. A difference divisible by 9 often points to a transposition (two digits swapped) or a slide (a misplaced decimal point). This helper encodes that check.
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)) # FalseChecklist before you hand it over
- The heading names the company, the report, and the date.
- Every ledger account with a nonzero balance appears exactly once.
- Accounts follow the chart of accounts order.
- Each balance sits in the column for its real side, with no minus signs.
- Both columns are totaled and the totals are compared.
- No adjusting entries are included.
Exercise
A ledger shows these ending balances: Cash 5,200 debit, Accounts Receivable 1,800 debit, Accounts Payable 2,400 credit, Owner's Capital 3,000 credit, Service Revenue 4,000 credit, Salaries Expense 2,400 debit. Build the unadjusted trial balance in standard account order and state whether it balances.
Show answer
Order: Cash, Accounts Receivable, Accounts Payable, Owner's Capital, Service Revenue, Salaries Expense. Debit column: 5,200 + 1,800 + 2,400 = 9,400. Credit column: 2,400 + 3,000 + 4,000 = 9,400. The totals are equal, so the trial balance balances at 9,400.
Exercise
Accumulated Depreciation has a credit balance of 600, and Drawings has a debit balance of 500. In which column does each account go, and why?
Show answer
Accumulated Depreciation goes in the Credit column, because it is a contra-asset account whose balance is a credit. Drawings goes in the Debit column, because it is a contra-equity account whose balance is a debit. Each account is listed on the side of its actual balance.