Maximum-power-point computation for solar cells when both series and shunt resistance losses are present simultaneously has been lacking in the past. This paper presents a new and simple method to achieve this task. Hence we become able to incorporate both series resistance R s and shunt resistance R sh, analytically in maximum-power analysis. The method is illustrated by a numerical example. The important solar cell parameters, i.e. open-circuit voltage V oc, short-circuit current I sc , maximum-power coordinates (I mp , V mp ) and maximum power P mp, fill factor FF and efficiency η have been obtained for the general lossy-cell case.