Skip to content

Fuel Energy Calculator

Calculate the energy content of fuel by type and quantity for efficiency analysis.

By CalcGenius Editorial TeamLast reviewed August 28, 20253 min read
Fuel Energy Calculator
📊
Enter your values and click Calculate

About

Chemical fuels store energy in the bonds of carbon-hydrogen molecules, releasing it through combustion with atmospheric oxygen. Different fuels have different energy densities \u2014 the energy per unit volume (MJ/L) or per unit mass (MJ/kg). The reference values for common fuels are: gasoline 34.2 MJ/L and 44 MJ/kg; diesel 38.6 MJ/L and 45.6 MJ/kg; ethanol 23.5 MJ/L and 29.7 MJ/kg; biodiesel 35.0 MJ/L and 42.2 MJ/kg; hydrogen 10.8 MJ/L at 700 bar and 120 MJ/kg; natural gas 38 MJ/m\u00b3 at 1 atm and 55.5 MJ/kg; coal 24 MJ/kg; wood 16 MJ/kg; propane 25.5 MJ/L and 50.3 MJ/kg.

Diesel contains about 13% more energy per liter than gasoline (38.6 vs 34.2 MJ/L) because diesel fuel is denser (0.85 kg/L vs 0.74 kg/L) and contains longer-chain hydrocarbons with more carbon-carbon bonds. Combined with the higher compression ratios of diesel engines (15\u201320:1 vs 8\u201312:1 for gasoline), which extract more mechanical work per unit of fuel, diesel vehicles are typically 25\u201340% more fuel-efficient than comparable gasoline vehicles. This is why long-haul trucking worldwide uses diesel almost exclusively.

Hydrogen is exceptional in two opposite ways. Per unit mass it has the highest energy density of any chemical fuel: 120 MJ/kg, almost 3\u00d7 gasoline's 44 MJ/kg. But as a gas at ambient conditions it has the lowest volumetric energy density: only 0.011 MJ/L. Compressed to 700 bar (10,000 psi), hydrogen reaches about 10.8 MJ/L \u2014 still less than a third of gasoline. Liquefied at \u2212253 \u00b0C, it reaches 8.5 MJ/L. This volumetric energy deficit is the fundamental engineering challenge for hydrogen vehicles, which must carry very large, high-pressure tanks to achieve gasoline-comparable range.

Batteries are far behind fuels for energy density because they must carry both the reactant and the oxidizer in the same package, while chemical fuels pull oxygen from the air for free. Lithium-ion batteries deliver about 0.9 MJ/kg \u2014 about 50\u00d7 less than gasoline per kg, or 100\u00d7 less accounting for the oxygen. A Tesla Model 3 carries about 480 kg of batteries for 75 kWh = 270 MJ of energy; a comparable gasoline car carries 40 kg of fuel for 1,370 MJ of energy \u2014 5\u00d7 more energy, 12\u00d7 less mass. Batteries win on efficiency (EVs convert about 80\u201390% of stored energy to motion, vs 20\u201330% for internal combustion) and emissions, but lose decisively on energy density.

The unit conversions are exact: 1 MJ = 0.2778 kWh = 947.8 BTU = 0.001 GJ. The kilowatt-hour is the standard billing unit for electrical energy (1 kWh = 3.6 MJ); the BTU is the standard unit for heating and cooling loads (1 BTU = 1,055.06 J). A typical U.S. home uses about 100 million BTU per year for heating and cooling, equivalent to 105 GJ = 29,300 kWh. At an average U.S. electricity rate of $0.16/kWh, that is about $4,690 per year of electricity if it were all electric heating \u2014 a strong economic argument for natural gas furnaces in cold climates.

How to Use

  1. 1
    Select the fuel type
    Pick from gasoline, diesel, ethanol, biodiesel, hydrogen, natural gas, coal, wood, or propane. Each has a different energy density value per its native unit (volume or mass).
  2. 2
    Select the amount unit
    Choose liters (L), kilograms (kg), or cubic meters (m³) to match how the fuel is typically measured. Gasoline and diesel are sold by the liter; coal and wood are sold by the kilogram; natural gas is sold by the cubic meter.
  3. 3
    Enter the amount
    Type the quantity of fuel you have. The calculator applies the appropriate energy density based on the fuel and unit selections.
  4. 4
    Read the calculated energy content
    The hero block shows the total energy in megajoules (MJ), with cross-reference values in gigajoules (GJ), kilowatt-hours (kWh), and BTU shown below.
  5. 5
    Compare fuels at equal energy
    If you have 1 GJ of energy, you need 29.2 L of gasoline, 25.9 L of diesel, 1,260 kg of wood (at 16 MJ/kg), or 42.7 L of liquid hydrogen. The vast differences illustrate the energy-density advantage of liquid hydrocarbon fuels over solid biofuels.

