Introduction

Gallstones are a common digestive problem. The latest research shows that the pooled prevalence and incidence of gallstones in the 21st century are 6.1% and 0.47 cases per 100 person-years, respectively1. Geography, age, and gender all affect prevalence. Approximately 13.9% of people in the US have gallstones, compared to 5.13% and 4.00% in China and India, respectively2,3,4. However, gallstones are now more common in Asia due to lifestyle changes5. According to previous research, women are far more likely than males to develop gallstones, particularly during pregnancy and when using contraceptives6. Furthermore, the incidence of gallstones rises with age, with those over 50 experiencing a noticeable increase in gallstone incidence7. The majority of gallstones develop slowly; 20% of patients have indigestion, nausea, vomiting, and excruciating upper right abdominal discomfort. Acute cholecystitis, cholangitis, pancreatitis, gallstone intestinal blockage, and even potentially fatal sepsis and gallbladder perforation might result from them if treatment is not received8. Gallstones and their complications not only reduce patients’ quality of life but also pose significant public health risks due to the high costs associated with surgery and hospital stays. As a result, accurate and regulated clinical indicators are crucial for gallstone prediction, early identification, and therapy.

Insulin resistance (IR) is a decrease in the body’s sensitivity to insulin, resulting in the inability of insulin to effectively promote glucose uptake and utilization9. Numerous metabolic disorders, including obesity, hypertension, and fatty liver, are closely linked to this illness10,11,12. Prior research has demonstrated a substantial correlation between IR and gallstone formation13,14. This process is associated with changes in gallbladder dynamics and disrupted cholesterol metabolism, which occurs due to hyperinsulinemia related to insulin resistance15,16. The hyperinsulinemic euglycemic clamp (HEC) is considered the gold standard for assessing insulin resistance, but its high cost and invasiveness limit its clinical use17. Clinically, the estimated glucose disposal rate( eGDR) is a straightforward and accurate indicator of IR18.

Globally, obesity has emerged as one of the biggest public health issues. This is the highest number of obese persons in the world, according to the World Health Organization’s (WHO) 2023 report. Since 1975, the prevalence of obesity has nearly quadrupled globally. Not only can obesity lower a person’s quality of life, but it is also closely linked to several chronic illnesses. When evaluating obesity, the most often used metric is body mass index (BMI). Based on studies, the incidence of gallstones rises by 7–10% for every unit increase in BMI19. The link between eGDR and gallstones, or the moderating effect of BMI in a significant number of groups, has not yet been documented in any research. This research was based on the NHANES database to examine the link between eGDR and gallstones as well as the function that BMI plays as a mediator in this relationship.

Materials and methods

Data source and study population

We use https://www.cdc.gov/nchs/nhanes/, which is provided by the National Health and Nutrition Examination Survey (NHANES) data in the database studied. For over two decades, NHANES has been a cross-sectional survey that is revised every two years, with each iteration encompassing around 10,000 respondents. Participants in the U.S. National Health Survey between 2017 and March 2020 who were at least 20 years old were included in the study. Individuals with no gallstone data, incomplete eGDR data, or known confounders were excluded from the study. The study involved a total of 5,656 individuals in the United States, of whom 595 self-reported having gallstones. Figure 1 depicts the filtering procedure.

Fig. 1
figure 1

Flowchart for choosing participants.

Definition of the eGDR and gallstones

The eGDR was calculated by applying the formula: eGDR = 21.158 − (0.09WC) − (3.407HT)− (0.551HbA1c) [WC = waist circumference (cm), HT = hypertension (yes = 1/no = 0) and HbA1c = HbA1c (%)]. Hypertension was defined as follows: 1)systolic blood pressure ≥ 140 mm Hg and/or diastolic blood pressure ≥ 90 mm Hg; 2) self-reported hypertension;3) taking antihypertensive medication. According to eGDR levels, participants were divided into four groups based on predefined criteria (≤ 4, 4–6, 6–8, > 8 mg/kg/min)20. Additionally, participants were grouped into four quartiles (Q1, Q2, Q3, and Q4) based on their eGDR values for further analysis. Gallstone statistics were taken from the MCQ questionnaire, “Has DR ever said you have gallstones?” to ascertain whether gallstones are present.

Covariates

