Zamp

Trial Balance: Definition, Steps, and Where AI Agents Fit

What a trial balance is, how to prepare one step by step, what to do when totals don't match, and the errors a balanced trial balance still misses.

5 MIN. READPUBLISHED NOV 27
Ashwat Mahendran
Ashwat MahendranMarketing Team @ Zamp. Documenting the influence and impact of AI across industries.

A trial balance is a report that lists every general ledger account with a nonzero balance, split into debit and credit columns. Accountants prepare it at the end of a period to check that total debits equal total credits before they build financial statements. Equal totals show the arithmetic agrees. They do not prove every entry is correct.

What is a trial balance?

A trial balance is an internal working report. It shows the ending balance of each account in the general ledger on a given date, so the accountant can test the double-entry books before anything leaves the finance team. OpenStax describes it as a list of all general ledger accounts with nonzero balances, prepared as the fourth step of the accounting cycle.

The idea is old. Luca Pacioli's 1494 work Summa de arithmetica describes a technique similar to a post-closing trial balance, although he did not use the term.

How is a trial balance different from a balance sheet?

The two reports get confused because both list balances, but their audience and purpose differ. A trial balance is a check on the ledger. A balance sheet is a formal statement of financial position that goes to investors, lenders, and regulators. CFI notes that a trial balance is not an official financial statement and is usually kept internal. In practice, the trial balance is the working draft the balance sheet is built from.

How do you prepare a trial balance?

Sage and OpenStax describe the same core steps:

  1. Post every transaction to the general ledger. The trial balance is only as accurate as the ledger behind it.
  2. Calculate the ending balance of each account.
  3. List every account with a nonzero balance.
  4. Enter debit balances in the debit column and credit balances in the credit column. Assets and expenses usually carry debit balances. Liabilities, equity, and revenue usually carry credit balances.
  5. Total both columns.
  6. If the totals differ, find the error. Do not force the columns to match.

Once the totals agree, the accountant posts adjusting entries for items such as accruals, deferrals, and depreciation, then prepares an adjusted trial balance. That version feeds the income statement and balance sheet.

What are the types of trial balance?

Sage describes three versions:

  • Unadjusted: prepared before adjusting entries, as a first check that debits and credits align.
  • Adjusted: prepared after adjusting entries, and the basis for financial statements.
  • Post-closing: prepared after revenue and expense accounts are closed, leaving only assets, liabilities, and equity.

What should you do when the totals do not match?

Start with the size of the gap. OpenStax gives two quick tests. If the difference divided by two matches the amount of an account, that balance may sit on the wrong side of the report. If the difference divided by nine gives a whole number, two digits may have been transposed. In OpenStax's worked example, a $200 gap divided by two pointed to a $100 dividends balance sitting in the credit column. A $1,800 gap divided by nine pointed to an equipment balance entered as $5,300 instead of $3,500.

If neither test works, re-add both columns to rule out simple arithmetic. Then go back through the entries one at a time.

What errors can a balanced trial balance miss?

A trial balance that balances can still be wrong. It tests arithmetic, so some errors leave both columns equal. CFI lists five that it cannot detect:

  • Omission: a transaction never enters the books.
  • Error of original entry: both sides of a transaction carry the wrong amount.
  • Reversal: the right amount goes to the right accounts, with debit and credit swapped.
  • Principle error: the amount and side are right, but the account type is wrong, such as recording a liability as an expense.
  • Commission error: the right type of account is used, but the wrong account within that type.

For example, if a $1,000 equipment purchase is booked as an office supplies expense, both columns still match. Only a review of what the company actually bought will catch it.

The problem is bigger than one example. Raymond Panko's review of operational spreadsheet audits found important errors in 91% of the 55 spreadsheets in the five most rigorous studies, and in 84% of 163 spreadsheets across nine studies with known methods. His review also reports that single inspectors in inspection experiments caught only 34% to 69% of the errors in the spreadsheets they checked. A trial balance is a useful first check, but it is not a control on its own.

Where do AI agents fit in the trial balance process?

Most trial balance work is mechanical. Pulling balances, totaling columns, and confirming that every account with a balance is listed are repeatable tasks. Deciding whether an unusual balance is a real error, or whether an account is classified correctly, takes judgment. That split is where an AI agent fits.

The manual load is real. Ledge's 2025 benchmark, based on 100 finance professionals, found that 94% of teams use Excel somewhere in the month-end close, and half of them say Excel is a key reason the close runs slow. Ledge sells close software, so read those figures as vendor benchmarks, not an independent census.

An agent can run the repeatable part at every close. It pulls ledger balances, totals both columns, applies the divide-by-two and divide-by-nine tests, and flags each variance with the likely cause and the entries behind it. A controller then decides what is wrong and approves any correcting entry. Zamp's month-end close checklist follows the same split: agents handle the matching and entry preparation, and a controller approves entries, estimates, and the final lock.

A useful tie-out for the ledger is to match subledgers to control accounts. The AR aging report total should equal the accounts receivable balance in the general ledger, and the AP aging report total should equal accounts payable. An agent can run those comparisons on every close and report any gap with its evidence.

An agent does not remove the need for the check itself. A balanced trial balance still only confirms arithmetic. The agent's job is to make the check faster. The controller's job is to decide what a mismatch means. The gain is in catching mismatches sooner and recording why each one happened. For a wider view of where these agents run finance work, see AI agents for finance and accounting.

Sources

Get new essays in your inboxThe Z-Axis, delivered whenever we publish something worth reading.
Like what you read?Add Zamp AI as a preferred source on Google to see more of our work in your search results.
Prefer on Google
Velocity is Survival

Hand the rest to an AI employee that runs it end-to-end

book demoDither Right Arrow