We perform nuclear ground-state pairing calculations with the monopole pairing interaction. The particle number fluctuations are taken into account by the particle number projection method, with variation after projection. The pairing-correction energies obtained in this approach are compared to the BCS-model results. We discuss extensively how to properly incorporate different pairing models in global macroscopic-microscopic nuclear mass calculations. A method to calculate the smoothly changing part of the particle number projected energy is developed based on the Strutinsky procedure, making it possible to extract a pairing-shell energy. The behavior of the different pairing models is investigated in detail in the nuclei Er-164 and Tm-165...