The paper deals with determination of borehole depths for geothermal heat pumps. Basic formulae are stated for heat convection in rocks. Software EED 2.0 was used for calculation of borehole depth depending on different entering parameters. The crucial parameter is thermal conductivity of rocks. The thermal conductivity could be very variable for the same kind of rock. Therefore its in-situ determination by means of formation thermal conductivity testing is briefly described