Gross profit is computed by subtracting cost of goods sold from net sales.