yes, here you can learn how to make the required calculations for any solenoid
https://www.amazon.com/Electromagnetic-theory-1-Oliver-Heaviside/dp/1176586017/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=&sr=