Formula

The fundamental formula is straightforward multiplication:

E = amount \u00d7 energy_density

Where:

  • E = total energy content (MJ)
  • amount = quantity of fuel (L, kg, or m\u00b3)
  • energy_density = MJ per L (or kg or m\u00b3) for the chosen fuel

Energy density values used in this calculator:

Gasoline:  34.2 MJ/L = 44.0 MJ/kg
Diesel:    38.6 MJ/L = 45.6 MJ/kg
Ethanol:   23.5 MJ/L = 29.7 MJ/kg
Biodiesel: 35.0 MJ/L = 42.2 MJ/kg
Hydrogen:  10.8 MJ/L @ 700 bar = 120 MJ/kg
Natural gas: 38 MJ/m\u00b3 @ 1 atm = 55.5 MJ/kg
Coal:     24 MJ/kg (bituminous)
Wood:     16 MJ/kg (dry)
Propane:   25.5 MJ/L = 50.3 MJ/kg

Unit conversions for the result:

  • 1 GJ = 1,000 MJ
  • 1 kWh = 3.6 MJ (exact)
  • 1 BTU = 1,055.06 J (so 1 MJ = 947.8 BTU)
  • 1 gallon (U.S.) = 3.785 L
  • 1 metric ton = 1,000 kg

Worked Example

How much energy is in a full tank of gasoline (50 L)?

  • Energy = 50 L \u00d7 34.2 MJ/L = 1,710 MJ
  • In GJ: 1.710 GJ
  • In kWh: 1,710 / 3.6 = 475 kWh
  • In BTU: 1,710 \u00d7 947.8 = 1,621,000 BTU \u2248 1.62 MMBTU
  • For comparison: 475 kWh is about 16 days of average U.S. household electricity.

How much energy is in 1 metric ton of coal?

  • Energy = 1,000 kg \u00d7 24 MJ/kg = 24,000 MJ = 24 GJ
  • In kWh: 24,000 / 3.6 = 6,667 kWh
  • In BTU: 24,000 \u00d7 947.8 = 22.7 MMBTU
  • A 1 GW coal plant burning 6,000 tons/day uses 144 TJ/day of fuel energy to generate 86 TJ = 24,000 MWh of electricity (33% thermal efficiency).

Compare 50 L of hydrogen @ 700 bar vs 50 L of gasoline:

  • Gasoline: 50 \u00d7 34.2 = 1,710 MJ
  • Hydrogen: 50 \u00d7 10.8 = 540 MJ (about 1/3 the energy)
  • Hydrogen by mass: 50 L @ 700 bar \u2248 3.6 kg; 3.6 \u00d7 120 = 432 MJ (matches volumetric answer)

Tips

  • Diesel contains 13% more energy per liter than gasoline (38.6 vs 34.2 MJ/L), and diesel engines run 35–45% thermal efficiency vs 25–30% for gasoline engines. Combined, a diesel vehicle can travel 25–40% farther per liter of fuel.
  • Hydrogen has the highest gravimetric energy density of any chemical fuel (120 MJ/kg vs gasoline's 44 MJ/kg) but the lowest volumetric density even at 700 bar (10.8 MJ/L vs gasoline's 34.2 MJ/L). This volumetric gap is why hydrogen cars still struggle with range.
  • When comparing fuels, always specify per-volume or per-mass. Gasoline is 34.2 MJ/L but 44 MJ/kg; coal is 24 MJ/kg but only 0.032 MJ/L (because coal density is only about 1.3 kg/L). The volumetric energy is what matters for vehicle tanks; the gravimetric matters for aircraft.
  • Batteries lose decisively on energy density: lithium-ion at 0.9 MJ/kg is 50× worse than gasoline per kg, or 100× worse accounting for the air gasoline uses. This is why EVs carry 500–1,000 kg of batteries to deliver the range of 40 kg of gasoline.
  • A BTU is defined as the energy to heat 1 lb of water by 1 °F. 1 MJ = 947.8 BTU; 1 kWh = 3,412 BTU. A typical U.S. home uses about 100 million BTU per year for heating/cooling = 105 GJ = 29,300 kWh.

Common Mistakes

