The balance is calculated by adding up all the participant's paid expenses and subtracting the cost of all expenses the participant participates in.
Income and payments made on the list also count in the calculation of the balance.
If you tap on a participant and then tap on the balance, you will see the totals of all transactions that create the balance.