In this study, we selected covariates associated with gallstones, drawing on previous studies2,21,22. The selected covariates include demographic data (sex, age, race, education level, and poverty-to-income ratio [PIR]), examination data (body mass index [BMI]), laboratory data (alanine aminotransferase [ALT], aspartate aminotransferase [AST], total cholesterol [TC], and high-density lipoprotein cholesterol [HDL]), and questionnaire data. The questionnaire data covers smoking status (measured by the SMQ020, with participants who smoked at least 100 cigarettes classified as smokers), alcohol consumption (measured by ALQ151, with participants who reported having 4 or more drinks daily classified as alcohol drinkers), physical activity, coronary heart disease (CHD), asthma, and cancer (participants who answered “yes” on the questionnaire were identified as having these conditions).

Statistical analysis

R software (version 4.2.2) and Empower Stats (version 4.2) were used for the statistical analysis, and P < 0.05 was the significance threshold. The baseline demographic parameters are expressed as balanced percentages for categorical categories and as the average and standard deviation for continuous variables. Multifactor logistic regression analysis was used to investigate the relationship between gallstones and the eGDR. Model 1 was adjusted for no covariates; Model 2 was adjusted for age, gender, and race; Model 3 had additional adjustments to account for education, smoked, alcohol, physical activity, asthma, CHD, cancers, PIR, ALT, AST, TC, HDL, and BMI. To further investigate the relationship between gallstones and the eGDR, we performed a smoothed curve fitting study (penalized spline method). A two-segment linear regression model (segmented regression model) was used to fit each segment and calculate the threshold effect. Subgroup analyses were also carried out to see if there were any possible differences in eGDR and gallstones among particular groups according to variables such as age, gender, BMI, race, asthma, CHD, malignancies, smoked, and alcohol use. Age was split into ≥ 50 and <50 groups. BMI was segmented into ≥ 25 and < 25 categories. We can determine how many mediated effects BMI produces by using mediation analysis. These statistical techniques allow for a more thorough investigation of potential correlations between gallstone prevalence and eGDR. To verify the stability of the results, we interpolated the missing covariates. We used the mean to interpolate covariates that followed a normal distribution. For those that were non-normally distributed, we used the median.

Results

Baseline characteristics

A total of 5,656 adults participated in the study, of which 595 had gallstones, resulting in an overall gallstone prevalence of 10.52%. The baseline characteristics of the subjects, including whether or not they had gallstones, are compiled in Table 1. Gallstone sufferers were less educated and had lower PIR, and their BMI was greater than that of people without gallstones. Women, older persons, white people, smokers, those with coronary heart disease, and those with cancer are more likely to have gallstones. The baseline characteristics of individuals stratified by eGDR level are shown in Table 2. As eGDR levels increased, BMI decreased, HDL levels rose significantly, and the prevalence of gallstones, cancer, and coronary heart disease also decreased markedly.

Table 1 Baseline characteristics of the gallstones group versus the non-gallstones.
Table 2 Baseline characteristics of participants according to eGDR level.

Association between the eGDR and gallstones

Table 3 illustrates the connection between gallstones and eGDR. The three models showed a significant negative connection (P < 0.05) between cholelithiasis and eGDR when eGDR was examined as a continuous variable. In the fully adjusted model, a 1 unit increase in eGDR was associated with a 10% reduction in gallstone prevalence (OR = 0.90, 95% CI: 0.83, 0.98). Further divided into four groups according to eDGR level, the negative correlation between eDGR and gallstones remained. In Model 3, subjects with eGDR values of 6–8 mg/kg/min and > 8 mg/kg/min had a 39% and 40% reduction in gallstone prevalence, respectively, compared with subjects with eGDR ≤ 4 mg/kg/min (OR = 0.61, 95%CI: 0.38, 0.96; OR = 0.60, 95% CI: 0.36, 1.00). In Model 3, the prevalence of gallstones was 38% lower in the third quartile compared to the lowest quartile of the eGDR. (OR = 0.62, 95%CI: 0.41, 0.93). Regardless of whether eGDR was considered a categorical or continuous variable, the risk of gallstones decreased as eGDR levels increased. We used smooth curve fitting to further examine the relationship between the eGDR index and gallstone prevalence. According to our research, there is a nonlinearly negative correlation between gallstone occurrence and eGDR (Fig. 2). Gallstone prevalence and the eGDR index threshold effect were ascertained using the likelihood ratio test, which had an ideal turning point at 9.81 (Table 4).

Fig. 2
figure 2

Density dose-response relationship between eGDR with gallstones prevalence.

Table 3 Logistic regression analysis between eGDR with gallstones prevalence.
Table 4 Two-piecewise linear regression and logarithmic likelihood ratio test explained the threshold effect analysis of eGDR with gallstones prevalence.

Subgroup analysis

