I am just wondering on what are the factors affecting the inductance in a coil. Based on my experience, loop diameter, wire diameter, number of turns, and gap between turns will affect affect the inductance. However, I have not seen formula of calculating the inductance of a coil that involves all the affecting factors. Thanks for your reply.