In order to calculate a sales margin, add up all of the sales, calculate the gross number of expenses and then subtract that number from total profits. Divide net profit by gross sales to get a sales margin with help from an experienced teacher in this free video on basic math.