By applying Scherrer's equation to the anatase and rutile peaks of the XRD patterns, one can calculate the crystallite sizes for the different photocatalysts. The lattice constants, which are the distances between atoms in the crystal lattice, can also be determined from the XRD data. These constants provide insight into the degree of lattice distortion caused by the doping ions.