Debit and Credit in Accounting: Simple Rules with Examples (2026)
Debit and credit are the two words that make accounting feel harder than it is. Most owners were told at some point that debit means money going out and credit means money coming in, which is not quite right and causes endless confusion. In this guide we clear that up. You will learn the golden rules of accounting, see how they connect to the accounting equation, understand what a journal entry is, and work through several examples line by line so the logic clicks. None of it requires maths beyond addition and subtraction.
The accounting equation, again
Every debit and credit rule exists to keep one equation true at all times: Assets = Liabilities + Equity. Double-entry accounting means each transaction touches at least two accounts, and the amounts are recorded so the equation stays balanced. That is why the system is called double entry: for every debit there is an equal and opposite credit. Get that idea and the rules stop feeling arbitrary.
The golden rules of accounting
Traditional Indian bookkeeping groups accounts into three types, each with its own rule. These three lines are the whole system.
- Personal accounts (a person or firm, such as a customer or supplier): Debit the receiver, credit the giver. If you pay a supplier, the supplier is the receiver of money and gets debited.
- Real accounts (assets, such as cash, stock, machinery): Debit what comes in, credit what goes out. Cash coming into the business is a debit to cash.
- Nominal accounts (income and expenses, such as sales, rent, salary): Debit all expenses and losses, credit all incomes and gains. Rent paid is a debit to the rent account; a sale is a credit to sales.
Debit vs credit, demystified
Here is the shortcut that replaces memorising. A debit and a credit each push an account in a direction, and the direction depends only on the account type.
- A debit increases assets and expenses, and decreases liabilities, income and equity.
- A credit increases liabilities, income and equity, and decreases assets and expenses.
So debit is not simply money out and credit is not simply money in. When cash comes in from a sale, you debit cash (an asset went up) and credit sales (income went up). Both entries are the same amount, and the books stay balanced.
What a journal entry looks like
A journal entry records one transaction, naming the account debited, the account credited, and the amount. The convention is to write the debit first, then the credit indented below with the word "To" in front of it. Here is the shape of one.
Books that keep themselves
IndiaCRM does GST invoicing, khata and payment tracking so your numbers stay current, free. See GST billing or create your free account.Worked examples
Now put the rules to work. For each transaction, ask which two accounts are affected and which direction each moves, then apply the golden rule.
A useful habit is to say the transaction aloud in plain words first, then translate it. "Cash came in and I earned a sale" already contains both accounts and both directions, so the entry writes itself. Do that with each example below and the rules become second nature.
Example 1: You sell goods for 50,000 in cash.
Cash (an asset) comes in, so debit Cash. Sales (income) is earned, so credit Sales. Both 50,000.
Example 2: You pay 24,000 shop rent by bank transfer.
Rent (an expense) is incurred, so debit Rent. Bank (an asset) goes down, so credit Bank. Both 24,000.
Example 3: You buy stock worth 80,000 on credit from a supplier.
Stock (an asset) comes in, so debit Purchases. You now owe the supplier, a liability, so credit the supplier's account. Both 80,000.
Example 4: The supplier is paid 80,000 later by bank.
The supplier (the receiver of money) is debited, and Bank (an asset) goes down, so credit Bank. Both 80,000.
A quick cheat sheet by account type
If the three golden rules still feel like a lot to hold in your head, memorise this shorter table instead. It says the same thing in terms of the five modern account groups, and it is all you really need to place any entry correctly.
- Assets (cash, bank, stock, debtors, machinery): a debit increases them, a credit decreases them.
- Expenses (rent, salary, purchases, electricity): a debit increases them, a credit decreases them.
- Liabilities (creditors, loans, GST payable): a credit increases them, a debit decreases them.
- Income (sales, interest earned, commission): a credit increases them, a debit decreases them.
- Equity (owner's capital, retained earnings): a credit increases it, a debit decreases it.
Read those five lines back and you will see the pattern: assets and expenses behave one way, and liabilities, income and equity behave the opposite way. That single split is the entire logic of double entry. When you record a transaction, name the two accounts it touches, decide whether each went up or down, and the cheat sheet tells you which is the debit and which is the credit.
Why this matters even with software
In practice, billing and accounting software creates these journal entries for you the moment you raise an invoice or record a payment, so you rarely write them by hand. When you raise a GST sale invoice, the app debits the customer or cash and credits both sales and the GST payable account in one step, exactly as the examples above show, without you touching a ledger. But understanding debit and credit lets you read the reports the software produces, question figures that look wrong, and talk to your accountant as an equal. These same entries roll up into the two big statements: the profit and loss statement and the balance sheet. If you are moving off manual books, our guide to Tally and its alternatives is a useful next read.