The normal stress created in a beam is computed from the flexure formula:

Moments and bending stress

where y = distance from centroidal axis and I = moment of inertia about the centroidal axis.

Moments and bending stress