Tallywell.

Parmesan (hard) vs Cheddar cheese

Parmesan (hard)Cheddar cheese
Protein · per 100 g35.8 g24.9 g
Fiber · per 100 g0.0 g0.0 g
Energy · per 100 g420 kcal403 kcal
Protein · per 100 kcal8.5 g6.2 g
To hit 30 g protein84 g · 352 kcal120 g · 486 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.