The new generation of energy-dispersive X-ray (EDX) detectors with higher count rates than ever before, paves the way for a new approach to quantitative elemental analysis in the scanning transmission electron microscope. Here we demonstrate a method of calculating partial cross sections for use in quantifying EDX data, beneficial especially because of the simplicity of its implementation. Applying this approach to acid-leached PtCo catalyst nanoparticles leads to quantitative determination of the Pt surface enrichment.