One the main concerns about choosing a fuel mixture is balancing how cleanly the fuel will burn with the energy produced per unit mass of the fuel. On this page, you can calculate the energy produced per gram of fuel for arbitrary mixtures of ethanol and gasoline (assuming n-octane as the sole component of gasoline.)