Energy at level n = energy at producers × (efficiency)^(n − 1). NPP = GPP − R. Productivity is a rate; standing crop is an amount at one moment.
Energy flows one way and shrinks by about nine-tenths at each step, so count steps and divide by powers of 10. Herbivores live on NPP, not GPP. Lignin, chitin, cold and waterlogging slow decomposition; nitrogen, sugars, warmth, moisture and air speed it up.