There is no single grams-to-cups number - a cup of flour is 120g, a cup of honey 336g. Pick your actual ingredient and get the real answer, verified against King Arthur Baking’s chart.
A cup is a volume; a gram is a weight - so the conversion depends entirely on how dense the ingredient is. One US cup of all-purpose flour weighs about 120g, granulated sugar 198g, and honey 336g - nearly three times the flour. Any page giving you one flat "grams per cup" number is giving you a wrong answer for almost everything you'd actually measure. The figures here are verified against King Arthur Baking's published ingredient weight chart, the most widely used reference in home baking.
Even for the same flour, technique changes the weight: spooned gently into the cup and leveled, it's about 120g; scooped straight from the bag, closer to 140g, because scooping compacts it. That 17% swing is the biggest source of dense, dry bakes. If a recipe gives grams, trust the grams - it's the whole reason bakers weigh.
This page covers the most-searched ingredients. The full ingredient converter handles both directions (cups to grams too), partial cups, and the spooned-vs-scooped flour choice explicitly.