I am trying to calculate the rate of return on AAPL with dividends for years 201

I am trying to calculate the rate of return on AAPL with dividends for years 2017 and 2018.
I am using the formula [(P1 – Po) / (Po)] *100 where P1 is the ending price (current price) and Po is the starting price from one year ago.
P1 = 150.73 and p0 = 169.23
I am not sure how to incorporate the dividends.
Thank you for any insight.

"Get 15% discount on your first 3 orders with us"
Use the following coupon
"FIRST15"

Order Now