Accurate results for primordial black holes from spectra with a distinguished scale