Food energy in megajoules per kilogram
Nutrition science works in kilojoules or kilocalories per gram, but bulk food and feed data, ration planning and emergency food specifications often use megajoules per kilogram. The numbers are easy to compare: fat supplies roughly 37 MJ/kg, while carbohydrate and protein each supply roughly 17 MJ/kg on common labeling factors. This page converts a value in J/kg to MJ/kg so it can sit in such a table. A figure of 37,000,000 J/kg becomes 37 MJ/kg, and 17,000,000 J/kg becomes 17 MJ/kg. Because only the prefix changes, the arithmetic is a division by one million. Pet food and animal feed bags also print metabolizable energy in MJ per kg, and a farmer or a pet owner comparing two products can put both on the same footing with this page when one label uses kcal and another uses J.
Ten joules per kilogram against food energy
The default of 10 J/kg gives 0.00001 MJ/kg, a result that shows how small a joule is compared with the energy in food. A person eating a 100 g portion of something at 17 MJ/kg takes in 1.7 MJ, which is about 406 kcal. In J/kg terms the food has 17,000,000 J/kg, and the page shows that as 17 MJ/kg. The scale difference between the default input and realistic food values is a factor of about a million, which is the reason the mega prefix exists. Typing a realistic number is the best way to see the page produce a readable output. Replace the default with a value from a package, a lab sheet or a handbook, and check the answer against the ballpark ranges given here: most foods fall between 2 MJ/kg for watery vegetables and 37 MJ/kg for pure fat.
Calories per gram and megajoules per kilogram
The old calorie-per-gram rule translates neatly. One kilocalorie per gram equals 4,184 kJ/kg, or 4.184 MJ/kg, which is 4,184,000 J/kg on this page. Therefore, a food at 4 kcal/g holds about 16.7 MJ/kg, and one at 9 kcal/g holds about 37.7 MJ/kg. Nutrition labels in many countries list kJ per 100 g, and multiplying by 10 gives MJ/kg directly. A product labeled 1,600 kJ per 100 g is 16 MJ/kg. These conversions let you compare a label with a feed or ration table that uses a different unit. A cereal listed at 1,550 kJ per 100 g is 15.5 MJ/kg, or 15,500,000 J/kg, and a snack bar at 2,000 kJ per 100 g reaches 20 MJ/kg, so a shopper weighing pack weight against energy can rank them in seconds.
Alcohol, fat and the general factors
Common labeling factors give carbohydrate and protein about 17 kJ/g, fat 37 kJ/g and alcohol about 29 kJ/g. In MJ/kg these are 17, 37 and 29, and in J/kg they are 17,000,000, 37,000,000 and 29,000,000. A drink with a share of alcohol therefore carries an energy density between that of sugar and fat. The factors are rounded conventions used for labeling and not a direct measurement of any single food, and the actual metabolizable energy varies with the food and the person. Treat the converted numbers as label-level estimates. Regulations differ by country on which factors are used and on whether fiber and sugar alcohols get their own values, so a label from one market may not match a similar product from another even when the recipe is the same.
Planning rations for a hike or a field trip
Outdoor planners often budget in megajoules because the numbers are compact. An adult on a multi-day hike might need around 12 to 16 MJ per day, depending on weight, load and terrain. A trail food with 20 MJ/kg means roughly 0.6 to 0.8 kg of such food per day to meet it. Items such as nuts and chocolate reach 22 MJ/kg or more, while fresh fruit sits below 3 MJ/kg. Converting a lab value in J/kg or a label in kJ/100 g to MJ/kg lets you rank foods by how much energy each kilogram of pack weight provides.
Fuel values use the same unit
Fuel sheets list gasoline near 46 MJ/kg, diesel near 45 MJ/kg and dry wood around 16 to 18 MJ/kg, which are 46,000,000, 45,000,000 and about 17,000,000 J/kg. A stove or heater comparison can then mention that dry wood supplies roughly the same energy per kilogram as carbohydrate in food, and gasoline roughly the same as a fat. The comparison is a mass basis only. It says nothing about how much of each can be converted into useful work, and fuel and food are used in very different devices.
Reverse conversion and notation
To convert MJ/kg to J/kg, switch the menus. A value of 2.5 MJ/kg becomes 2,500,000 J/kg. Scientific notation is also common, with 1.7 × 10⁷ J/kg meaning 17 MJ/kg. Keep the prefix and the unit together, since MJ means megajoule while mJ means millijoule, and a capital or lowercase slip changes the value by a factor of a billion. In plain text, write the units out in full the first time they appear in a document, and use the symbol afterward. Spreadsheet exports from nutrition databases sometimes drop the exponent and show 1.7E+07, which is 17,000,000 J/kg and converts to 17 MJ/kg, so read such cells carefully.
Precision of the numbers
The conversion is exact, but the underlying data are not. Energy content of foods varies by variety, season and preparation, and fuels vary by grade and moisture. A label rounded to two digits gives a result good to two digits, so quoting 16.7448 MJ/kg for a food labeled 4 kcal/g is false precision. Carry the digits through a calculation and round at the end, and report to the precision of the source. When two labels disagree by a few percent, that gap usually reflects different rounding or different factors, so avoid reading meaning into it unless the difference is large.
Diet calories and fuel recommendations
The page converts specific energy units and does nothing else. It does not count calories for a diet, assess nutrition, or recommend a food or fuel. It does not convert to energy per volume, because that needs a density, and it does not convert to watt hours per kilogram, for which the neighboring pages are the right tools. Use it to place numbers from different sources in the same unit before comparing them.