So 12 g of carbon yield 44 g of Carbon dioxide. Diesel has an energy content of 42.6 MJ per kg or 23.47 gram of Diesel contain 1 MJ of energy. Putting everything together the mass of carbon dioxide that is produced by releasing 1MJ of energy from diesel fuel can be calculated as: