for flour, 1 cup equates to around 125g. for sugar, 1 cup equals around 200g. for butter, 1 cup equates to around 227g. to calculate the grams from a recipe given in cups, it's vitally important to consider what the ingredient is.