Single-crystal diffraction is one of the most common experimental techniques in chemistry for determining a crystal structure. However, the process of crystal structure determination and refinement is not always straightforward. Methods for simplifying and rationalizing the path to the most optimal crystal structure model have been incorporated into various data processing and crystal structure solution software, with the focus generally on aiding macromolecular or protein structure determination. In this work, we propose a new method that uses singlecrystal data to determine the crystal structures of inorganic, extended solids called "single-crystal automated refinement" (SCAR). The approach was developed using data mining and machine learning methods and considers several structural features common in inorganic solids, like atom assignment based on physically reasonable distances, atomic statistical mixing, and crystallographic site deficiency. The output is a tree of possible solutions for the data set with a corresponding fit score indicating the most reasonable crystal structure. Here, the foundation for SCAR is presented followed by the implementation of SCAR to determine two newly synthesized and previously unreported phases, ZrAu 0.5 Os 0.5 and Nd 4 Mn 2 AuGe 4 . The structure solutions are found to be comparable with those produced by manually solving the data set, including the same refined mixed occupancies and atomic deficiency, supporting the validity of this automatic structure solution method. The proposed SCAR program is thus verified as being a fast and reliable assistant in determining even complex single-crystal diffraction data for extended inorganic solids.