This study uses equilibrium molecular dynamics (EMD) simulations to gain microstructural insight into and predict crucial properties of gas-brine mixtures affecting sour gas reservoir development. The effects of pressure, temperature, gas composition and salinity on the solubility and density of H2S-CH4 mixtures in pure water and CaCl2 brine were investigated at industrially relevant conditions (temperature range of 280 − 340 K, pressures up to 20 MPa, and a salinity range of 4.78 − 17.32 wt%). The force fields used in the MD simulations were validated using experimental data for pure H2S and CH4. The results showed that the solubility of pure H2S and CH4 in pure water increases with pressure, with the latter having a higher solubility. For H2S-CH4 mixtures, the solubility of H2S increased while that of CH4 fell with increasing H2S mole fraction, with the solubilities of the two gases intersecting at an H2S mole fraction of 0.28. Further, the solubility of H2S shows a greater pressure dependence than that of CH4, and H2S gas tends to reach saturation in pure water. In calcium chloride solution, the gas solubility decreases as the ions reduce the interaction between water and gas molecules. The solubility of H2S gas is a stronger function of the ion concentration compared with CH4, and increases 6-fold as the H2S mole fraction increases from 0.5 to 0.8. The overall solubility ranges were 0.45 to 3.48 mol/kg for H2S and 0.15 to 0.25 mol/kg for CH4.