Here is a link the “Sagulator” for calculating shelf sag.

Bondo Gaposis