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 .
One cubic centimetre of water is equal to 1 gram .