Skip to content

Companion Planting Layout Calculator

Calculate companion planting layout and spacing for common vegetable combos.

How We Calculate This

Select your main crop and enter your bed dimensions. The calculator looks up recommended companions and crops to avoid, then estimates plant counts from each species' optimal spacing.

Rows run across the bed width at the row spacing (pitch) you set; plants per row are spaced along the bed length at the crop's own spacing (both use the fencepost rule: plants = length ÷ spacing + 1). Companions are counted as interplanted accents — set between the main plants and at row ends — so they stay roughly equal to or fewer than the main crop rather than forming a second full crop. An edge buffer keeps plants away from the bed edges for access and airflow.

Frequently Asked Questions

Last updated: March 2026

All calculations are estimates based on standard gardening guidelines. Results may vary with soil conditions, climate, and plant varieties.