Objective To investigate the the factors influencing the occurrence of gastric cancer and construct the model to predict the risk of gastric cancer.Methods A total of 105 patients with gastric cancer and 210 healthy people were selected,and 315 subjects were divided into training set and validation set according to the ratio of 8:2.The clinical data of the patients with gastric cancer and the healthy people in the training set were analyzed.Multivariate logistic regression was used to analyze the independent risk factors for gastric cancer.The nomogram model was built to predict the efficiency for the risk of gastric cancer.Results There were significant differences in family history of gastric cancer,fecal occult blood test,triglyceride and glucose(TyG)index,TG,FBG,carcinoembryonic antigen(CEA),carbohydrate antigen(CA)19-9,CA125,CA153,neutrophil count,ratio of neutrophil to lymphocyte(NLR)between gastric cancer patients and healthy people in training set(P<0.05).CEA,CA19-9,CA125,CA153,fecal occult-blood test and TyG index were the independent influencing factors for gastric cancer(P<0.05).The AUC of nomogram model for predicting gastric cancer in training set and validation set were 0.820[95%CI(0.763-0.877)]and 0.774[95%CI(0.631-0.917)],respectively.The calibration curve showed that the predicting results of the nomogram model in training set and validation set were in good agreement with the actual observation results,and the model fitted well.The clinical decision curve showed that the application of nomogram model to predict the risk of gastric cancer in clinical could obtain positive net benefit.Conclusion CEA,CA19-9,CA125,CA153,fecal occult blood test and TyG index are the influencing factors for gastric cancer.The model based on multivariate analysis can be used to predict the risk for gastric cancer.