Two recent articles [(2000) J Am Chem Soc 122: 2010, (2001) J Am Chem Soc 123: 2007] have explored electron-density-based and external-potential-based chemical reactivity indices. In this article, methods are presented for computing these indices from the output of a Kohn-Sham density functional theory calculation.