How to Calculate Dividends — Complete Guide with Formula & Examples