Skip to main content
Calcimator

Companion Planting Calculator

Evaluate companion planting benefits for your crops including yield boost and pest reduction estimates.

About this calculator

Companion planting pairs crops that benefit each other — through nitrogen fixation, pest confusion, shade sharing, or physical support — and this calculator scores how favorable your growing conditions are for getting those benefits from your chosen primary crop. It starts from a base compatibility score reflecting how many well-documented companion pairings that crop has (beans and corn, for instance, score high because beans fix nitrogen the corn can use and corn provides a natural trellis, the classic Three Sisters pattern), then adjusts up or down for sunlight and soil pH, since a companion planting scheme only pays off if the growing conditions themselves support healthy plants in the first place. Sunlight below 6 hours a day drags the score down because most companion vegetables need substantial direct light regardless of what's planted next to them, and soil pH outside the roughly 6.0–7.0 sweet spot most vegetables prefer does the same.

The resulting score drives estimated yield boost and pest reduction percentages, both proxies for the documented but highly variable real-world benefits of companion planting — actual outcomes depend heavily on the specific pairing, planting density, and local pest pressure, so treat these percentages as directional rather than a guaranteed figure. What this tool does not account for: your bed's specific companion crop selections (it evaluates your primary crop's general potential, not an actual planned pairing), regional pest pressure, bed size or plant count, or the incompatibilities some crops have with specific companions even when the primary crop's overall score is favorable.

Inputs

hrs

Results

Companion Score (1-10)

10

Yield Boost30%
Pest Reduction25%
Spacing Adjustment-10%
Incompatible Crops2
How to Use This Calculator
  1. Select your primary crop from the list.
  2. Enter the average daily sunlight hours your garden bed receives.
  3. Enter your soil pH — most vegetables prefer 6.0–7.0; test with an inexpensive soil test kit.
  4. Review the Companion Score (1–10), Yield Boost %, and Pest Reduction % to understand the benefit of pairing companion plants.
  5. Note the Spacing Adjustment % to modify your usual plant spacing when interplanting companions.

How the result changes with Daily Sunlight Hours

Daily Sunlight HoursCompanion Score (1-10)
47
69
1210
1610

What each input means

Primary Crop
The main crop you're planning companions for.
Daily Sunlight Hours
Average hours of direct sunlight the bed receives.
Soil pH
Current soil pH level. Most vegetables prefer 6.0-7.0.

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    3 parameters
    Primary Crop = 1, Daily Sunlight Hours = 8, Soil pH = 6.5 = 3 input(s) provided
  2. Calculate Companion Score
    Companion Score
    10 = 10
  3. Calculate Yield Boost
    Yield Boost
    30 = 30
  4. Calculate Pest Reduction
    Pest Reduction
    25 = 25

Engine last updated . Checked against 3 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.

Frequently Asked Questions

Why does low sunlight hurt my companion score even if I picked a great crop pairing?

Most companion vegetable pairings assume both plants are getting adequate direct light — shade-intolerant crops planted together in a shady bed will underperform regardless of how well they theoretically complement each other. The calculator reduces the score when sunlight drops below 6 hours a day for exactly this reason: a great pairing in poor light conditions is still a poor outcome.

What does the incompatible crops count mean?

It's the number of commonly grown vegetables known to compete with or inhibit your primary crop when planted too close — for example, onions are noted for a relatively high incompatible count because alliums are known to stunt beans and peas nearby. Use it as a caution list: crops to keep at a distance from your primary crop rather than a complete companion-planting plan.

How reliable are the yield boost and pest reduction percentages?

Treat them as directional estimates rather than guaranteed outcomes — real-world companion planting results vary widely depending on the specific crop pairing, planting density, and local pest pressure, and no single percentage generalizes across all of that. The percentages here scale with the overall compatibility score to give you a rough sense of upside, not a lab-verified figure for your specific garden.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Home, Garden & Maintenance.