Common mistakes
  • Confusing volumetric and gravimetric energy density. Gasoline is 34.2 MJ/L but 44 MJ/kg; hydrogen is 10.8 MJ/L but 120 MJ/kg. Always specify which you mean.
  • Forgetting that the fuel's density is needed to convert between L and kg. Diesel is 0.85 kg/L; gasoline is 0.74 kg/L; propane is 0.51 kg/L. Without density, you cannot convert.
  • Assuming energy densities are exact. They vary with fuel grade, blend, temperature, and moisture (for biomass). The values used here are typical references; consult the EIA or DOE for fuel-specific data.
  • Forgetting that combustion energy requires oxygen from the air. The energy density of gasoline is 44 MJ/kg of gasoline, but you also need 3.5 kg of oxygen per kg of gasoline \u2014 about 15 kg of air. Per kg of total reactants, gasoline delivers only 2.5 MJ/kg, comparable to lithium batteries at 0.9 MJ/kg.
  • Treating fuel energy as electricity-equivalent. 1 L of gasoline = 9.5 kWh of chemical energy, but converting that to electricity via an engine-generator at 30% efficiency yields only 2.85 kWh of electricity.

Frequently Asked Questions

How much energy is in a liter of gasoline?
One liter of gasoline contains approximately 34.2 megajoules (MJ) of chemical energy, equivalent to 9.5 kWh or 32,400 BTU. That is about 8,170 food calories (kcal) — about 4 days of an adult's caloric intake in a single liter of fuel. A U.S. gallon of gasoline (3.785 L) contains about 129 MJ = 35.8 kWh = 122,000 BTU. The exact energy varies slightly with the gasoline blend (regular vs premium, summer vs winter, ethanol content), but 34.2 MJ/L is a standard reference value.
Why does diesel have higher energy density than gasoline?
Diesel fuel contains about 38.6 MJ/L versus gasoline's 34.2 MJ/L — about 13% more energy per liter. The reason is that diesel fuel is denser (about 0.85 kg/L vs gasoline's 0.74 kg/L) and contains larger hydrocarbon molecules with more carbon-carbon bonds. Diesel engines also operate at higher compression ratios (15–20:1 vs 8–12:1 for gasoline), extracting more mechanical work per unit of fuel. Combined, these factors make diesel vehicles about 20–30% more fuel-efficient than comparable gasoline vehicles.
How does hydrogen compare to gasoline for energy?
Hydrogen has the highest energy per mass of any fuel — about 120 MJ/kg versus gasoline's 44 MJ/kg. But hydrogen is a gas at ambient conditions, so per volume it is much lower: compressed to 700 bar (10,000 psi), gaseous hydrogen has about 10.8 MJ/L versus gasoline's 34.2 MJ/L. So a hydrogen tank at 700 bar contains only about 32% of the energy of the same volume of gasoline. Liquid hydrogen (at −253 °C) reaches about 8.5 MJ/L — still lower than gasoline because the density is only 0.071 kg/L.
How much energy is in a kilogram of coal?
Bituminous coal contains about 24 MJ/kg — roughly half the energy per kg of gasoline (44 MJ/kg). A metric ton of coal contains about 24 GJ. Anthracite (the highest grade) has about 30 MJ/kg; lignite (the lowest grade) has about 15 MJ/kg. A typical 1,000 MW coal power plant burns about 6,000 metric tons of coal per day, releasing about 144 TJ of thermal energy and converting about 33% of it (about 86 TJ = 24,000 MWh) to electrical energy.
Why are batteries so much heavier than fuels for the same energy?
Because chemical fuels store energy in the weak molecular bonds of carbon-hydrogen compounds, which release energy by combining with atmospheric oxygen. Batteries must store both the fuel and the oxidizer in the same package, which doubles the mass. Lithium-ion batteries have about 0.9 MJ/kg — about 50× less than gasoline per kg, or 100× less per kg if you account for the oxygen gasoline pulls from the air. This is why EVs carry 500–1,000 kg of batteries to deliver the range of 40 kg of gasoline.
How many BTU in 1 MJ?
One megajoule equals approximately 947.8 BTU (British thermal units). The exact conversion is 1 BTU = 1,055.06 J = 1.05506 kJ, so 1 MJ / 1.05506 kJ/BTU = 947.8 BTU. A BTU is defined as the energy needed to raise 1 pound of water by 1 °F at constant pressure, originally a thermochemical reference. A typical U.S. home uses about 100 million BTU per year for heating and cooling, equivalent to about 105 GJ = 29,300 kWh.

Energy density per fuel

Energy density measures how much energy is stored per unit volume (MJ/L) or per unit mass (MJ/kg) of a fuel. The values span a wide range: liquid hydrocarbons (gasoline, diesel) deliver 32\u201336 MJ/L and 44\u201346 MJ/kg, while solid biofuels like wood deliver only about 16 MJ/kg. Hydrogen is exceptional: 120 MJ/kg per mass (highest of any chemical fuel), but only 10.8 MJ/L per volume even at 700 bar pressure. Coal is around 24 MJ/kg; natural gas is about 38 MJ/m\u00b3 at ambient pressure.

