The basic idea of the Lewis formula is to assume that a tooth tip bears the most serious situation of all normal loads, and accordingly to consider the maximum bending stress generated at the tooth root.
Input relevant parameters to calculate the gear strength conveniently.