Gross profit and margin from revenue and cost of goods sold.
Gross margin = (revenue − COGS) ÷ revenue.