Sub topic 6
Calculating each account's ending balance
This chapter assumes you already know the basic account types (assets, liabilities, equity, revenue, expenses), the accounting equation, and how a transaction becomes a journal entry. You also need to know that entries are posted to ledger accounts. The chapter covers the step between posting and the trial balance. For every ledger account, you reduce a column of debits and a column of credits to one number on one side.
What an ending balance is
An account's ending balance is the net effect of every posting in that account over the period, plus any balance carried in from before. The trial balance lists one line per account, so each account must be reduced to a single amount and a single side.
The arithmetic is the same for every account:
- Add up all debit postings.
- Add up all credit postings.
- Subtract the smaller total from the larger.
- Put the result on the side with the larger total.
If debits are larger, the account has a debit balance. If credits are larger, it has a credit balance. If the totals are equal, the balance is zero.
Normal balances guide the check, not the calculation
Every account type has a normal balance, the side on which increases are recorded. You do not need the normal balance to calculate the result. The calculation depends only on which side has the larger total. The normal balance is how you judge whether the result is plausible.
| Account type | Increases with | Normal balance |
|---|---|---|
| Asset | Debit | Debit |
| Expense | Debit | Debit |
| Liability | Credit | Credit |
| Equity (owner's capital) | Credit | Credit |
| Revenue | Credit | Credit |
A result on the opposite side from the normal balance is an abnormal balance. It is not automatically an error. A bank account that is overdrawn legitimately has a credit balance. But it is a flag to investigate before you move on.
Worked example: a T-account
The Example Services Co. ledger for January has four postings to Cash. The debit side shows money received. The credit side shows money paid out.
Cash
Debit Credit
10,000 (owner invests) 1,500 (equipment deposit)
3,000 (service revenue) 800 (rent)
------ -----
13,000 2,300
Ending balance: 13,000 - 2,300 = 10,700 debitCash is an asset, so a debit balance is normal. This 10,700 is the figure that appears on the trial balance.
The other accounts each need less work:
- Equipment has one debit of 4,000, so its balance is 4,000 debit.
- Accounts Payable has one credit of 2,500, so its balance is 2,500 credit.
- Owner's Capital has one credit of 10,000, so its balance is 10,000 credit.
- Service Revenue has one credit of 3,000, so its balance is 3,000 credit.
- Rent Expense has one debit of 800, so its balance is 800 debit.
An account with a single posting needs no subtraction. Its balance is that posting, on the side where it was posted.
Beginning balances
The method above assumes the account starts the period at zero. That is true for a new business, and it is true for revenue and expense accounts at the start of every new period. Those are temporary accounts. They are closed to equity at period end, so they restart at zero.
Asset, liability, and equity accounts are permanent accounts. Their balances carry forward. For these accounts, the starting figure is the prior period's ending balance, entered on its normal side. The formula becomes:
- Debit-normal account: ending = beginning + debits - credits
- Credit-normal account: ending = beginning + credits - debits
Forgetting the beginning balance is a common cause of a trial balance that is wrong by exactly the size of one account.
Running balances versus end-of-period balances
Many ledgers, and nearly all accounting software, show a running balance column. It updates after each posting. The last running balance equals the ending balance you would calculate by totaling both sides. If you use a running balance, check the last line by totaling the columns independently.
Computing the total on each side first has one advantage when you work by hand. If you see an unexpected balance, you can tell at once which side has the surprising total.
Edge cases
- Zero balances. An account with equal debits and credits has a zero balance. Zero-balance accounts are usually omitted from the trial balance, though some firms list them for completeness. Either choice keeps the totals equal.
- Abnormal balances. An asset with a credit balance, or a revenue account with a debit balance, deserves a second look. Possible causes are an overdraft, a customer overpayment, a posting to the wrong side, or a posting to the wrong account.
- Contra accounts. A contra account is designed to carry the opposite of its parent's normal balance. Accumulated Depreciation is an asset-related account with a credit balance. Owner's Drawings is an equity-related account with a debit balance. These are normal for them, so judge the balance against the contra account's own normal side.
- Several accounts with the same name. Cash at two banks may be two accounts. Calculate each balance separately. Combine them only if the chart of accounts says to.
Automating the calculation
The script below calculates each balance from the lists of debit and credit postings, and flags abnormal balances. It uses the January data.
ledger = {
"Cash": {"normal": "debit", "debits": [10000, 3000], "credits": [1500, 800]},
"Equipment": {"normal": "debit", "debits": [4000], "credits": []},
"Accounts Payable": {"normal": "credit", "debits": [], "credits": [2500]},
"Owner's Capital": {"normal": "credit", "debits": [], "credits": [10000]},
"Service Revenue": {"normal": "credit", "debits": [], "credits": [3000]},
"Rent Expense": {"normal": "debit", "debits": [800], "credits": []},
}
def ending_balance(account):
"""Return (amount, side) where side is 'debit', 'credit' or 'zero'."""
debit_total = sum(account["debits"])
credit_total = sum(account["credits"])
net = debit_total - credit_total
if net > 0:
return net, "debit"
if net < 0:
return -net, "credit"
return 0, "zero"
for name, account in ledger.items():
amount, side = ending_balance(account)
note = ""
if side not in ("zero", account["normal"]):
note = " <-- abnormal balance, investigate"
print(f"{name:<18}{amount:>8,} {side}{note}")The output is:
Cash 10,700 debit
Equipment 4,000 debit
Accounts Payable 2,500 credit
Owner's Capital 10,000 credit
Service Revenue 3,000 credit
Rent Expense 800 debitThe function never uses the normal balance. It looks only at which total is larger. The normal balance is used afterward, to flag anything unusual.
The process as a whole
The diagram shows the decision made for each account.
Common errors in this step
- Wrong sign. Subtracting debits from credits on a debit-normal account gives a negative result. If you get a negative number, you have reversed the subtraction. The side with the larger total sets the side of the balance.
- Omitted posting. A journal entry that was never posted to the ledger leaves the account short. Both sides of the entry are usually missed together, so the trial balance can still balance.
- One-sided posting. A debit posted without its matching credit makes the final trial balance differ. The balance calculation itself will be correct for each account.
- Posting to the wrong account. The arithmetic is correct and the totals agree, but the amount sits in the wrong line.
- Arithmetic slips. Adding a column wrongly produces a balance that is wrong by the size of the slip. A difference divisible by 9 often points to a transposed pair of digits, such as writing 540 as 450.
A later chapter in this tutorial covers how to find these errors. For now, the rule is to calculate carefully, record the side with each balance, and check each result against the normal balance.
Summary of the method
- Start from the beginning balance for permanent accounts, or zero for temporary accounts.
- Total the debits and total the credits.
- Subtract the smaller from the larger.
- Record the result on the side with the larger total.
- Compare with the normal balance and flag any difference.
- Carry each balance to the trial balance in the column for its side.
Exercise
The Supplies account (an asset) began the month with a debit balance of 400. During the month, 250 of supplies were bought (a debit) and 300 of supplies were used (a credit). Another 120 of supplies were returned to the vendor (a credit). What is the ending balance, and is it normal?
Show answer
Debits: 400 + 250 = 650. Credits: 300 + 120 = 420. Net: 650 - 420 = 230, on the debit side. The ending balance is 230 debit. This is the normal side for an asset, so nothing is flagged.
Exercise
At month end, the Cash account has debits of 5,200 and credits of 5,900. What is the balance, which side is it on, and what should you do?
Show answer
Net = 5,200 - 5,900 = -700, so the balance is 700 on the credit side. Cash is an asset with a debit normal balance, so this is abnormal. It may be a legitimate overdraft, or a posting error such as a payment recorded twice or a deposit not posted. Check the postings and the bank statement before listing it as 700 credit on the trial balance.