Companion Planting Calculator

Match crops that help each other grow naturally. Spot conflicts before you plant the bed. Build balanced gardens with companions, spacing, and notes.

Inputs

Select a primary crop and companions, then size your bed. The scoring helps prioritize helpful pairings and flags common conflicts.

Used for bed sizing and area display.
This crop anchors the recommendation scoring.
Tip: include at least one flower or allium.
If provided, counts use rows × plants per row.
Changes the estimate for total plant counts.
Goals add small bonuses to compatible plant traits.
Reset

Example data

A sample input set to demonstrate the calculator output format.

Primary Companions Bed size Goals Expected outcome
Tomato Basil, Marigold, Carrot 3.0 m × 1.2 m Pest control, Yield Higher compatibility; flower support; fewer common conflicts.
Cucumber Dill, Radish, Nasturtium 8 ft × 3 ft Pollinators, Space efficiency Better insect activity; fast fillers; improved bed use.

Formula used

This tool converts common companion planting guidance into a transparent scoring method. It is a planning aid, not a guarantee.

  • Base score: +3 if a companion is listed as helpful; −5 if listed as conflicting.
  • Goal bonuses: +1 for traits matching your goals (nitrogen support, pest reduction, pollinators, quick fillers).
  • Climate nudge: +1 if cool-season crops match cool climates; −1 in warm climates.
  • Risk penalty: −2 for plants with higher suppression risk in mixed beds.
Normalization
RawScore is mapped into a 0–100 range using:
Score = clamp( ((RawScore + 8) / 15) × 100, 0, 100 )

Plant counts are estimated from bed area and typical spacing, adjusted by your chosen density and (optionally) your row spacing.

How to use this calculator

  1. Select your primary plant (the crop you care about most).
  2. Add up to six companion candidates you want to include.
  3. Enter bed length and width, then optionally add row spacing.
  4. Choose goals like pest control, soil health, or pollinators.
  5. Press Calculate to see recommended companions and cautions.
  6. Download a CSV or PDF to save the plan for your garden log.

Related Calculators

Raised bed volume calculatorTopsoil cubic yards calculatorCompost cubic yards calculatorSoil bags needed calculatorSoil depth calculatorBed length width calculatorBed border length calculatorBed board count calculatorLumber cut list calculatorCedar board calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.