the markup equation or markup formula is given below in several different formats. For example, if a product costs $100, the selling price with a 25% markup would be $125. Gross Profit Margin = Sales Price – Unit Cost = $125 – $100 = $25. Markup Percentage = Gross Profit Margin/Unit Cost = $25/$100 = 25%.