A genetic algorithm (GA) based method for solving crystal structures directly from powder diffraction data has been developed. The method is based around fitting the diffraction data generated film trial structures against the measured diffraction data and has the ability to handle flexible molecules and multiple fragments. It is computationally highly efficient and tal;es full advantage of the implicit parallelism of the GA. The method is illustrated with the solutions of three crystal structures of varying complexity.