The terms gross profit and gross margin are used synonymously. The calculation of gross profit is net sales minus accounting cost of goods sold.