Free calculator
Counts copies along each side of the usable sheet. The gap sits between parts, not after the last one. The blank is turned 90° only when that fits more copies. This is not a true-shape or DXF nest.
n = floor((usable + gap) / (part + gap))