Revenue less cost, i.e. the money left for distribution to stockholders and reinvestment in the company infrastructure.
Then these items (refining costs? And marketing/distribution? Taxes?) should be deducted before profit is reported.