Solid-state density functional theory can be used for crystal structure determination from powder X-ray diffraction data of molecular crystals that are too large and complex for conventional refinement methods.