Tallywell.

Pecans vs Walnuts

Both count toward 30 plants a week.

PecansWalnuts
Protein · per 100 g9.2 g15.2 g
Fiber · per 100 g9.6 g6.7 g
Energy · per 100 g691 kcal654 kcal
Protein · per 100 kcal1.3 g2.3 g
To hit 30 g protein326 g · 2253 kcal197 g · 1291 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.