Gross margin - Wikipedia, the free encyclopedia Gross margin = net sales – cost of goods sold + annual sales return. or as the ratio of gross profit to cost of goods sold, usually in the form of a percentage:.