ForHosting KIT · Science

Plant population calculator

Know your stand before you order trays: a 1000 square-metre bed at 0.5 metre square spacing holds 4000 plants, 4 per square metre. Add a separate row width for row crops. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Area
1,000
Spacing
0.5
You get
Row spacing
0.5
Space per plant
0.25
Plants per unit area
4
Plant count exact
4,000

Plant population is the number of plants that occupy a field once you know how much ground each plant is allowed. Growers, agronomists, and garden planners divide field area by the rectangle formed from in-row spacing and row spacing, then keep the whole number of plants that actually fit. This plant population calculator accepts a positive field area and a positive per-plant spacing, treats omitted row spacing as a square grid equal to the in-row distance, and returns the integer plant count together with the exact quotient and the plants per unit area.

What plant population means and how the count is computed

Plant population is the number of plants that occupy a measured field after you assign each plant a rectangle of ground. In row crops and vegetable beds that rectangle is the product of two lengths: the in-row center-to-center spacing between plants, and the distance between adjacent rows. This calculator treats those lengths as unit-agnostic numbers that must match the square of the area unit: metres with square metres, feet with square feet, inches with square inches.

When you omit row spacing, the layout is a square grid and the rectangle collapses to spacing times spacing. The exact count is field area divided by that rectangle; the integer plant count is the whole number of rectangles that fit, using a floor with a tiny epsilon so floating-point leftovers never steal a plant that truly fits. A one-thousand square-metre bed at half-metre square spacing therefore holds four thousand plants, because each plant occupies one quarter of a square metre.

A one-hectare field entered as ten thousand square metres with a quarter-metre in-row spacing and a three-quarter-metre row spacing holds fifty-three thousand three hundred thirty-three plants, the floor of ten thousand divided by zero point one eight seven five. Zero or negative area or spacing cannot describe a physical stand, so those values are rejected rather than producing a nonsense negative or infinite population. The tool does not model germination, mortality, skip-row patterns, or headland waste; those adjustments belong in a later planning step after the geometric fit is known.

Vegetable beds and market gardens

Turn measured plot area and catalogue plant spacing into an integer transplant count before you order trays or seed a bed.

Row-crop stand planning

Combine field area with in-row spacing and row width to obtain plants that fit and plants per unit area for a planting plan.

Classroom and extension checks

Let students and growers verify plant-population homework against a deterministic floor of area over the spacing rectangle.

What happens if area or spacing is zero or negative?

Zero or negative area or spacing cannot describe a physical field or stand, and the failure is not billed.

Do I have to enter row spacing?

When it is missing, the calculator copies spacing so plants sit on a square grid.

Which units should I use for area and spacing?

Keep them consistent: metres with square metres, feet with square feet, inches with square inches. Convert hectares or acres to the matching square unit before you call.

Does the plant count include germination losses?

No. It counts the plants that fit geometrically, not the seeds to buy. For a seed order, adjust the count with your own germination rate; mortality, skip rows and headland waste also belong in that later step.

Why is the plant count rounded down?

Because only whole spacing rectangles hold a plant. The count is the whole number of rectangles that fit in the area, with a tiny tolerance so rounding noise never removes a plant that truly fits; the exact quotient is shown too.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/bio/plant-population

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/bio/plant-population \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"area":1000,"spacing":0.5}'
{
  "area": 1000,
  "spacing": 0.5
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "bio.plant_population",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Zero or negative area or spacing is rejected as invalid_input instead of inventing a stand.

Input contract, response shape, and error behaviour

POST a JSON body with two required finite positive numbers: area, the field surface in your chosen area unit, and spacing, the in-row center-to-center plant distance in the matching length unit. Each field may arrive as a JSON number or as a numeric string; aliases are accepted—field_area, field, surface, and surface_area for area; plant_spacing, in_row_spacing, plant_to_plant, and distance for spacing; row_width, between_row, and rows for row_spacing. Missing fields, empty strings, non-finite values, zero, and negative numbers fail with invalid_input and a message that names the field. Those failures are not billed. On success the body echoes the cleaned area, spacing, and row_spacing; reports space_per_plant as their product; reports plants_per_unit_area as the reciprocal of that product; returns plant_count_exact as the untruncated quotient and plant_count as the integer number of plants that fit; and includes formula and method strings you can show next to the answer. Example: area one thousand and spacing one half with no row_spacing yields plant_count four thousand and plants_per_unit_area four. Pair the response with your own germination percentage if you need a seed-order quantity; this endpoint counts plants that fit, not seeds you should buy to offset stand loss.

Where a plant population API earns its keep

Vegetable growers and market-garden software convert measured plot area and catalogue spacing into tray orders before a planting day. Failed validation does not consume balance. Convert hectares to square metres—or acres to square feet—before you call if your source tables mix those systems, and re-check spacing whenever variety, canopy, or equipment width changes. Greenhouse and transplant vendors need a deterministic plant count so every quote for the same bed size and spacing agrees, whether the request came from a phone form, a desktop planner, or a spreadsheet import. Research plots that fix plants per square metre can invert the same identity when they already know area and the target population, but this endpoint solves the forward problem: given space, how many plants fit. Keep area and spacing in matching units, pin plant_count in tests, and you get reproducible stand numbers for work orders, LMS plugins, and edge workers without hosting custom farm geometry of your own.

How is plant population calculated from field area and spacing?

Each plant occupies spacing × row_spacing of ground. The calculator divides field area by that rectangle and returns plant_count as the whole number of plants that fit. If you omit row_spacing, a square grid is assumed.

What does the plant population calculator cost?

The browser tool is free. API requests use prepaid KIT balance at $0.002 per successful call; invalid input is not billed.

Read the full KIT documentation →