There is more to gas than taxes…but 0.44$ at $4bucks is nuts.
In a simple illustration, let’s assume an oil company is paying $100 for a barrel (42 gallons) of basic crude oil. Their cost for a gallon will be about $2.38. At a gasoline-pump price of $4.00 per gallon, 44 cents has to pay for taxes and 20 cents for distribution and marketing expenses. This leaves $3.36 for the oil companies. Out of that total they have to pay for the cost of the gallon of crude oil itself which was $2.38 and also the 40 cents to refine it into gasoline. This leaves $0.58 profit per gallon of gasoline. As noted, however, depending on which report one looks at, this profit-margin can range anywhere between an estimated 30 to 60 cents per gallon.
(Kinda old information. I got it 3 months ago)
https://www.whatitcosts.com/crude-oil-refining-process-gasoline-cost/