Plane wave diffraction by the infinite periodic planar graphene grating and infinite grating above a perfectly conducting plane in the THz range is considered. The mathematical model is based on the graphene surface impedance and the method of singular integral equations. A comparison with finite grating is made. Reflectance, transmittance, and absorbance are studied as a function of graphene and grating parameters.