Effective depth in beam section is:

Explanation:
Effective depth locates tensile reinforcement.