mg/L = g/m3 = µg/mL mg/m3 = ug/L = ng/mL
c [ppm] = mole volume [L] x c [ mg/m3 ] molar mass [g]
The mole volume of any gas is 24.1L at 20oC and 1013hPA, the molar mass (molecular weight) is specific to each gas.
c [ mg/m3 ] = molar mass [g] x c [ppm] mole volume [L]