Gross refining margin

The difference between the sales revenue received from the sale of refined products produced by a refinery and the cost of crude oil and (where relevant) other immediate feedstocks processed by it.