Question: how to calculate rate of return on investment with dividend?
Answer: 10 shares x ($1 annual dividend x 2) = $20 in dividends from 10 shares. ... 
10 shares x $25 = $250 (Gain from selling 10 shares) ... 
10 shares x $20 = $200 (Cost of purchasing 10 shares)