The uniform magnetic field produced inside a solenoid, given by B = μ₀NI/ℓ, where N is the number of turns, I is the current, and ℓ is the length.
Topic 12.4: 12.4 Ampère's Law
magnetic field of a solenoid cheat sheet for homework