A novel methodology is proposed to evaluate fuel’s performance in spark ignition (SI) engines based on the fuel’s energy quality and availability to produce work. Experiments used a diesel engine with a high compression ratio (CR), modified by SI operation, and using interchangeable pistons. The interchangeable pistons allowed for the generation of varying degrees of turbulence during combustion, ranging from middle to high turbulence. The generating efficiency , and the maximum electrical energy (EEmax) were measured at the knocking threshold (KT). A cooperative fuel research (CFR) engine operating at the KT was also used to measure the methane number (MN), and critical compression ratio (CCR) for gaseous fuels. Fuels with MNs ranging from 37 to 140 were used: two biogases, methane, propane, and five fuel blends of biogas with methane/propane and hydrogen. Results from both engines are linked at the KT to determine correlations between fuel’s physicochemical properties and the knocking phenomenon. Certain correlations between knocking and fuel properties were experimentally determined: energy density (ED), laminar flame speed (SL), adiabatic flame temperature (Tad), heat capacity ratio (), and hydrogen/carbon (H/C) ratio. Based on the results, a mathematical methodology for estimating EEmax and in terms of ED, SL, Tad, , H/C, and MN is presented. These equations were derived from the classical maximum thermal efficiency for SI engines given by the Otto cycle efficiency (. Fuels with MN > 97 got higher EEmax, and than propane, and diesel fuels.