The strength of magnetic field produced by a current-carrying solenoid depends on:
(i) The number of turns in the solenoid:
If the number of turns in the solenoid is large, they will produce greater magnetism.
(ii) The nature of core material used in making the solenoid:
If a soft iron rod is used as core in the solenoid, it produces strongest magnetism.