This paper proposes a deterministic and stochastic approach to quantify the hosting capacity that is often limited by the loadability limit of the cable cabinet or transformers due to customers with solar photovoltaics (PV) units. Distribution networks from two areas in Sweden supplying 309 MV/LV distribution transformers with 12,000 customers downstream have been studied. Using a deterministic model, a method is proposed and applied to assess the cable overvoltage against the loadability while considering the voltage rise margin. In addition, measurements have been applied to the methods and the loadability limits assessed. Illustrations for the concepts and important results for the guide to DSOs decision-making guide has been obtained. It is shown in the paper the hosting capacity anticipated at the end of a distribution network cable with a particular size is determined more often by the loadability at larger voltage rise margin and by overvoltage at smaller voltage rise margins. The results obtained for the data used show that the overload limit is exceeded more often for transformers than for cable supplying the cable cabinets at smaller solar PV sizes. For larger solar PV sizes, the feeder cable loadability limit is likely to be exceeded first before that of the transformers. The stochastic approach applied to the yields a small probability to exceed the hosting capacity and depend on the two epistemic uncertainties.