Debits and credits are simply the left and right sides of an account. Every journal entry has equal debits and credits, always. What changes is what each side does to each kind of account. Debits increase assets and expenses, and decrease liabilities, equity and income. Credits do the exact opposite: they increase liabilities, equity and income, and decrease assets and expenses. Learn that one sentence and the whole system is yours; everything else is practice.
Your bank statement says your account is in credit when you have money, which seems to contradict the rule that credits decrease assets. It does not: the statement is written from the bank's point of view. To the bank, your deposit is a liability, money it owes you, and credits increase liabilities. Your cash at bank is your asset, and in your own books receiving money is a debit to cash. Same transaction, two ledgers, two perspectives. Most beginner confusion dies once this is understood. A worked minute helps. The business pays rent of 1,200 from the bank. Rent is an expense, and expenses grow on the debit side: debit rent 1,200. Bank is an asset, and it shrinks, which for an asset is a credit: credit bank 1,200. Now the business buys a van on a loan. The van, an asset, grows: debit vehicles. The loan, a liability, grows: credit loans. Two entries, and the rule has handled both without a single exception.
Accountants group accounts into five types: assets, liabilities, equity, income and expenses. A common memory frame is that debits favour the first and last: assets and expenses grow on the debit side. When posting an entry, ask two questions: which accounts does this transaction touch, and does each one grow or shrink? The sides then choose themselves. Post slowly and narrate the transaction in words first; speed arrives on its own after a few dozen entries. If a side ever refuses to come naturally, return to the transaction and describe it in plain words before touching the accounts: what arrived, what left, what is now owed, what is now owned. The plain words sentence contains the entry; the accounts are only its translation. Experienced bookkeepers still do this on strange transactions, silently, in seconds. It is not a beginner's crutch. It is the method itself.
The free calculator that goes with this guide:
Browse the accounting calculators