Organic compound-based sensors are used in a variety of significant fields, including medical research, azeotropic calibration, vegetable oil extraction, the shoe industry and geothermal power plants. Here, a high-performance, two-dimensional material-based organic compound sensor has been proposed using a surface plasmon resonance (SPR) nanostructure consisting of a BK7 glass prism, Ag, BaTiO
3
, Ag, graphene and sensing layer. The reflectivity curves of the SPR device have been investigated when the sensing media are Pentane, n-Hexane, n-Heptane and n-Octane. The thickness of the BaTiO
3
layer and the number of graphene sheets have been optimized to maximize the sensitivity. The highest sensitivity attained is 220.83 deg/RIU for n-Octane with 45 nm silver/10 nm BaTiO
3
/8 nm silver and four layers of graphene. We believe that the SPR-based sensors are simple and can replace the spectrometry, chromatography and electrochemical based sensors. The proposed design is extremely effective for diverse applications in biological, industrial and chemical detection because of its simple structure and great performance.