Figure 3 illustrates the subgroup analyses that evaluate the stability of the eGDR-gallstone prevalence association and potential variations across different populations. Notably, the subgroups of women, with BMI ≥ 25, no asthma, no coronary heart disease, no cancer, no smoked, and no alcohol consumption showed a more pronounced negative association between eGDR and gallstone prevalence(all P values < 0.05).In the interaction test, except for age, no associations were found for interaction p-values that reached statistical significance.

Fig. 3
figure 3

Subgroup analyses of the association between eGDR and gallstones.

The intermediary role of BMI

The possible mediating function of BMI in eGDR and gallstone incidence was examined using causal mediation analysis. Gallstones are the dependent variable, BMI is the mediator, and eGDR is the independent variable in the mediation analysis model and pathway depicted in Fig. 4. The results indicated that eGDR had a significant indirect influence on gallstone incidence through BMI (β=-0.033, 95% CI:-0.045, -0.021) after controlling for all possible confounders. This suggests that BMI partially mediates the role of eGDR in connection to gallstone occurrence. Additionally, a direct association between eGDR and gallstones was still statistically significant even after controlling for BMI (β=-0.023, 95% CI:-0.041, -0.002). This implies that eGDR and gallstone incidence are impacted by BMI in both direct and indirect ways. The impact of eGDR on gallstones was mediated by BMI to the extent of around 58.58%. Table 5 displays the findings of the mediation study.

Fig. 4
figure 4

Mediated analysis model path diagram. Notes eGDR was defined as the independent variable; gallstones as the dependent variable; and BMI as the mediating variable. Path a represents the regression coefficient of the association between eGDR and BMI. Path b represents the regression coefficient of the association between BMI and gallstones. Path c represents the simple total effect of eGDR on gallstones. Path c’ represents the direct effect of eGDR on gallstones when controlling for BMI.

Table 5 Mediation analysis for the associations between eGDR and gallstones.

Sensitivity analysis

We performed a sensitivity analysis with missing covariates interpolated. The results of the sensitivity analysis were consistent with those of the main analysis. The eGDR, both as a continuous and categorical variable, was negatively associated with gallstones in sensitivity analyses. In the fully adjusted model, eGDR as a continuous variable was negatively associated with gallstones (OR = 0.93, 95% CI: 0.87, 1.00). eGDR values of 6–8 and the third quartile of eGDR were less likely for participants to have gallstones (OR = 0.61, 95% CI: 0.41, 0.91; OR = 0.61; OR = 0.69, 95% CI: 0.49, 0.99) (Table 6). Therefore, the results of sensitivity analyses showed that the conclusions drawn from this study were stable and reliable.

Table 6 Logistic regression analysis between eGDR and gallstone prevalence in the sensitivity analysis.

Discussion

This study analyzed a sample of 5,656 U.S. adults from the NHANES 2017–2020 database. For the first time, it reveals the correlation between eGDR and gallstones and the mediating role of BMI in it. The results indicated that the prevalence of gallstones in the U.S. population is about 10.52%. The eGDR was negatively associated with gallstone, showing that each unit increase in eGDR correlated with a 10% decrease in gallstone prevalence in a fully adjusted model. Curve fitting and threshold effect analysis revealed a nonlinear correlation between eGDR and gallstone, identifying a turning point of 9.81. Subgroup analyses showed that the negative correlation between eGDR and gallstones was more pronounced in the subgroups of females, those with a BMI ≥ 25, those without asthma, those without coronary artery disease, those without cancer, and those who were nonsmokers and nonalcohol drinkers. There was no interaction between the subgroups except for age. Overall, eGDR was negatively associated with the occurrence of gallstones, and this negative association was partially mediated by BMI. Importantly, eGDR measurements are readily available, making them valuable for predicting and diagnosing gallstones early.

