Yunnan semi-fine wool (YSFW) is a recently developed dual-purpose (meat and wool) sheep breed mainly found in Yunnan Province, China. Moreover, dietary calcium is essential for animal health and productivity. The current experiment aimed to investigate the impact of dietary calcium on sheep gut metabolite profile. For this, thirty YSFW rams (male, age = 10 months, and body weight = 40.37 ± 0.49 kg) were randomized into three groups (n = 10 rams/group), followed by a completely randomized design, and the groups were allotted to one of three dietary calcium levels (Q_1 = 0.50%, Q_3 = 0.73%, and Q_5 = 0.98% on a dry basis). The rams were fed ad libitum by feeding twice a day (at 08:00 and 17:00 h/day) throughout the experimental period (44 day). On the 21st day of the experiment, fecal samples were collected from 27 rams (9/group) and untargeted metabolite profiling was performed by using ultra-performance liquid chromatography. The PCA plot showed that the Q_5 group metabolites were clustered more tightly than for Q_1 and Q_3, respectively. The tightly clustering molecules were mainly alkaloids and their derivatives, benzenoids, lignans and related compounds, lipids, nucleotides, organic acids, and nitrogenous-based derivatives. According to the Kyoto Encyclopedia of Genes and Genomes pathway analysis, these molecules potentially contribute to metabolic pathways, biosynthesis of secondary metabolites, proteinaceous compounds, and the metabolism of the protein derivatives, particularly amino acids. The PLS-DA plots revealed a significant difference between the Q_1, Q_3, and Q_5 groups, suggesting that Q_5 had a clear separation across the groups. Based on the metabolomic analysis, feeding different levels of dietary calcium significantly changed the metabolomic profile of YSFW rams, which primarily entails metabolic pathways such as energy, protein, and lipid metabolism.