The core-electron binding energies of six isomers of C3H6O2 and four isomers of C3H5NO were calculated by a DFT/uGTS/scaled-pVTZ approach. An average absolute deviation from experiment of 0.15 eV was found for 14 C, N, and O 1s energies. The results confirm the distinctive nature of the X-ray photoelectron spectra (XPS) of isomers and support the use of electron spectroscopy complemented by accurate theoretical predictions as a tool for chemical analysis. © 1999 John Wiley & Sons, Inc. Int J Quant Chem 76: 44–50, 2000