you can use he Scherrer equation but have in mind that if you have the size along one specific direction, depending of the difraction peaks used in the calculations.
Regards,
Fernando
See the site below to see the equation and how to use it.
After Fernando and Evan , also you can look at the RG link below, it contain dense bundle of knowledge on how to obtain particles size using the XRD data.