Profit, margin on sales defines the relationship between sales, profit and cost of sales. As only cost of sales is accounted for the Profit must be gross profit.
Net profit margin is the relationship between sales and net profit ie after all other expenses have been deducted.