Companion Planting Calculator

Which Crops Help Each Other, and Which Compete

Companion planting is traditional garden knowledge built up over generations of observed interactions — certain crop pairings seem to repel shared pests, fix nutrients for a neighbor, or share space efficiently, while other pairings compete for the same resources or attract the same problems. This calculator looks up a specific pair of crops and returns the traditional guidance for planting them near each other.

How the Lookup Works

Rather than a numeric formula, this tool checks the selected pair against a reference table of documented companion relationships and returns one of three ratings:

Rating = Good, Bad, or Neutral, based on the specific Plant A + Plant B pair

Well-Known Good Pairings

Traditional companion-planting pairs with documented benefits
PairingReason
Corn + Beans + SquashThe traditional "Three Sisters" — beans fix nitrogen for corn, cornstalks act as a bean trellis, and squash leaves shade out weeds.
Tomato + BasilBasil is said to repel aphids and hornworms and may improve tomato flavor and growth.
Carrot + OnionOnion scent helps deter carrot fly; carrots return the favor against onion pests.
Tomato + MarigoldMarigolds help repel nematodes and several common garden pests.

Pairings Worth Avoiding

Common pairings with documented competition or shared disease/pest risk
PairingReason
Tomato + PotatoBoth are nightshades that share susceptibility to early and late blight.
Tomato + Cabbage familyHeavy nutrient competition between tomatoes and brassicas (cabbage, broccoli, kale) can stunt both.
Beans + OnionOnions can stunt bean growth and inhibit the beans' nitrogen fixation.
Carrot + Dill (mature)Mature dill can stunt carrot growth and cross-attract shared pests.
Note: Companion planting guidance reflects traditional gardening observation, not controlled scientific consensus. Results can vary by climate, soil, and variety — treat a "Bad" rating as a reason for caution, not an absolute rule.

How to Use This Calculator

  1. Select the first plant from the dropdown.
  2. Select the second plant from the dropdown.
  3. Select Calculate to see whether the pair is a documented Good, Bad, or Neutral combination, along with the reasoning.

Related Calculations

Once you've settled on a compatible crop mix, work out how many of each will fit with the Plant Spacing Calculator, or plan your indoor sowing dates with the Seed Starting Date Calculator.