Grid and row counts
Both modes divide the bed's length and width by the spacing and drop any fractional remainder: an 8-foot bed at 12-inch spacing fits 8 plants per side, and a leftover strip of a few inches plants nothing. Row mode uses the same arithmetic but lets you set a wider spacing between rows than within a row, to leave walking or weeding paths.