Shelf sag calculator
Will your shelf bow under the weight of your books? Pick the material and the size, and see how much it sags, how long it can safely be and how thick it needs to be.
These are estimates to help you plan. Manufacturers' own tables and your own tests come first, and nothing here replaces them.