2-Cyano-N-cyclopropylacetamide (2CCPA) and 2-cyano-N-(1-phenylethyl) acetamide (2CPEA) compounds were synthesized and characterized by FT-IR, FT-Raman, UV-Vis, 1H NMR, and 13C NMR spectrum analyses. Density functional theory (DFT) B3LYP and HF techniques with 6-31++G(d,p) and 6-311++G(d,p) basis sets were used to determine the optimal molecular geometry, vibrational wavenumbers, infrared intensities, and Raman scattering activities. To get better results for the computed data, the vibrational wavenumbers are additionally adjusted with a scaling factor. 2CCPA and 2CPEA were investigated for their MEP, NBO analysis, NLO behavior, and thermodynamic characteristics. To determine the chemically active locations, the MEP and ELF have been illustrated. Fukui functions have shown the electrophilic and nucleophilic areas. The (GIAO) technique was used to compute the molecule 1H and 13C Nuclear Magnetic Resonance (NMR) chemical shifts. UV-Vis and HOMO-LUMO studies, which characterize charge transfer between atoms in a molecule, have been used to elucidate the electronic characteristics of 2CCPA and 2CPEA molecules. The minimal binding energy was obtained using 2D and 3D molecular docking calculations on 2CCPA and 2CPEA to examine hydrogen bond interactions. Molecular docking methods were employed with 2CCPA and 2CPEA molecules with the different protein receptors (1H23, 1QXK, 1ZXM, 3PTA, 4JS9, 2C5Y, ABW, 3RDE, 6GU7, and 6J7A) t and -o find the best of two molecules for drug identification and binding energy was found to be −5.8 and −7.5 kcal/mol. A molecular dynamics simulation was used to explore biomolecular stability.