In this article, we study tilted fiber Bragg gratings (TFBGs) with tilt angles of 6◦ and 8◦, their transmission spectra, and spectral parameters that have a linear dependence on the refractive index of the environment. It is shown that there can be several such characteristics, such as the minimum, width and energy of the spectrum. The linear dependence of the spectrum width on the refractive index does not depend on the tilt angle. The linear dependence of the spectrum minimum is only observed for a tilt angle of 8◦. The results of this work can be used to create a sensor system based on an optical fiber.