I'm using a sensor that measures $\ce{CO2}$ in ppm by volume aka atmosphere. What I'm using it for is to measure $\ce{CO2}$ concentration in water which is measured in ppm by weight.
This is what I have so far
$$\text{Ppmwco2} = \text{ppmvco2} \times 0.8317 \times 44.01 / 10000;$$
This is quicker than $\text{co2}/1000000 \times 0.8317 \times 44.01 / 1000000$. 0.8317 accounts for Henry's Law and max ppmw will be 36.6 with 10,000 ppmv.
The sensor floats on the waterline detecting any $\ce{CO2}$ bouncing out of the water. Do I even need to account for Henry's law? Is the math right?