Magnetic Field Due To Solenoid Formula, In this … To calculate the magnitude of the field in the solenoid, we used Ampere's law.