According to the U.S. Departments of Energy and Agriculture, 3.2 units of energy are gained for every 1 unit of fossil energy used to make biodiesel. This accounts for planting and harvesting of feedstock, production of biodiesel fuel, and transportation of the fuel to end-users.