If a number of current-carrying loops are stacked on top of each other to form a cylinder, or, equivalently, a single wire is wound into a tight spiral, the result is known as a solenoid. The field along the axis of the solenoid has a magnitude of where n = N/L is the number of turns per unit length (or, in other words, the total number of turns over the total length).