Potassium metal is commercially prepared by the reduction of molten KCl with metallic sodium is 8500 C (1123K). This method is based upon the following principle
Sodium prefers to bind to chloride ions in preference to potassium ions
KCl (fused) + Na (1123K) → NaCl + K;
Na prefers to bind to Cl- ions in preference to K+ ions.