mg/L is about the same as ppm, so divide by 50 for ppm CaCO3 equivalents. That's about 2.05 meq/L. The valence isn't critical; the atomic weights are what's used. This article covers a lot of units of measurement:
http://reefkeeping.com/issues/2005-08/rhf/index.php