The use of the first order finite element method for the computation of electrostatic rotationally symmetric electron lenses and electrostatic multipole elements is described. Attention is paid to the correct evaluation of the coefficients of FEM equations. Specific features in the program implementation include the use of thin electrodes, the use of dense fine mesh with smoothly varying step size, and the solution of the resulting set of linear equations with a fast and efficient ICCG method. The program is equipped with a suitable user interface allowing data input and modification graphically or by editing in clearly arranged menus, automeshing procedure for the generation of the fine mesh, and allowing display and plotter output of computed results. In a related program for electrostatic multipoles higher order harmonic components can be calculated. The use and the accuracy of the programs is illustrated by an example of the computation of a two-tube electrostatic lens, and by the evaluation of the axial multipole function for higher multipoles.