The increase in the price of gasoline does not necessarily mean more profit for the refinery. If the cost of purchasing crude oil increases faster than the value of the products produced, the refining margin will decrease; Even when the products are sold more expensively. This margin is also not net profit and energy costs, operation and other expenses must be deducted from it.