What determines whether one metal will replace another metal from a compound in a single-replacement reaction?

2 answers

The position of the metal and metal ion in the activity series.
thank u!