Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Companion planting planner

Find good and bad garden neighbours for 33 vegetables, herbs and flowers, plan a bed square by square, and let a helper arrange it for the best score.

Look up a plant

Plan a bed

How to use it

  1. Pick a plant to see its traditional good neighbours and the plants to keep it away from.
  2. Set the size of your bed in squares (for example one square per 30 cm, or one per square foot).
  3. Choose a plant and tap squares to plant it, or switch to swapping and tap two squares to swap them.
  4. Plants side by side (across or down) score +1 for good neighbours and −1 for bad ones; bad pairs turn red. Press Arrange for the best score to let the helper rearrange your plants.

Keyboard

TabMove between squares and controls
Enter or SpacePlant or pick the focused square

Tips

  • The best-known pairing is the “three sisters”: sweetcorn gives beans a pole to climb, beans add nitrogen to the soil, and squash leaves shade out weeds.
  • Fennel is the loner of the vegetable garden: grow it in its own corner or a pot.
  • Spacing, sun, water and good soil matter far more than neighbours. Use the score to break ties, not to override what each plant needs.
  • Rotate: avoid growing the same family (tomatoes and potatoes, or the cabbage family) in the same place every year.

About this tool

Companion planting lists are mostly gardeners’ tradition. A few pairings have research behind them, such as the three sisters and French marigolds against some root nematodes; many others are simply repeated from book to book, and guides do not always agree. The planner uses the pairs most often listed, for 33 common plants, and treats them as suggestions.

The helper shuffles your plants, then swaps squares while the score improves, from many starting points, and keeps the best layout. The same plants stay in the bed; only their places change.

The tests check that every pair works both ways, recount the score of random beds with a separately written Python version, and compare the helper’s best layout on small beds with every possible arrangement.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product