The effects of variations in water sound‐speed parameters on the performance of four matched‐field processing algorithms (Bartlett, maximum‐likelihood, sector‐focusing, and multiple constraint) have been investigated. The SNAP propagation model was used to generate the replica acoustic pressure field for a shallow water channel with a depth variable sound‐speed profile typical of a midlatitude summer environment. It was also used to simulate a ‘‘detected’’ field due to an acoustic source. These were then correlated using the four algorithms for selected degrees of mismatch of the water sound‐speed profile. The maximum likelihood and multiple constraint estimators achieved good peak resolution and high accuracy for small degrees of mismatch. The maximum likelihood estimator deteriorated quickly as the mismatch increased. The multiple constraint estimator performed significantly better, but both failed to give correct location estimates at the higher mismatch values. In contrast, the sector focusing estimator continued to give accurate location estimates over the whole range of sound‐speed mismatch, with slightly less peak resolution at small mismatch values. It also performed significantly better overall than the Bartlett estimator, which was found to give accurate location estimates over the whole range of mismatch values used, but with poor peak resolution against a background containing many high sidelobes.