In an era marked by global economic challenges, an increasing array of non-traditional security threats, and a proliferation of conflicts and issues, China has put forth the building of a community of shared future for mankind as a way to address this question of the times. The theory of the community of shared future for mankind offers a framework to address contemporary issues by promoting equality, mutual benefit, security, justice, openness, innovation, multicultural exchange, and green development. This paper innovatively quantifies the five core principles of the theory of the community of shared future for mankind using the entropy method. It calculates the proxy variable for sustainable development, green total factor productivity, using the super-efficiency Slack-Based Measure model in Data Envelopment Analysis. Baseline regression is conducted on this basis. The Principal Component Analysis method and another Data Envelopment Analysis method, the Malmquist index, are utilized to recalculate the indicators, followed by another round of regression analysis. The results are consistent with the baseline regression. Additionally, Ordinary Least Squares, Partial Least Squares, Maximum Likelihood Estimation, Ridge regression, and Lasso regression are employed to ensure the robustness of the results. The findings indicate a significant positive relationship between the community of a shared future for mankind and the sustainable development of human society, with consistent conclusions drawn from different calculation methods and regression techniques. Through value recognition, international cooperation based on benefit-sharing and mutual reciprocity can guide humanity towards a harmonious coexistence with nature, irrespective of regional and economic disparities. This study provides quantitative evidence of the impact of the community of a shared future for mankind on the sustainable development of human society, filling a gap in existing research. Based on these findings, feasible policy recommendations are proposed to promote sustainable development in human society.