The magnetic field of a perfect solenoid is directed, according to a right-hand grip rule, along the axis of the solenoid with a magnitude, derived with Ampere's Law, of. B = µnI
Length (L) = The length of the Coil in Meters.
Turns (N) = The Turns of the Coils (N).
Permeability (µ) = The Relative Permeability see your Manufacturer Datasheet.
Current (I) = The Mean Current over Time.