The determination of the elements Cu, Ni, Sb, Bi, Pb, Zn and Fe in the tin-based solder VPr35, as well as the elements Sn, Ni, Sb, Bi and In in the lead-based VPr40 solder by the method of х-ray fluorescence spectroscopy has been carried out. The calibration dependences are corrected taking into account the superposition of signals from interfering elements on the analytical signal and changes in intensity caused by inter-element influences in the matrix. The analysis was carried out by the method of fundamental parameters without using standard samples. The correctness of the results obtained was confirmed by their comparative analysis by atomic emission spectroscopy and high-resolution mass spectrometry with a glow discharge.