One quantity, two prefixes
Specific energy is the energy stored or released per kilogram of a material. Fuel tables often give it in megajoules per kilogram, while food science and some engineering data use kilojoules per kilogram. This page converts between those two prefixes. Because mega is a thousand times kilo, the number in kJ/kg is 1,000 times the number in MJ/kg. The default of 10 MJ/kg returns 10,000 kJ/kg. The converter does not say which material has the quoted figure, whether the energy is a higher or lower heating value, or how much of it a device can use. It translates the unit of a known quantity, leaving the interpretation of the number with the user and the source.
The factor and the check
The SI prefix mega stands for 10 to the sixth and kilo for 10 to the third, as listed in the BIPM SI Brochure. The ratio is 1,000. The formula is kJ/kg = MJ/kg × 1,000, and the reverse divides by 1,000. A fast check is to move the decimal point three places to the right. A value of 4.184 MJ/kg becomes 4,184 kJ/kg, and 0.9 MJ/kg becomes 900 kJ/kg. If the answer has fewer digits than your input, the direction is reversed. In joules per gram the number is the same as in kJ/kg, because a joule per gram equals a kilojoule per kilogram. That coincidence is helpful: food tables give 37 kJ/g for fat, which is 37 MJ/kg, and the page shows both scales are consistent, since 37 MJ/kg is 37,000 kJ/kg.
Fuel energy contents
Typical lower heating values give a feel for the numbers. Gasoline is about 44 MJ/kg, or 44,000 kJ/kg. Diesel is around 43 MJ/kg. Natural gas, mostly methane, is about 50 MJ/kg. Hydrogen has roughly 120 MJ/kg, which is 120,000 kJ/kg, the highest of any chemical fuel by mass, though it is very bulky by volume. Dry wood is typically 15 to 18 MJ/kg and coal ranges from about 20 to 30 MJ/kg. These figures are approximate, rounded values for illustration, and real fuels vary with composition and moisture. A published table will state whether the value is a higher heating value, which includes the heat from condensing water, or a lower one. The converter does not distinguish them, so check the source before you compare numbers. Converting each of those to kilojoules per kilogram gives 44,000 for gasoline, 43,000 for diesel, 50,000 for natural gas and 120,000 for hydrogen, which makes it easy to line them up against food data that uses kilojoules. For wood at 16 MJ/kg the value is 16,000 kJ/kg.
Food energy in kilojoules per kilogram
Nutrition labeling outside the United States gives energy in kilojoules, and recipes may list energy per kilogram of food. The Atwater factors commonly used give about 17 kJ/g for protein and carbohydrate and 37 kJ/g for fat. Per kilogram, those are 17 MJ/kg and 37 MJ/kg, or 17,000 and 37,000 kJ/kg. Pure sugar at 17 kJ/g would be 17,000 kJ/kg, while butter, which is about 80 percent fat, has roughly 30,000 kJ/kg in total. The exact values depend on the food and the labeling rules of the country. Many foods contain water and fiber that dilute the energy, so a kilogram of vegetables carries far less. The page helps when a source gives MJ/kg and a label requires kJ/kg. A food scientist might also convert in the other direction: a snack mix listed at 18,000 kJ/kg is 18 MJ/kg, and a 50 g portion of that composition would carry 900 kJ, which is simple arithmetic once the unit is the same. The ratio between fat and carbohydrate, 37 to 17, is a little over two, which is why fat-rich foods are called energy dense.
Explosives and the thermochemical calorie
The energy content of explosives is often expressed in MJ/kg. By convention, the TNT equivalent uses 4.184 MJ/kg, based on the thermochemical calorie of exactly 4.184 joules, so 4.184 MJ/kg equals 4,184 kJ/kg. A material described as having 1.5 times the energy of TNT per kilogram would be about 6.28 MJ/kg, or 6,276 kJ/kg. This is a convention for comparison, not a statement about the destructive effect of a material. The same ratio appears in discussions of energy released by large events when converted to tons of TNT. The converter helps move between kilojoule tables in chemistry texts and megajoule tables in engineering ones. It makes no assessment of hazards, handling or storage, which are regulated matters.
Batteries compared with fuels
Battery energy is usually quoted in watt-hours per kilogram. One watt-hour is 3,600 joules, so 1 Wh/kg is 0.0036 MJ/kg, or 3.6 kJ/kg. A lithium-ion cell at 250 Wh/kg stores 0.9 MJ/kg, which equals 900 kJ/kg. Compared with gasoline at 44,000 kJ/kg, that is about one fiftieth by mass, although electric drivetrains convert energy to motion with much higher efficiency than combustion engines, so the gap in useful energy is smaller. These are rough, illustrative figures. Real cells and packs vary, and pack-level values are lower than cell-level ones. The converter handles the prefix part of such comparisons. The unit menu of this page also lists Wh/kg, so you can choose it as the source unit and kJ/kg as the target for that step. For a pack-level figure of 160 Wh/kg, the equivalent is 0.576 MJ/kg or 576 kJ/kg, which is roughly 1.3 percent of gasoline by mass before any account of drivetrain efficiency.
Specific energy versus energy density
The terms are often mixed up. Specific energy is energy per unit mass, in J/kg. Energy density is energy per unit volume, in J/m³ or MJ/L. Gasoline has a specific energy of about 44 MJ/kg and an energy density of about 32 MJ/L, because its density is near 0.74 kg/L. Hydrogen gas has a very high specific energy and a very low energy density at atmospheric pressure. This page converts only specific energy. A figure in MJ/L cannot be put into it. If you need to switch between mass and volume bases, you need the density of the material, and a separate conversion. Choosing between fuels often depends on both quantities, which is why tables list them side by side and why a mass-only comparison can mislead.
The joule per kilogram is also the gray
The joule per kilogram has a second use. The SI unit of absorbed dose of ionizing radiation, the gray, is one joule per kilogram, and the sievert for dose equivalent has the same dimensions. These are different quantities, and mixing them leads to nonsense. A fuel with 44 MJ/kg is not a radiation dose of 44 megagray. Context decides which meaning applies, and the SI Brochure states that special names are used to avoid confusion. This page assumes specific energy of a material. If your value is a radiation dose, use a dose unit converter, and keep in mind that absorbed dose, equivalent dose and effective dose are separate quantities with their own rules.
Notation and rounding
Write MJ/kg and kJ/kg with a capital M for mega and a lowercase k for kilo. A value of 10,000 kJ/kg is easy to misread without separators, so use thin spaces, commas or exponent notation as suits your audience, such as 1.0e4 kJ/kg. Since the conversion is a power of ten, the number of significant figures does not change. A figure of 44 MJ/kg with two significant figures becomes 44,000 kJ/kg, but you should not write it as 44,000.0. Quoting 43.9 MJ/kg as 43,900 kJ/kg retains three digits. Keeping precision consistent across a table of fuels avoids the false impression that one fuel was measured more accurately than another.
Scope of this converter
The page changes the prefix of a specific energy value and does nothing else. It does not look up properties of fuels or foods, compare heating values, estimate efficiency or assess safety. The factor is exact, so the result has the precision of the input. For engineering, nutrition labeling or regulatory use, take values from the relevant standard or laboratory analysis and use this page only to present them in the unit another document expects.
Rocket propellants and specific energy
Propellant data mix these units, and it is easy to lose track. Hydrogen burned with just enough oxygen to form water releases about 13 MJ per kilogram of the combined mixture, which is 13,000 kJ/kg, but the figure for the hydrogen alone is about 120 MJ/kg because the oxygen adds mass (8 kg of oxygen per kilogram of hydrogen). A kerosene and oxygen mixture is on the order of 10 MJ/kg, or 10,000 kJ/kg, the same as this page's default. These are rough, illustrative values for idealized mixtures and should not be used for design. The key lesson is that the mass basis matters: energy per kilogram of fuel alone and energy per kilogram of fuel plus oxidizer differ by a large factor. The converter changes the prefix only, so state clearly which mass basis a figure uses.
Heating a material by a known energy
Specific energy links to temperature rise through specific heat. Water has a specific heat close to 4.18 kJ/(kg·K), so adding 418 kJ to a kilogram of water raises its temperature by about 100 K, ignoring boiling. A burn of 1 kg of dry wood at 16 MJ/kg gives 16,000 kJ/kg, which could in theory heat about 38 kg of water by 100 K (16,000 / 418). Real stoves lose much heat, and efficiencies of 50 to 80 percent are common depending on the device. The conversion to kJ/kg matters here because specific heat tables are usually in kJ, while fuel tables are in MJ. The example is illustrative, and the page does not model a stove, a boiler or any combustion process.