The Beam Calculator dialog box performs deflection and stress calculations on structural steel cross sections.
Tools >> Addins.
Enable SolidWorks toolbox browser. Click OK.
Click Beam calculator in Office products tab.
The beam calculator dialogue box will appear. Change units to Metric.
Click beam and select the type of beam.
Enter the length and load & click Solve.
It will calculate the deflection.
Change type of caluclation to stress. And then select the type of beam and enter the value of load and length to calculate the stress.