What energy per volume tells you
Volumetric energy density measures how much energy sits in a given space. It matters when volume is the limiting factor: a fuel tank, a battery pack, a gas storage cavern or a thermal store. The unit J/m³ is dimensionally identical to the pascal, so an energy density of 10 kJ/m³ has the same dimensions as a pressure of 10 kPa. This page converts the value from kilojoules per cubic meter to megajoules per cubic meter. The default input of 10 kJ/m³ gives 0.01 MJ/m³. The formula is MJ/m³ = kJ/m³ × 0.001. Both units are SI multiples with an exact factor, and the conversion does not look at what the energy is. It could be chemical, thermal, electric or magnetic, as long as it is expressed per volume.
Why the factor is one thousandth
A kilojoule is 10^3 J and a megajoule is 10^6 J, according to the BIPM SI Brochure and NIST SP 811. One kilojoule is therefore 10^-3 MJ. The volume part of the unit is the cubic meter on both sides, so it cancels and the factor is exactly 0.001. The conversion is identical to moving a decimal point three places to the left. 38,000 kJ/m³ becomes 38 MJ/m³, 900 kJ/m³ becomes 0.9 MJ/m³, and 10 kJ/m³ becomes 0.01 MJ/m³. There is no rounding in the factor. If a calculation yields a slightly different last digit, such as 0.009999999999999998, the cause is floating-point arithmetic in the software rather than a different conversion. The assumptions on the page also note that the conversion does not move to energy per mass, because that requires the density of the material.
The default example in context
The default 10 kJ/m³ is a small energy density by fuel standards. Expressed as 0.01 MJ/m³, it equals 10 kPa in pressure units, about one tenth of an atmosphere. One illustration is the energy of compressed gas: a gas at an absolute pressure 10 kPa above ambient stores, in the sense of pressure-volume work, roughly that much energy per cubic meter. Another is the energy density of a magnetic field. A flux density of 0.16 T in vacuum or air corresponds to about 10 kJ/m³, from B²/(2μ0) with μ0 = 4π × 10^-7 H/m. These are two independent routes to the same number and they show how the unit relates to pressure and to field energy. The converter is indifferent to the origin; it only changes the prefix on the energy.
Fuels and batteries compared
Real energy carriers hold far more than the default. Natural gas at standard conditions contains roughly 38 MJ/m³, or 38,000 kJ/m³, with the exact figure depending on composition and the reference conditions. Gasoline holds about 34 MJ per liter, which is 34,000 MJ/m³, or 34,000,000 kJ/m³. Lithium-ion cells are commonly in the range of a few hundred watt-hours per liter, around 0.9 to 2.5 MJ per liter, which is 900 to 2,500 MJ/m³. Hydrogen gas at 700 bar holds roughly 5 MJ per liter on a lower-heating-value basis, near 5,000 MJ/m³. These are rounded, commonly quoted magnitudes and vary by source and basis. Converting a kJ/m³ figure to MJ/m³ makes such comparisons readable, since 34,000,000 kJ/m³ is clumsy and 34,000 MJ/m³ is easier to scan.
Gas energy content and the reference conditions
Energy density for a gas depends on temperature and pressure, because the number of molecules per cubic meter changes. A natural gas heating value of 38 MJ/m³ applies only at a stated reference state, for instance 15 °C and 101.325 kPa, or 0 °C in other conventions. A value reported at one reference and used at another can be several percent off. Heating values also differ between higher and lower, depending on whether the water produced in combustion is counted as condensed. When you copy a figure from a utility or a standard, record its reference conditions with the number. The converter handles only the prefix. For a figure of 38,000 kJ/m³ it returns 38 MJ/m³, and the reference state stays whatever the source said.
Alternative units on the page
The drop-down lists include joules per cubic meter, joules per liter, watt-hours per liter and kilowatt-hours per cubic meter. They are all related by exact factors. One J/L is 1,000 J/m³, so 1 J/L equals 1 kJ/m³ and 0.001 MJ/m³. One Wh/L is 3,600 J/L, so it is 3.6 MJ/m³. One kWh/m³ is 3.6 MJ/m³ as well, because a kilowatt-hour is 3.6 MJ and a cubic meter holds 1,000 liters. That equality of Wh/L and kWh/m³ surprises people the first time they see it. A battery rated at 250 Wh/L therefore stores 0.9 MJ/L, or 900 MJ/m³. If you are comparing a battery to a fuel, convert both to MJ/m³ and then compare. The page can do the pairs in a single step.
Electric and magnetic field energy
Fields store energy in space. The energy density in an electric field is ½ε0E², with ε0 about 8.854 × 10^-12 F/m. Air breaks down at roughly 3 MV/m, which would give about 40 J/m³, or 0.04 kJ/m³, so electric fields in air hold little energy per volume. Magnetic fields store much more. A 1 T field has an energy density of B²/(2μ0), about 398 kJ/m³, or 0.398 MJ/m³. A 10 T field is 100 times that, 39.8 MJ/m³. Superconducting magnet designers use this when considering stresses, since magnetic pressure equals the energy density. Pressure and energy density are the same dimension, which is why 0.398 MJ/m³ is also 398 kPa, about 3.9 atmospheres, of magnetic pressure at 1 T. These are standard physics results and apply in vacuum or air.
Thermal energy storage example
Thermal storage is often sized by energy per volume. An illustrative case is a tank of water used as a heat store. Water has a volumetric heat capacity of about 4.18 MJ/(m³·K). Heating it by 40 K stores about 167 MJ per cubic meter, which is 167,000 kJ/m³ and about 46 kWh/m³. Rock or concrete stores less per volume, with typical values around 2 to 2.5 MJ/(m³·K). Phase-change materials can store more over a narrow range. These numbers are rounded and illustrate the use of the units. With the converter, 167,000 kJ/m³ becomes 167 MJ/m³ in one step. The energy density depends on the temperature swing you allow, so quote the temperature range alongside it. The page does not compute heat stored from a temperature change.
A battery cell as a worked case
A cylindrical 18650 lithium-ion cell measures 18 mm in diameter and 65 mm in length, so its volume is pi times (9 mm) squared times 65 mm, about 16,500 mm³ or 0.0165 liters. If a cell like that is rated at 3.0 Ah and 3.6 V, it holds 10.8 Wh, which is 38.9 kJ or 0.0389 MJ. Dividing by the volume gives about 650 Wh/L, which is 2.35 MJ per liter and 2,350 MJ/m³, or 2,350,000 kJ/m³ on the units of this page. That lands inside the 900 to 2,500 MJ/m³ range quoted above for lithium-ion cells. Pack-level figures are lower because housings, wiring and cooling occupy volume that stores nothing. The cell rating and the dimensions here are illustrative round values, not a datasheet for a specific product.
Mistakes to avoid
The commonest mistake is to treat kJ/m³ and kJ/kg as interchangeable because only the denominator differs. They are separate quantities and cannot be converted without a density. A fuel with a high energy per mass can have a low energy per volume, and the reverse. Hydrogen is the standard example, with a high energy per kilogram and a low energy per cubic meter at ambient pressure. Another mistake is dividing by 1,000,000 instead of 1,000 because the unit names look as if a million is involved. The ratio of mega to kilo is a thousand. A third is to mix liters and cubic meters, which differ by a factor of 1,000. When a conversion yields a number that looks implausible, check the denominators first, then the prefixes.
Scope of the page
Feeding in 38,000 returns 38 whether the source was natural gas at one reference state or another, because the page carries no temperature or pressure. It does not turn energy per volume into energy per mass or estimate how a storage system performs. For authoritative heating values and reference conditions, go to national standards bodies, utilities and agencies such as the US Energy Information Administration.
Worked example: sizing a storage volume
Suppose you need to store 500 MJ of thermal energy and your heat store holds 167,000 kJ/m³ at the chosen temperature swing. The energy density in MJ/m³ is 167. The volume needed is 500 divided by 167, which is about 3.0 cubic meters. With the density left in kJ/m³ and the energy converted to kJ, the arithmetic is 500,000 kJ divided by 167,000 kJ/m³, which is the same 2.99 m³. The calculation is consistent only if both quantities use the same energy prefix. A common error is to divide 500 MJ by 167,000 kJ/m³ directly and get 0.003, which is wrong by a factor of 1,000. Converting the density to MJ/m³ first makes the units line up. The numbers are illustrative and ignore losses, tank insulation and the unusable fraction of a real store.
Cross-checking with pressure units
Because energy density and pressure share dimensions, a quick cross-check exists for many values. Atmospheric pressure is 101.325 kPa, so an energy density of 101.325 kJ/m³ matches one atmosphere in magnitude, which is 0.101325 MJ/m³. The bar is 100 kPa, so 1 bar corresponds to 0.1 MJ/m³. A 200 bar cylinder reads 20 MPa, or 20 MJ/m³ in pressure dimensions, but the energy actually stored in the compressed gas is much less than that figure suggests, because it depends on the compression process and not just on the gauge reading. The analogy is dimensional only. It still shows why 34,000 MJ/m³ for a liquid fuel is huge by comparison.