The inductance of a coil depends on both the geometry (such as the number of turns, the length, and the radius) and the intrinsic properties of the material inside the coil, such as its permeability. Both factors affect the ability of the coil to store magnetic energy.