The following is a calculator that helps you calculate the Divergence angle $\theta$, by inputting the Beam waist, Beam quality factor and Central wavelength.
The formula that will be used is as followed: