Solenoid Inductance
Let's introduce the general terms to find out the Inductance formula later.
Magnetic Field Strength
The current I flowing in the wire (conductor) generates a magnetic field around, which has a strength H [A/m]. Magnetic Field Strength is a vector, and Magnetic field is a vector field. There is a formula:
According to which the H field circulation along a closed curve C, which is enclosing an area A, is equals to a surface integral of the current density, flowing through that area. The surface integral of the current density gives the total current I, flowing through the surface.
Magnetic Field Strength around the Wire
Consider a straight wire and current I flowing in it. Current will produce a magnetic field around the wire. Field lines will look as a concentric circles around the wire.