The current report aimed to evaluate the characteristics of stone composition in 3637 renal and ureteral calculi patients in a single center while clarifying its relationship with sex, age, and time. Out of 3637 cases of upper urinary tract stones, stone specimens were analyzed retrospectively. There were 2373 male patients aged 6 months-87 years, with an average age of 44.73 ± 15.63 years, and 1264 female patients aged 4 months-87 years, with an average age of 46.84 ± 16.00 years. The male-female ratio was 1.88:1. Five hundred twelve patients had ureteral calculi, and 3125 had renal calculi. The SPSS software helped analyze the relationship between renal and ureteral calculi composition and sex, age, and time. Stone composition demonstrated 2205 cases of calcium oxalate stones (60.6%), 518 carbonate apatite (14.2%), 386 uric acids (10.6%), 232 magnesium ammonium phosphate (6.4%), 117 calcium phosphate (3.2%), 76 cystine (2.1%), 47 sodium urate (1.3%), 31 others (0.9%), and 25 ammonium urate (0.7%) cases. The overall male-to-female sex ratio was 1.88:1. Stones in the upper urinary tract were significantly more frequent in men than in women between the ages of 31 and 60. However, such stones were significantly more frequent in women than men over 80 (P < .05). Cystine, Sodium urate, Carbonated apatite, and uric acid indicated significant differences between different age categories (all P < .001). Stone composition analyses revealed that the frequency of calcium oxalate calculi has increased annually, while cystine and carbonated apatite incidences have dropped annually over the past decade. The components of renal and ureteral calculi vary significantly based on age and sex, with calcium oxalate calculi being more frequent in men while magnesium ammonium phosphate stones are more frequent in female patients. The age between 31 and 60 years is the most prevalent for renal and ureteral calculi in men and women.