In this article, we have employed GSAS software to do Reitveld profile refinement on XRD patterns from H-Tc superconductor powder YBa2-xKxCu3O7-y (0<x,y<1) samples. Increasing the Potassium doping content of the sample, x, causes some changes in the XRD patterns such as creating new peaks and also deteriorating of goodness of the refinement, χ2. On the other hand, substituting of K instead of B...