Hi;
If you have deflection limit, you can work it backwards. Max deflection of cantilever beam (UDL) is wl^4/8EI. once you get the moment of inertia I, you can get S by dividing it by the distance from the NA to the furthest point of the shape.
If you are talking about how to find calculate...