See:

https://www.engineersedge.com/calculators/agma_worm_and_spur_gear_design_equations_and_calculators_15310.htm

Which is per. industry standard ANSI/AGMA 6034-B92