The difference between the gross refining margin and the expenses related to producing and marketing petroleum products is known as the net refining margin. It shows the cash proceeds from refining (before taxes) minus sales of non-petroleum products.