Sub topic 6
T-accounts: a visual model of an account
This chapter assumes you know the accounting equation, the five account types (assets, liabilities, equity, revenue, expenses), and the debit and credit rules with normal balances. Here you use those rules to draw and read T-accounts, the sketch-pad version of a ledger account.
What a T-account is
A T-account is a simplified picture of a ledger account. It is shaped like the letter T. The account name sits on top. The left side records debits and the right side records credits. Accountants use T-accounts to work out the effect of a transaction before they post it, to explain entries to others, and to check balances while studying.
A T-account holds the same information as a formal ledger account, but it has no date, description, or posting reference columns. Because of that, it is a thinking tool. It is not a record that an auditor would accept.
Account Name
-----------------------
Debit | Credit
(left) | (right)"Debit" means left and "credit" means right. Neither word means "increase" or "decrease" on its own. Whether a debit increases or decreases an account depends on the account's type.
How the sides map to account types
Each account has a normal balance, which is the side where increases are recorded. A T-account makes this easy to see, because the increase side is the side you expect the balance to sit on.
| Account type | Increase with | Decrease with | Normal balance |
|---|---|---|---|
| Asset | Debit (left) | Credit (right) | Debit |
| Expense | Debit (left) | Credit (right) | Debit |
| Liability | Credit (right) | Debit (left) | Credit |
| Equity | Credit (right) | Debit (left) | Credit |
| Revenue | Credit (right) | Debit (left) | Credit |
Owner withdrawals (a drawing account) are an exception inside equity. They reduce equity, so they carry a debit normal balance.
Building a T-account step by step
Follow the same routine for every transaction.
- Read the journal entry and list each account it names.
- Draw a T-account for each one, or find the existing T-account.
- Copy each debit amount to the left side of its account.
- Copy each credit amount to the right side of its account.
- Confirm that the debits and credits you copied are equal in total.
Worked example: the rent payment
On January 15 a business pays 1,200 of rent in cash. The journal entry is:
- Debit Rent Expense 1,200
- Credit Cash 1,200
Cash already has a balance from earlier transactions: 10,000 from the owner's investment and 1,500 from cash services. These are debits, so they go on the left. The rent payment is a credit to Cash, so it goes on the right.
Cash Rent Expense
------------------------- -------------------------
10,000 | 1,200 | 1,200 |
1,500 | | |
------------------------- -------------------------
Bal 10,300 (debit) Bal 1,200 (debit)The Cash account has 11,500 of debits and 1,200 of credits. Its balance is the larger side minus the smaller side: 11,500 − 1,200 = 10,300. The balance sits on the debit side, which is the normal side for an asset, so the account has a normal balance. Rent Expense has a single debit of 1,200, so its balance is 1,200 debit.
Notice that the same transaction touched two T-accounts, and the amounts were equal and on opposite sides in the entry. That is double-entry bookkeeping at work.
Finding the balance of a T-account
To balance a T-account, follow these steps.
- Add all the amounts on the left side to get total debits.
- Add all the amounts on the right side to get total credits.
- Subtract the smaller total from the larger.
- Write the difference under the larger side, and label it as a debit or credit balance.
A single-entry account, such as Rent Expense above, already shows its balance without any arithmetic. Accounts with many entries need the subtraction.
Example with several accounts
Take four January transactions.
- January 2: the owner invests 10,000 cash.
- January 5: the business buys 800 of supplies on credit.
- January 9: the business earns 4,000 of service revenue, receiving 1,500 in cash and billing 2,500 to customers.
- January 15: the business pays 1,200 of rent.
After posting, the T-accounts look like this.
Cash Accounts Receivable Supplies
--------------------- --------------------- ---------------------
10,000 | 1,200 2,500 | 800 |
1,500 |
Bal 10,300 Dr Bal 2,500 Dr Bal 800 Dr
Accounts Payable Owner's Capital Service Revenue
--------------------- --------------------- ---------------------
| 800 | 10,000 | 4,000
Bal 800 Cr Bal 10,000 Cr Bal 4,000 Cr
Rent Expense
---------------------
1,200 |
Bal 1,200 DrAdd the debit balances: 10,300 + 2,500 + 800 + 1,200 = 14,800. Add the credit balances: 800 + 10,000 + 4,000 = 14,800. The two totals match. This is the check that a trial balance formalizes, and a later chapter covers it in full.
Doing the same thing in code
A T-account is just two lists, one for debits and one for credits. The script below posts the four entries and prints each balance. It also checks that every entry balances before it posts, which a careful bookkeeper does mentally in step 5 of the routine above.
from collections import defaultdict
journal = [
("2026-01-02", "Owner invests cash",
[("Cash", "debit", 10000), ("Owner's Capital", "credit", 10000)]),
("2026-01-05", "Buy supplies on credit",
[("Supplies", "debit", 800), ("Accounts Payable", "credit", 800)]),
("2026-01-09", "Services for cash and on account",
[("Cash", "debit", 1500), ("Accounts Receivable", "debit", 2500),
("Service Revenue", "credit", 4000)]),
("2026-01-15", "Pay rent",
[("Rent Expense", "debit", 1200), ("Cash", "credit", 1200)]),
]
# Each T-account has a left (debit) list and a right (credit) list.
t_accounts = defaultdict(lambda: {"debit": [], "credit": []})
for date, memo, lines in journal:
debits = sum(a for _, side, a in lines if side == "debit")
credits = sum(a for _, side, a in lines if side == "credit")
assert debits == credits, f"Unbalanced entry on {date}: {memo}"
for account, side, amount in lines:
t_accounts[account][side].append(amount)
debit_column = credit_column = 0
for account, sides in t_accounts.items():
net = sum(sides["debit"]) - sum(sides["credit"])
if net >= 0:
debit_column += net
print(f"{account:<22}{net:>8}{'':>8}")
else:
credit_column += -net
print(f"{account:<22}{'':>8}{-net:>8}")
print(f"{'Totals':<22}{debit_column:>8}{credit_column:>8}")
assert debit_column == credit_columnRunning it prints one line per account and a final totals line of 14,800 and 14,800.
Edge cases and common mistakes
- Reversing the sides for liabilities, equity, and revenue. Many learners remember "debit = increase" from asset accounts and apply it everywhere. Check the account type before you choose the side.
- Abnormal balances. A balance on the side opposite its normal side is unusual. A Cash account with a credit balance means the business has overdrawn its bank account, or that a posting went to the wrong side. Do not "fix" it by flipping the sign. Investigate the entries first.
- Zero balances. If debits equal credits, the account balance is zero. Write "0" and do not label a side.
- Copying a one-sided entry. If you post only the debit or only the credit, the T-accounts will no longer total equally. A trial balance catches this error.
- Right amount, wrong account. If you debit Supplies when you meant Equipment, the T-accounts still balance. A trial balance does not catch this, so check the account names against the journal entry.
- Treating the T-account as the official record. T-accounts are scratch work. The formal ledger account has dates and posting references so that you can trace each amount back to its journal entry.
Where T-accounts fit in the posting process
The journal records transactions in date order. The ledger groups them by account. A T-account shows one account's group in its simplest form. When you post, you move each journal line to the matching side of the matching account. Later chapters add the date, description, and posting reference columns that turn a T-account into a formal ledger account with a running balance.
Exercise
A business has these entries in its Accounts Payable account: a credit of 800 on January 5, a credit of 300 on January 12, and a debit of 500 on January 20 (a partial payment). Draw the T-account, give its balance, and state whether the balance is normal.
Show answer
Left (debit) side: 500. Right (credit) side: 800 and 300, a total of 1,100. Balance = 1,100 − 500 = 600, on the credit side (Cr). Accounts Payable is a liability, so its normal balance is a credit. The balance is normal.
Exercise
A bookkeeper pays a 400 utility bill in cash and posts the entry as a debit to Cash and a credit to Utilities Expense. What is wrong, and will the T-accounts still total equally?
Show answer
The sides are reversed. The correct entry is a debit to Utilities Expense 400 and a credit to Cash 400. The T-accounts will still total equally, because the debit and credit amounts are equal. The mistake leaves Cash overstated and Utilities Expense understated, by 800 relative to the true balances. A trial balance will not reveal it.