Home / Science / Ecology and organisms / Botany and plant science / Stomatal density counterTool #327

Stomatal density and stomatal index counter from a microscope photo

Tap the stomata (and epidermal cells) on a microscope photo of a leaf peel or nail-varnish impression, or let the page suggest them, and get stomata per mm² and the stomatal index. Field of view from a scale line, the field number or typed. The photo stays in your browser.

Keep it one tap away for everyday use.

Bookmark Stomatal density counter?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Photo
  2. Tap
  3. Field
  4. Density
Nothing is uploadedWorks offline once open

Microscope photo

What it does

Stomatal density is the number of stomata per square millimetre of leaf surface; the stomatal index is the share of epidermal cells that are stomata. Both are standard measures in plant physiology, ecology and palaeoclimate work. This page turns a microscope photo into both numbers:

  • Tap to count. Tap each stoma on the photo; switch to Epidermal cell and tap the ordinary cells too if you want the stomatal index. Remove takes away the mark nearest your tap, and Undo steps back.
  • Automatic suggestion. Suggest stomata marks every dark (or light) patch of the size you give, so you only need to fix its mistakes.
  • Field of view. The page needs the area you counted. It can come from a scale line you draw on the photo (the whole photo is the field), from the microscope’s field number and objective (a round field), or typed.
  • Several fields. Add each photo to the list and the page gives the mean and standard deviation across fields.

The photo is read on this page only and is never uploaded.

How to use it

  1. Photo. Make an impression of the leaf surface with clear nail varnish and tape, or peel the epidermis, and photograph it through the microscope. Open the photo here.
  2. Tap. Tap every stoma. For the index, choose Epidermal cell and tap every other cell in the same field. Or press Suggest stomata first and correct it.
  3. Field. Pick how the area is known. For a scale line, tap Draw the scale line, tap both ends of the scale bar (or of a stage micrometer photographed at the same settings) and type its length in µm.
  4. Density. Read the density and index, press Add this field to the list, and repeat for more photos. Download the fields or the marks as CSV, or a report as an image, PDF or Word file.

What each option does

  • Stomata look darker / lighter. Which side of the threshold counts as a stoma for the suggestion.
  • Threshold. Blank uses Otsu’s automatic threshold on the photo’s brightness; type 0 to 255 to set your own.
  • Smallest and largest stoma (px). Patches outside this size are ignored, which keeps out specks, cell walls and air bubbles. Patches cut by the photo’s edge are left out.
  • Field number and objective. The eyepiece field number (mm) divided by the objective (and any extra magnifier) gives the diameter of the round field; count only the stomata inside it.

Worked example

The made-up example is an epidermis photographed at 2 px per µm (480 × 320 px, so 240 × 160 µm). The automatic suggestion finds all 23 stomata, and the 37 other epidermal cells are already tapped. The field is 0.0384 mm², so the page shows Stomatal density: 599 per mm² and a stomatal index of 23 ÷ (23 + 37) = 38.3 %.

For a round field instead: an eyepiece of field number 22 with a 40× objective sees a circle 550 µm across, an area of 0.2376 mm².

Tips

  • Count at least five fields per leaf, away from the midrib and the leaf edge, and report the mean with its spread.
  • Use the same leaf side, leaf age and position for every plant you compare; densities differ a lot between the upper and lower surface.
  • A common rule for stomata cut by the edge of a field is to count those on two sides (for example top and left) and not the other two, so they are not counted twice across fields.
  • Check every automatic suggestion; guard-cell pairs that touch, dirt and trichome bases fool simple thresholds.

FAQ

What is the difference between density and index? Density depends on how big the epidermal cells are, which changes with light and water. The index divides by all cells, so it changes less with leaf expansion and is used to compare growing conditions and CO₂.

Do epidermal cells include the stomata? In the index the denominator is stomata plus epidermal cells, where a stoma (its pair of guard cells) counts as one. Tap only the ordinary cells as epidermal cells; the page adds the stomata itself.

Does it work with subsidiary cells? Count them as epidermal cells or not, as your method says, and do it the same way every time.

Where the numbers come from

  • Salisbury, E. J. (1928) On the causes and ecological significance of stomatal frequency, with special reference to the woodland flora. Philosophical Transactions of the Royal Society B 216, 1–65 (stomatal index = stomata ÷ (stomata + epidermal cells) × 100).
  • Field of view diameter = eyepiece field number ÷ (objective × any extra magnification), the standard microscope relation.
  • Otsu, N. (1979) A threshold selection method from gray-level histograms. IEEE Transactions on Systems, Man, and Cybernetics 9, 62–66 (the automatic threshold for suggestions).
  • Threshold and patch finding are checked in the tests against scikit-image 0.26 and SciPy ndimage.label (see the leaf area tool); the example epidermis is drawn by the page with 23 made-up stomata, and the tests check that all 23 are found at their drawn centres.
  • A photo you open is read on the page only. It is never uploaded or stored.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Biodiversity indices #39 Paste species counts for one or more sites and get Shannon, Simpson, evenness, Chao1 richness, rarefaction curves and Bray-Curtis similarity in one table. Runs in your browser. Hemocytometer cell counter #36 Tally live and dead cells square by square with on-screen buttons or the keyboard. Get cells per mL, viability, the counting error, and exactly how much suspension and medium to mix to seed your plates. Sample size and power calculator #32 How many subjects, samples or survey responses do you need? Sample size for comparing two means, paired data, two proportions, or a survey's margin of error, with power curves. Matches R and G*Power. Soil texture triangle #322 Type sand, silt and clay percentages and get the USDA soil texture class (sand, loam, silty clay and the rest of the 12). Paste or open a table of many samples to plot them all on the texture triangle, count them by class and download the classes as CSV. Leaf area and canopy cover analyser #323 Measure leaf area from a scan or phone photo with a reference square or a scale line, leaf by leaf, or the percentage of a photo covered by green plants. Automatic Otsu threshold you can override. The photo stays in your browser. Plant growth analysis #324 Paste dry mass and leaf area for plants from two or more harvests and get the classical growth analysis: relative growth rate with its standard error and confidence interval, unit leaf rate (net assimilation rate), leaf area ratio, specific leaf area and leaf weight ratio, using Hunt's formulas for means between harvests.