Computational methods and crystallography have been coupled to study the structure-function relationships of two heme enzymes: cytochrome c peroxidase (CCP) and nitric oxide synthase (NOS). For NOS, computational approaches were used to resolve ambiguities in the orientation of an inhibitor, 7-nitroindazole, bound in the active site. Calculations of interaction energies between the inhibitor and protein supported one orientation over the other. For CCP, site-directed mutagenesis, crystallography, and computation have helped explain why CCP uniquely stabilizes a tryptophan cation radical during catalysis, unlike other peroxidases.