I thought you were going somewhere else with this - the energy cost of producing the batteries and what-not. You could probably try to estimate that off of the base price of the vehicle (factors like engineering cost would be difficult to analyze - but for a late generation vehicle like the Prius could be assumed to be somewhat lower).
As for your question:
Most hybrids do not use plug-in energy, so the fuel mileage is directly comparable. For those that do - remember that plug-in energy is generated from the cheapest stationary source available, is generated in great bulk, and for the most part can be generated from an optimized system (meeting peak demand in the face of all the AC units in LA kicking on simultaneously excepted). We should probably expect that electric is cheaper even though it has to be converted and transmitted.
The cost of electricity generally runs 8 to 25 cents per kWH (you can find even cheaper examples than 8 cents). By contrast, a gallon of gasoline has about 34 kWH of fuel energy which a great car will realize about 10.5 kWH of actual motion energy from. From the plug to the wheel, 80% realization of electricity to motion is not a bad estimate - upstream inefficiencies in electrical generation are accounted for in the kWH price.
The true cost of gasoline is about the pump minus 55 cents or so in most states (including federal and state fuel taxes). You can also figure from the barrel price with a markup for refining and distribution. At today's prices, that puts a gallon of gas at, very roughly, $2 of real cost, or 19 cents per kWH realized motion energy. Electricity by the above estimates comes out to a range of about 10 cents to 31 cents per kWH realized motion energy.
The vast majority of places within the US (and times of the year), electricity for vehicles is significantly cheaper (e.g. LA peaks at 16 cents per kWH in the worst conditions according to their power company's website, which is just barely - 20 cents per realized kWH - more than $2 gasoline).
However, we should not expect this analysis to hold if we switched everyone to plug-in power. If we added the energy burden being met by gasoline to the electrical generation system, the cost of gasoline would rapidly decline and the cost of electricity would rapidly rise. Additionally, our infrastructure would have to be upgraded at significant capital cost. The continuous improvement of fuel efficiency in combustion engine vehicles (we didn't even touch on diesel here - 36 kWH per gallon of which 15 can be realized as motion) also detracts from the future projected benefits of a switch to electric.
Therefore, if you are the guy plugging in today, you are probably getting ahead. If we all did it, that would not work. However, a market-based smooth transition one way or the other, or with a continued mix, will probably work out nearly optimally.