Profit = sales - expense
sales is a function of volume
Yes, as in volume X price=sales.
And unit price-cost=margin.
It's all math.