Gallstones are solid particles formed by the coalescence of cholesterol, bilirubin, or calcium salts in the bile in the gallbladder or bile ducts. Gallstone formation is influenced by abnormal bile composition, gallbladder dysfunction, and metabolic disorders. With the prevalence of obesity rising sharply, the relationship between IR, obesity, and gallstones has become a hot research topic in recent years23. Wang et al. reported a linear positive correlation between the metabolic index score of insulin resistance (METS-IR) and the prevalence of gallstones, and that for every 1-unit increase in the METS-IR index, the age of the first gallbladder stone surgery was advanced by 0.26 years14. Wirth et al. demonstrated that healthy lifestyles, especially the maintenance of healthy weight, are quite important for the prevention of symptomatic gallstones through 2 prospective cohort studies24. Fu et al. further combined insulin resistance indexes with obesity indexes, to investigate the correlation between Triglyceride glucose (TyG ) index-related indexes and gallstone disease, and the results showed a positive correlation between TyG- BMI, TyG-WC, TyG-WHtR, and gallstone disease25. Moreover, hepatic insulin resistance and visceral obesity are likely key factors in the mechanisms by which insulin resistance promotes gallstone development. Previous animal experiments have shown that hepatic IR increases both the expression of the biliary cholesterol transport proteins Abcg5 and Abcg8, leading to increased biliary cholesterol secretion, and decreases the expression of bile acid synthase (especially Cyp7b1), leading to a rock bile salt-producing profile, which in turn leads to an increased susceptibility to cholesterol gallstones in mice suffering from hepatic IR26. Building on this foundation, Aydin et al. further explored the finding that hepatic IR is associated with the development of gallstones among Native Americans in the southwestern United States and provides a critical link between gallstone susceptibility and metabolic syndrome27. A retrospective cohort study showed that IR was associated with gallstone formation in postmenopausal Korean women with abdominal obesity, stratified by obesity28. Furthermore, in guinea pigs with IR, the use of insulin-sensitizing drugs (pioglitazone), such as metformin or thiazolidinediones (e.g., pioglitazone), prevented gallstone formation, liver injury, and gallbladder injury29. The mechanism may be related to improving insulin sensitivity and reducing the effects of hyperinsulinemia, which in turn reduces cholesterol supersaturation. A systematic evaluation demonstrated that prophylactic oral ursodeoxycholic acid (UDCA) after bariatric surgery reduced the risk of developing gallstones from 38 to 8% and reduced the need for cholecystectomy30. All of the above reports indicate that IR and obesity play a key role in the development of gallbladder stones and that improving IR and maintaining a good body image is important in the prevention and treatment of gallstones. eGDR is a simple index for assessing IR. In recent years, a large number of studies have shown that eGDR is closely related to cardiovascular and cerebrovascular diseases and renal diseases31,32,33,34. To date, no academic studies have reported a potential relationship between eGDR and gallstones. Our results suggest that low eGDR levels are associated with an increased rate of patients with gallstones.

Our findings are largely in line with other research that has demonstrated that obesity, metabolic syndrome, advanced age, and female gender are risk factors for gallstone prevalence35. We discovered that age had an impact on the negative correlation between gallstone prevalence and eGDR in the research using the interaction test. In a similar vein, Su et al. discovered that obesity and metabolic abnormalities were linked to a higher incidence of gallstones in young people36. This suggests that, in addition to concentrating on the senior population for gallstone prediction and prevention, we should also consider the young population with obesity and metabolic abnormalities. Numerous studies have supported the theory that the primary cause of women’s higher prevalence of gallstones than males is estrogen’s increased release of cholesterol in the liver, which causes the bile to become oversaturated with cholesterol14,37,38. Nonetheless, research continues to demonstrate that metabolic syndrome is linked to cholecystectomy and gallstone disease in men but not in women39. Li et al. discovered that among those with a BMI of more than 25, the triglyceride-glucose (TyG) index and the occurrence of gallstones were positively correlated40. Another study concluded that the metabolic imbalance associated with obesity is exacerbated by the interaction between gallstones and hepatic insulin resistance, which results in lipid and energy metabolism41.

Based on these findings, it is necessary to perform abdominal ultrasound for low eGDR, especially in young, female, and overweight populations, to screen for and diagnose gallstone disease at an early stage.

Our study’s strength is that it used a sample of adult Americans and adhered to a strict research process, which guaranteed the correctness of the findings. To ensure our results are applicable to a larger population, we also performed subgroup analyses and adjusted for confounding factors.

Limitations

Our study has several limitations. First, our cross-sectional study could not establish a link between eGDR and gallstones, highlighting the need for future prospective studies or clinical trials to validate this relationship. Second, a questionnaire that is susceptible to recall bias was used to diagnose gallbladder stones. Lastly, we did not analyze the associations between specific therapies and patients’ medication histories. Despite these limitations, we present evidence for the first time showing a correlation between eGDR and gallstone incidence. This suggests that eGDR may be a useful predictor of gallstone development.

Conclusion

This study demonstrates a correlation between low eGDR levels and a higher prevalence of gallstones, with BMI playing a mediating role. This implies that maintaining eGDR in the lower range and maintaining a good body image is critical for gallstone prevention. These studies still need to be validated in additional large prospective cohorts.