A single crystal X-ray diffraction analysis was performed on two positional isomers (m-tolyl andp-tolyl) of acrylonitrile derivatives, namely, (Z)-3-(4-(pyridin-2-yl) phenyl)-2-(m-tolyl) acrylonitrile (1) and (Z)-3-(4-(pyridin-2-yl)phenyl)-2-(p-tolyl) acrylonitrile (2). Compound1crystallized in the monoclinicP21/n space group with two crystallographically independent molecules. Compound2also possesses two crystallographically independent molecules and crystallized in the triclinicP-1 space group. The Hirshfeld surface analysis revealed that, in both isomers, intermolecular H⋅⋅⋅H/C/N contacts contribute significantly to the crystal packing. More than 40% of the contribution arises from intermolecular C–H⋅⋅⋅C(π) contacts. In both compounds, the relative contribution of these contacts is comparable, indicating that the positional isomeric effects are marginal. The structures in which these isomers are arranged in the solid state are very similar, and the lattice energies are also comparable between the isomers. The Coulomb-London-Pauli-PIXEL (CLP-PIXEL) energy analysis identified the energetically significant dimers. The strength of the intra- and intermolecular interactions was evaluated using the quantum theory of atoms in molecules approach. The UV-Vis absorbance in three different solvents (chloroform, ethanol, and ethyl acetate) for isomers1and2are very similar. This result is in good agreement with the time-dependent density-functional theory (TD-DFT) calculations.