Shale gas is one of the primary types of unconventional reservoirs to be exploited in search for long-lasting resources. Production from shale gas reservoirs requires horizontal drilling with hydraulic fracturing to achieve the most economic production. However, plenty of parameters (e.g., fracture conductivity, fracture spacing, half-length, matrix permeability, and porosity,etc) have high uncertainty that may cause unexpected high cost. Therefore, to develop an efficient and practical method for quantifying uncertainty and optimizing shale-gas production is highly desirable. This paper focuses on analyzing the main factors during gas production, including petro-physical parameters, hydraulic fracture parameters, and work conditions on shale-gas production performances. Firstly, numerous key parameters of shale-gas production from the fourteen best-known shale gas reservoirs in the United States are selected through the correlation analysis. Secondly, a grey relational grade method is used to quantitatively estimate the potential of developing target shale gas reservoirs as well as the impact ranking of these factors. Analyses on production data of many shale-gas reservoirs indicate that the recovery efficiencies are highly correlated with the major parameters predicted by the new method. Among all main factors, the impact ranking of major factors, from more important to less important, is matrix permeability, fracture conductivity, fracture density of hydraulic fracturing, reservoir pressure, total organic content (TOC), fracture half-length, adsorbed gas, reservoir thickness, reservoir depth, and clay content. This work can provide significant insights into quantifying the evaluation of the development potential of shale gas reservoirs, the influence degree of main factors, and optimization of shale gas production.