Tallywell.

Tempeh vs Tofu (firm)

Both count toward 30 plants a week.

TempehTofu (firm)
Protein · per 100 g20.3 g15.8 g
Fiber · per 100 g1.8 g2.3 g
Energy · per 100 g192 kcal144 kcal
Protein · per 100 kcal10.6 g11.0 g
To hit 30 g protein148 g · 284 kcal190 g · 273 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.