Temperature distribution within a longitudinally-pumped and edge-cooled solid-state laser rod is obtained in the form of power series. The factors concerning with thermal beam focusing are discussed and the effective focal length of the thermal lens is derived. A longitudinally-pumped Nd:YAG rod is illustrated as an example and the results show that 10W of pump power is predicted to cause a thermal focal length in the order of millimeters.