If I purchased 1,300 shares of lakeside bank stock for $23.32 a share. The total worth of the share is 1, 300 * 23.32 = $30, 316. Okay I received payments dividend worth 0.61 a share; that becomes 0.61 * 23.32 = $14.2252. I sold 1, 300 shares for $24.32. So I sold it for 1, 300 * 24.32 = $31616.
My total return = (Amount I sold the share + dividend received) - Amount I bought the share. So we have (31616 + 14.2552) - 30316 = $31630.2552 - $ 30, 316 = $1314.2552