Quantum chemical calculations on the geometric parameters, harmonic vibrational wavenumbers and H-1 and C-13 nuclear magnetic resonance (NMR) chemical shifts values of 4-(methoxymethyl)-6-methyl-5-nitro-2-oxo-1,2-dihydropyridine-3-carbonitrile [C9H9N3O4] molecule in ground state were performed using the ab initio HF and density functional theory (DFT/B3LYP) methods with 6-311++G(d,p) basis set. The results of optimized molecular structure were presented and compared with X-ray diffraction results. The theoretical vibrational frequencies and H-1 and C-13 NMR chemical shifts values were compared with experimental values of the investigated molecule. The observed and calculated values were found to be in good agreement. Since the title compound contains different electron-donor and -acceptor groups as well as lone pair electrons, and multiple bonds, the effects of these groups on the structural and electronic properties are found out. In addition, conformational, natural bond orbital (NBO), nonlinear optical (NLO) analysis, frontier molecular orbital energies, molecular surfaces, Mulliken charges and atomic polar tensor based charges were investigated using HF and DFT methods. (C) 2014 Elsevier B.V. All rights reserved.