As model systems for our calculations, we considered a range of electrolytes with composition x Na2S – (1-x) P2S5 (x = 0, 0.33, 0.5, 0.6, 0.67, 0.75). The glasses were formed using melt-quench technique and the density of the glasses matched well (within 5%) with the experimentally measured value. We analyzed the local structure of these glasses by calculating the radial pair distribution functions (RDF’s) from ab initio MD and compared it to those obtained through X-ray scattering experiments to validate the model. The FTIR and NMR characterization of these glasses show presence of different structural units that effectively control the ionic conductivity of these glasses. We calculated the fractions of each of these functional units present in the glasses from ab initio MD. At 75% Na2S, all the sulfur present in the structure is non-bridging due to presence of purely [PS4]3- groups in the glass. At concentration lower than 75% Na2S, other structural units containing bridging sulfur such as [P2S7]4- dominate the local structure. On the other hand, at concentrations above 75% Na2S, additional structural units corresponding to [PS3]3- and polysulfides are observed along with [PS4]3- due to excess Na2S content. Increase in concentration of polysulfides leads to lower ionic conductivity. As a result, optimal ionic conductivity of these glasses is observed at 75 Na2S – 25 P2S5 composition. The calculated ionic conductivity of these glasses at room temperature was ~ 10-6 S/cm, which matches well in terms of order of magnitude with experimentally measured values. A relatively high ionic conductivity (~ 10-5 S/cm) can be achieved at slightly elevated temperatures of around 60 °C, making these sodium thiophosphate glasses promising electrolytes for solid-state sodium ion batteries.