The opening balance is the closing balance from the previous accounting period. To calculate it, ensure that all accounts are balanced, and that the opening balance equity account has a zero balance.