Question: is 1 ml is equal to 1 gram?
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.