Livestock biogas slurry is an effluent containing nutrients such as ammonium and phosphate that are released by the industries. Therefore, recovery and reuse of ammonium and phosphorus is highly necessary. In recent years, many studies have been devoted to the use of different multivariate statistical analyses to investigate the interrelationship of one factor to another factor. The overall objective of this research study was to understand the significance of phosphate and ammonium recovery from biogas slurry using the multivariate statistical approach. This study was conducted using a range of salts that are commonly found in biogas slurry (ZnCl2, FeCl3, FeCl2, CuCl2, Na2CO3, and NaHCO3). Experiments with a biogas digester and aqueous solution were conducted at pH 9, with integration with NH4+, Mg2+, and PO43− molar ratios of 1.0, 1.2, and 1.8, respectively. The removal efficiency of ammonium and phosphate increased from 15.0% to 71.0% and 18.0% to 99.0%, respectively, by increasing the dose of respective ions K+, Zn2+, Fe3+, Fe2+, Cu2+, and CO32−. The elements were increased from 58.0 to 71.0 for HCO3−, with the concentration increasing from 30 mg L−1 to 240 mg L−1. Principal component, regression, path analysis, and Pearson correlation analyses were used to investigate the relationships of phosphate and ammonium recovery under different biochar, pyrolysis temperature, element concentration and removal efficiencies. Multivariate statistical analysis was also used to comprehensively evaluate the biochar and struvite effects on recovery of ammonium and phosphate from biogas slurry. The results showed that combined study of multivariate statistics suggested that all the indicators positively or negatively affected each other. Pearson correlation was insignificant in many ionic concentrations, as all were more than the significant 0.05. The study concluded that temperature, biochar type, and varying levels of components, such as K+, Zn2+, Fe3+, Fe2+, Cu2+, CO32−, and HCO3−, all had a substantial impact on P and NH4+ recovery. Temperature and varying amounts of metal salts enhanced the efficacy of ammonium and phosphate recovery. This research elucidated the methods by which biochar effectively reuses nitrogen and phosphate from biogas slurry, presenting a long-term agricultural solution.