Sub topic 1
The accounting equation: Assets = Liabilities + Equity
Prerequisites
This chapter assumes you can do basic arithmetic with money amounts and recognize everyday transactions such as sales, purchases, loans and paying rent. The Python snippets are optional. You only need to read Python to follow them. You do not need to know debits and credits yet. This chapter builds the foundation that explains them.
Why start with an equation
Every rule about debits and credits comes from one statement:
Assets = Liabilities + EquityIf you understand why this equation always holds, the debit and credit rules in later chapters follow from it. They stop being memorized conventions.
The equation describes a business at a single moment. The left side shows what the business has. The right side shows who has a claim on those things. Nothing can exist without someone having a claim on it. That is why the two sides always match.
The three parts
- Assets are resources the business owns or controls that have future economic value. Examples are cash, money customers owe you (accounts receivable), inventory, equipment and buildings.
- Liabilities are amounts the business owes to outsiders. Examples are bank loans, unpaid supplier bills (accounts payable) and unearned revenue.
- Equity is the owner's claim on the business. It is what remains of the assets after liabilities are paid. Other names are owner's equity, shareholders' equity and net assets.
Because equity is what remains, you can rearrange the equation:
Equity = Assets - LiabilitiesLiabilities have a legal claim on assets first. Equity gets only the remainder, which is why it is called the residual claim.
Two ways to read the equation
Each reading is useful in a different situation.
- Resources and claims. The left side lists what the business has. The right side lists who funded it. Creditors funded part of it, and the owner funded the rest.
- Net worth. If you sold every asset at its recorded value and paid every liability, the owner would keep the equity.
Recorded values are not market values. A building bought years ago is usually listed at its historical cost, less depreciation. So equity is a measure based on recorded amounts, not a market valuation of the owner's stake.
The expanded equation
Equity is not a single number that someone edits at random. It changes for four reasons:
| Event | Effect on equity |
|---|---|
| Owner invests money or property | Increases |
| Business earns revenue | Increases |
| Business incurs an expense | Decreases |
| Owner withdraws money for personal use | Decreases |
Writing these out gives the expanded equation:
Assets = Liabilities + Capital + Revenue - Expenses - WithdrawalsThis is why the five account types in the next chapter are assets, liabilities, equity, revenue and expenses. Revenue and expenses are really temporary sub-accounts of equity. They let you see how much equity changed through operations before you merge the result into equity at period end. A later chapter covers that merge, called closing.
How transactions keep the equation in balance
A transaction is an event with a measurable money effect on the business. Each transaction changes at least two amounts. It must change them so that both sides of the equation remain equal. Only a few patterns are possible:
- Assets increase and liabilities increase by the same amount (you borrow cash).
- Assets increase and equity increases (the owner invests, or you earn revenue).
- One asset increases and another decreases by the same amount (you buy equipment with cash).
- Assets decrease and liabilities decrease (you repay a loan).
- Assets decrease and equity decreases (you pay an expense or the owner withdraws).
- A liability increases and equity decreases (you receive a bill for an expense you have not yet paid).
- One liability increases and another decreases (you replace an overdue bill with a loan).
In every pattern the net change to the left side equals the net change to the right side. This is the idea behind double-entry bookkeeping. A single-sided record cannot show where the other half of the change went.
A worked example
Start with a new business that has nothing. Track each transaction against the equation.
| # | Transaction | Assets | = | Liabilities | + | Equity |
|---|---|---|---|---|---|---|
| 1 | Owner invests $1,000 cash | 1,000 | = | 0 | + | 1,000 |
| 2 | Earns $500 service revenue in cash | 1,500 | = | 0 | + | 1,500 |
| 3 | Pays $300 rent in cash | 1,200 | = | 0 | + | 1,200 |
| 4 | Buys $400 equipment on account | 1,600 | = | 400 | + | 1,200 |
| 5 | Pays $150 of that bill in cash | 1,450 | = | 250 | + | 1,200 |
| 6 | Borrows $2,000 from a bank | 3,450 | = | 2,250 | + | 1,200 |
Notice what each step does:
- Transaction 3 lowers both assets (cash) and equity. Rent is an expense, and expenses reduce equity.
- Transaction 4 raises assets (equipment) and liabilities (accounts payable). Equity does not change because no owner money or income was involved.
- Transaction 5 lowers an asset (cash) and a liability. The business is smaller, but equity is untouched.
- Transaction 6 makes the business larger without affecting equity. Borrowed money gives the bank a claim, not the owner.
After transaction 6 the business has total assets of $3,450. Its owner's stake is still only $1,200. A larger asset total does not mean a more valuable owner's stake.
The same logic in code
This script rejects any transaction that would unbalance the equation. It uses Decimal because floating-point numbers can produce rounding errors with money.
from decimal import Decimal
state = {"assets": Decimal("0"), "liabilities": Decimal("0"), "equity": Decimal("0")}
def record(description, d_assets, d_liabilities, d_equity):
d_assets, d_liabilities, d_equity = (
Decimal(d_assets), Decimal(d_liabilities), Decimal(d_equity)
)
# The change on the left must equal the change on the right.
if d_assets != d_liabilities + d_equity:
raise ValueError(f"Unbalanced transaction: {description}")
state["assets"] += d_assets
state["liabilities"] += d_liabilities
state["equity"] += d_equity
assert state["assets"] == state["liabilities"] + state["equity"]
print(f"{description:<34} A={state['assets']:>5} "
f"L={state['liabilities']:>5} E={state['equity']:>5}")
record("Owner invests cash", "1000", "0", "1000")
record("Service revenue in cash", "500", "0", "500")
record("Pay rent in cash", "-300", "0", "-300")
record("Buy equipment on account", "400", "400", "0")
record("Pay part of the bill", "-150", "-150", "0")
record("Bank loan", "2000", "2000", "0")The final line prints A= 3450 L= 2250 E= 1200, which matches the table. Try changing one amount, such as the rent to -250. The function raises an error because the change to assets no longer equals the change to liabilities plus equity.
Edge cases
- Zero or negative equity. If liabilities exceed assets, equity is negative. The business is insolvent on paper, though it may still operate. The equation still balances.
- Net loss. Expenses larger than revenue reduce equity, even if cash is still available from a loan.
- Withdrawals are not expenses. An owner taking $200 for personal use reduces equity but is not a business cost. Mixing the two distorts reported profit.
- Corporations. Equity is split into contributed capital (stock) and retained earnings (accumulated profits not paid as dividends). The equation is the same, only the equity labels differ.
- Timing. The equation applies at a point in time. Revenue and expenses belong to a period of time, and they feed into equity as the period runs.
Common errors
- Treating equity as cash. Equity is a claim measured in money. It is not a bank balance.
- Counting a loan as equity. Borrowed money creates a liability.
- Forgetting the second effect. Recording only that cash went up is a one-sided entry. Always ask what else changed.
- Changing only one side of the equation. If assets change, either liabilities, equity or another asset must change by an offsetting amount.
- Assuming a balanced equation proves accuracy. The equation stays balanced even if you record a wrong amount on both sides, or put revenue in the wrong place. Balance shows consistency only. A later chapter on the trial balance returns to this limit.
What comes next
The next chapter sorts accounts into five types: assets, liabilities, equity, revenue and expenses. The equation gives each type a home. Assets sit on the left, liabilities and equity sit on the right, and revenue and expenses are temporary pieces of equity. The debit and credit rules build on that placement.
Exercise
A business starts the day with assets of $8,000 and liabilities of $3,000. During the day it buys $1,200 of supplies on account, and then the owner withdraws $500 cash for personal use. What are the assets, liabilities and equity at the end of the day?
Show answer
Starting equity is 8,000 - 3,000 = 5,000. Buying supplies on account raises assets by 1,200 (to 9,200) and liabilities by 1,200 (to 4,200). Equity stays at 5,000. The withdrawal lowers assets by 500 (to 8,700) and lowers equity by 500 (to 4,500). Final position: assets 8,700 = liabilities 4,200 + equity 4,500.
Exercise
A student records "Borrowed $5,000 from the bank" by increasing cash by $5,000 and increasing equity by $5,000. Which part is wrong, and what is the correct effect on the equation?
Show answer
The equity increase is wrong. A bank loan does not come from the owner and is not income. It creates a liability. The correct effect is that assets (cash) increase by 5,000 and liabilities increase by 5,000. Equity does not change.