A quantitative study of sedimentary basins to quantify the mechanism of the formation and generation of hydrocarbons by understanding and integrating the complete geologic history of a basin-tectonic geohistory-unconformities, sedimentation, thermal maturity, as well as model hydrocarbon generation, expulsion, and preservation. This process can be implemented by using available software by integrating various types of geological and geochemical data to reduce petroleum exploration risks.