In the field of X-ray phase-contrast imaging, a time-saving approach and preservation of details are crucial factors for obtaining phase-contrast images. In this manuscript, a single grating imaging system is proposed to perform the X-ray phase-contrast imaging. Instead of the time-consuming phase-stepping method, this system uses a single-shot algorithm to retrieve the distribution of samples’ attenuation and phase gradient. Unlike the single-shot Fourier transform algorithm, which truncates the high-frequency component of the image and reduces the spatial resolution, our method can retrieve the attenuation and phase information images with the same spatial resolution as the images acquired directly by the X-ray detector used. Furthermore, by using a large-size X-ray detector (29 cm × 23 cm), the imaging system can be configured as either a microscopic instrument or a normal large field-of-view imaging system. Finally, a series of experiments were performed to validate the feasibility of the proposed method.