How to check this calculation
Formula & conventions
Enter the available inside height. Margins and shelf thicknesses are deducted, and the remainder is divided among all openings, including top and bottom. Positions run from the base to each shelf underside.
g = (H − m₁ − m₂ − n × t) / (n + 1)
Position origin: left edge or base indicated in the drawing.