We have developed a software tool for the generation of survey spectra in X-ray photoelectron spectroscopy (GOSSIP) to simulate wide spectra in the range 200-1500 eV from nano-structured surfaces. It is based on linear combination of delta layers spectra with the atomic spectra of the elements or compounds of the surface to be simulated. The set of delta layers to reproduce any model is a 200-file database of thin layers regularly buried up to a depth of 40 nm and has been generated with QUASES . The atomic spectra that constitute a second database have themselves been determined with QUASES from experimental spectra of the elements or compounds in pure form. The principle of GOSSIP is described. Then the generation process is validated by comparison with experimental data for simple rectangular in-depth distribution of elements. The use of peak area ratios for quantification quickly gives a set of atomic percentages, but means that the sample composition is assumed to be constant over the depth probed by XPS. This is rarely true and it is precisely because samples are inhomogeneous on the nanometre depth scale that surface analysis (XPS or AES) finds its value compared with other solid materials analytical techniques such as energy dispersive spectrometry (EDS) or X-ray fluorescence spectrometry (XRF). The assumption that a solid composition is constant in the volume of matter probed by XPS or AES can lead to important errors in quantification of surfaces [1] and misinterpretation of recorded data. Surface quantification cannot be decoupled from in-depth atomic distribution, or surface nanostructure determination. Several methods have been established to account for or to determine this nanostructure for reliable surface quantification: peak intensity attenuation, [2] angular-resolved XPS, [2,3] sputter depth profiling.[4]These methods are only based on peak intensities or variation of these intensities with a parameter (angle or time) and do not exploit the rich information contained in the inelastic background associated with the peaks.In that aim, SESSA, [5,6] a new software tool for quantitative AES and XPS has been recently designed and is released by National Institute of Standards and Technology (NIST). [7] SESSA is a database that contains all physical data required to perform quantitative interpretation of auger-electron or X-ray photoelectron spectrum for a layered specimen. A simulation module, based on a Monte Carlo algorithm, is also included into SESSA: the simulated spectra, for layer compositions and thicknesses specified by the user, can be compared with the measured spectra and adjusted to find maximum consistency.In a similar way, with generation of survey spectra in x-ray photoelectron spectroscopy (GOSSIP), depth distribution and concentrations of species are determined through absolute comparison of the measured data and the simulated XPS survey spectrum of the nano-structured surface model. However, a comparison of both software tools is not timely. GOSSIP aims at simulating wide XPS s...