Question: is ml the same as g?
Answer: One milliliter of water has one gram of mass, and weighs one gram in typical situations, including for cooking recipes and math and science problems (unless another stated). There is no need to do any math: the measurement in milliliters and grams are always the same.