Because grams are a measurement of weight, the number of grams per cup is dependent on the density of the ingredient you’re measuring. If you’re converting one standard cup of water, you get 236.59 grams. However, one cup of salt weighs about 287 grams and one cup of wheat flour is only 141.6 grams.