We have derived a series of shape-dependent third-order aberration equations involving lens thickness. These equations are used in a simple and direct method to correct real aberrations and to find the minimum aberration for triple design that has been proposed. These calculated third-order aberrations can exactly meet the target values for each stage by means of the damped least-squares method. The shape of the three elements permits the control of three third-order aberrations: spherical aberration, coma and astigmatism. The spherical aberration is targeted first. The minimal value of the real on-axis aberration is obtained. Similarly, the coma and astigmatism target values are adjusted so as to force the full field angle real off-axis aberrations down to a minimum. Finally, the manual adjustment of the lens thickness and air spacing is used to attain the minimum aberration at the 0.7 field angle. To verify the method, two triplet design examples are presented.