The formula is straightforward! You need the total amounts paid for dividends and the total shares that have been issued.
For example if you paid $1,000,000
and you have 1,000 stocks issued then the dividend per share or DPS is :
1,000,000/1,000 or $1,000