Tallywell.

Ice cream (vanilla) vs Greek yogurt (nonfat)

Ice cream (vanilla)Greek yogurt (nonfat)
Protein · per 100 g3.5 g10.3 g
Fiber · per 100 g0.7 g0.0 g
Energy · per 100 g207 kcal59 kcal
Protein · per 100 kcal1.7 g17.5 g
To hit 30 g protein857 g · 1774 kcal291 g · 172 kcal

Bold marks the better side of each row. "Per 100 kcal" answers the density question — which food delivers more protein for the energy it costs. Portion row is computed live from the same USDA base values shown on each food page.