The mass of one cubic centimetre of water at 3.98 °C (the temperature at which it attains its maximum density) is closely equal to one gram. The basic unit of measurement for mass in the metric system; one cubic centimeter of water has a mass of approximately one gram.