For example, if a retail store has a storewide gross margin (or mark-up) of 40 percent and sales of $100,000 are recorded during the Perfectunting period, the cost of goods sold would be $60,000. See the following calculation for how this works: Total Sales x Gross Margin (%) = Gross Margin ($) $100,000 x