Why diesel > gasoline

Diesel fuel contains about 38.6 MJ/L versus gasoline's 34.2 MJ/L \u2014 about 13% more energy per liter. The reason is twofold: diesel is denser (about 0.85 kg/L vs gasoline's 0.74 kg/L) because its hydrocarbon molecules are longer (12\u201320 carbons vs gasoline's 5\u201312 carbons), and longer hydrocarbons pack more energy per unit volume due to higher C-H to C-C bond ratios. Diesel engines also use higher compression ratios (15\u201320:1 vs 8\u201312:1), improving thermal efficiency from about 25\u201330% in gasoline engines to 35\u201345% in diesel engines. Combined, a diesel vehicle can travel 25\u201340% farther per liter than a comparable gasoline vehicle.

Hydrogen: dense per mass, light per volume

Hydrogen is the lightest element, with a molecular weight of just 2 g/mol (H\u2082). Per unit mass it has the highest energy density of any chemical fuel \u2014 about 120 MJ/kg, almost 3\u00d7 gasoline. But as a gas at ambient conditions, hydrogen is extremely low-density (0.0899 g/L at STP), giving only 0.011 MJ/L. Compressed to 700 bar (10,000 psi), it reaches about 10.8 MJ/L \u2014 still less than a third of gasoline. Liquefied at \u2212253 \u00b0C, hydrogen reaches 8.5 MJ/L. This volumetric energy deficit is the fundamental engineering challenge for hydrogen vehicles and aircraft.

Why batteries are far behind fuels

Chemical fuels store energy in the weak bonds of carbon-hydrogen molecules, releasing energy by combining with atmospheric oxygen that the fuel does not need to carry. Batteries must store both the reactant and the oxidizer in the same package, doubling the mass. The result: lithium-ion batteries deliver about 0.9 MJ/kg \u2014 50\u00d7 less than gasoline per kg, or 100\u00d7 less accounting for the oxygen gasoline uses from the air. A Tesla Model 3 carries 480 kg of batteries for 75 kWh = 270 MJ of energy; a comparable gasoline car carries 40 kg of fuel for 1,370 MJ of energy \u2014 5\u00d7 more energy, 12\u00d7 less mass. Batteries win on efficiency and emissions, but lose decisively on energy density.

Energy density of common fuels \u2014 volumetric (MJ/L) and gravimetric (MJ/kg).
FuelMJ/LMJ/kgkWh/LBTU/LNotes
Gasoline34.244.09.532,400Reference fuel
Diesel38.645.610.736,600+13% per L vs gas
Ethanol (E100)23.529.76.522,300Lower energy than gas
Biodiesel (B100)35.042.29.733,200Renewable diesel
Hydrogen @ 700 bar10.8142.03.010,2001/3 of gas per L
Natural gas (1 atm)0.03855.50.01136Gaseous fuel
Propane (LPG)25.550.37.124,200Camping fuel
Coal (bituminous)0.03224.00.00930Solid fuel
The hydrogen energy density paradox
Hydrogen is the most energy-dense chemical fuel per unit mass (120 MJ/kg, nearly 3\u00d7 gasoline) but the least energy-dense per unit volume (10.8 MJ/L even at 700 bar, only 1/3 of gasoline). This paradox arises because hydrogen is the lightest element: its molecules have the lowest possible mass, so even tightly packed at 700 bar they contain less mass per liter than liquid gasoline. The result is that hydrogen vehicles require very large, very high-pressure tanks (typically 70 MPa / 10,000 psi, 5\u20137 kg of H\u2082 in a 150\u2013200 L tank) to match the range of a gasoline vehicle with a 40 L tank.

Authoritative References

  • Wikipedia — Energy density— Wikipedia
    Comprehensive table of energy densities for common fuels and battery chemistries, with discussion of volumetric vs gravimetric energy density trade-offs.
  • EIA — Fuel energy contents— U.S. EIA
    The U.S. Energy Information Administration reference page for fuel energy contents and unit conversions used in energy statistics.
  • Department of Energy — Alternative Fuels— U.S. DOE
    U.S. Department of Energy Alternative Fuels Data Center, with detailed energy density values for gasoline, diesel, ethanol, biodiesel, hydrogen, and natural gas.

Try our other free calculators

CalcGenius has 1,200+ free, ad-free, browser-based calculators for finance, health, math, science, and everyday life. No sign-up required.

Verify Fuel Energy — Standard Equations & Quick Check