Square Foot Garden Calculator
Plan your square foot garden layout with precise plant counts based on spacing and bed dimensions.
About this calculator
This calculator lays your bed out as a grid rather than assuming a single fixed spacing for every crop. It converts your plant spacing into how many plants fit along the bed's length (length divided by spacing, rounded down to a whole plant) and your row spacing into how many rows fit across the usable width (bed width minus the path, divided by row spacing, again rounded down), then multiplies the two to get a total plant count. Rounding down matters here because a partial plant or partial row is not something you can actually put in the ground — a bed that fits 13.7 lettuce plants per row really only fits 13.
Plants per Square Foot is a separate figure derived purely from your spacing input (the inverse of spacing squared), useful for comparing crop density independent of your specific bed size. The Path Width field subtracts a single access path from the usable width once, which models a bed with one path running along its width rather than paths splitting it into multiple planting blocks — for a bed you intend to divide into several strips with paths between them, you'll get a more accurate count running each strip through the calculator separately. Because spacing recommendations vary by variety and by how aggressively you're willing to thin plants later, treat the plant-spacing input as a starting guideline from a seed packet or extension resource rather than a fixed rule.
Inputs
Results
Plants per Sq Ft
4
Total Plants
64
How to Use This Calculator
- Enter your bed length and width in feet — 4 ft wide beds are standard so you can reach the center from both sides.
- Enter plant spacing in inches (lettuce = 6 in, tomatoes = 18 in, squash = 24 in) and row spacing in inches.
- Enter path width inside the bed if you have access paths (enter 0 for a single block bed).
- Review Plants per Sq Ft and Total Plants to plan your planting layout.
- Use Usable Growing Area to see how much space is actually available for plants after accounting for paths.
How the result changes with Plant Spacing
| Plant Spacing | Plants per Sq Ft | Total Plants |
|---|---|---|
| 3 | 16 | 128 |
| 4.5 | 7.11 | 84 |
| 9 | 1.78 | 40 |
| 15 | 0.64 | 24 |
What each input means
- Bed Length
- Length of the garden bed in feet.
- Bed Width
- Width of the garden bed in feet. 4ft is standard for reach from both sides.
- Plant Spacing
- Spacing between plants in inches (e.g., lettuce=6, tomato=18, squash=24).
- Row Spacing
- Spacing between rows in inches.
- Path Width
- Width of access paths within the bed (0 for single-block beds).
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersBed Length = 8, Bed Width = 4, Plant Spacing = 6, Row Spacing = 12 = 5 input(s) provided
- Calculate Plants per Sq FtPlants per Sq Ft4 = 4
- Calculate Total PlantsTotal Plants64 = 64
- Calculate Total Bed AreaTotal Bed Area32 = 32
- Calculate Rows per BedRows per Bed4 = 4
Engine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why does the total plant count round down instead of up?
A garden bed can only hold whole plants — if the math works out to 13.7 plants fitting along a row, the thirteenth plant is the last one that actually has its full spacing allowance, and a fourteenth would crowd its neighbors. Rounding down keeps the plant count physically realistic rather than optimistic.
How is Plants per Square Foot different from Total Plants?
Plants per Square Foot is calculated purely from your spacing input, independent of bed size — it tells you the density a given spacing produces anywhere. Total Plants combines that density with your actual bed length, width, and path allowance to give the real count for the specific bed you're planning.
What plant spacing should I use for common vegetables?
Spacing varies significantly by crop and variety — leafy greens like lettuce often use around 6 inches, bush beans and carrots somewhat more, while sprawling plants like tomatoes or squash need 18 to 24 inches or more to avoid competing for light and airflow. Check your seed packet or a regional extension guide for the specific variety you're growing.
How does the path width affect my usable growing area?
Entering a path width subtracts that strip from the bed's usable width before the plant grid is calculated, since a path is space you walk on rather than plant in. Leaving it at zero assumes the entire bed width is planted edge to edge, which only makes sense for a bed narrow enough to reach across without stepping in it.
Can I use this for a bed with paths splitting it into multiple sections?
The calculator only models a single path subtracted once from the bed's width, so a bed divided into several planting strips by multiple paths won't be represented accurately in one pass. Running each strip through separately, using that strip's own length and width, gives a more accurate total than trying to force a multi-path layout into one calculation.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Succession Planting Calculator
Plan continuous harvests by calculating planting intervals for succession planting throughout the season.
Garden PlanningCompanion Planting Calculator
Evaluate companion planting benefits for your crops including yield boost and pest reduction estimates.
Garden PlanningRaised Bed Builder Calculator
Plan a raised garden bed build — get lumber quantities, hardware lists, soil volume, and total cost estimates by material type.
More in Home, Garden & Maintenance.