How to calculate markup percentage?

anybody can explain the how to calculate the markup?

Markup formula is simple way to calculate
The market up formula is as under mentioned please:Markup % = (Total Selling Price – Cost) / Cost x 100
Where the markup formula is dependent on,
Total Selling Price = The Total Sale Price
Cost = The Cost of The Good
Example:
Total Selling Price is = 150
Cost = 120Markup % = 150120 = 30
~ = 30/120 = 0.25
~ = 0.25 x 100 = 25
Markup % = 25 % 
Thanks for sharing @moaaz