The crystal structure data have been determined by X-ray diffraction for three rare earth magnetic materials, Nd2Co14B, Pr2Co14B, and Pr2Fe14B. The data were evaluated with several computer programs desingned for that purpose. The crystal structure for Nd2Co14B and Pr2Fe14D determined by X-ray diffraction agree with those obtained earlier by neutron diffraction.