Trial balance is prepared after closing all ledger accounts to check the arithmetical accuracy of the financial records by ensuring total debits equal total credits. It lists debit and credit balances of ledger accounts and is used to locate errors and as the basis for preparing final financial statements. The trial balance format presents account headings and their debit or credit balances in two columns with totals that must be equal for the accounting to be accurate.