GISDirect
Guides › Analysis

How to Calculate NDVI from Satellite and Drone Imagery

GISDirect · 2026-11-18

Any work with satellite or drone imagery tends to start with NDVI. The formula is trivial, yet the numbers often come out wrong — because band numbering differs between satellites, and because skipping the reflectance conversion shifts every value. This guide covers the principle, a band reference table, the traps that produce bad output, and what to use instead when your imagery has no near-infrared band.

What NDVI measures

Leaves absorb red light for photosynthesis and reflect near-infrared strongly because of their internal cell structure. The healthier the vegetation, the bigger the gap between the two. NDVI normalises that gap:

NDVI = (NIR − RED) / (NIR + RED)

Dividing by the sum bounds the result between −1 and 1. Because it is a ratio, it stays reasonably stable when illumination or view angle shift slightly. That robustness is why NDVI has survived for decades.

Reading the values

NDVITypically
−1.0 to 0.0Water, snow, cloud
0.0 to 0.1Bare soil, rock, sand, pavement
0.1 to 0.2Very sparse vegetation
0.2 to 0.4Grassland, early-season crops, shrub
0.4 to 0.6Established crops
0.6 to 1.0Dense forest, crops at peak growth

These bands are not absolute thresholds. They shift with season, region and sensor. Use NDVI comparatively — the same area at different dates — rather than against fixed cut-offs.

Trap 1 — band numbers differ by satellite

"NIR is band 4" is wrong as often as it is right.

SensorREDNIRNDVI expression
Landsat 8 / 9 (OLI)B4B5(B5 − B4) / (B5 + B4)
Landsat 5 / 7 (TM, ETM+)B3B4(B4 − B3) / (B4 + B3)
Sentinel-2B4B8(B8 − B4) / (B8 + B4)
MODISB1B2(B2 − B1) / (B2 + B1)

Note that Landsat 5/7 and 8/9 are offset by one. Mixing archive and recent imagery in the same study is where this usually bites.

Sentinel-2 B8 versus B8A: both are near-infrared, but B8 is 10 m with a wide band and B8A is 20 m and narrower. Standard NDVI uses B8 for the resolution. Use B8A only when combining with other 20 m bands so the resolutions match.

Trap 2 — skipping the reflectance conversion

The numbers stored in a satellite product are not reflectance between 0 and 1; they are scaled integers. Computing directly on them puts NDVI in the wrong range. Each mission defines a scale factor and sometimes an offset.

Because NDVI is a ratio, a pure multiplicative scale cancels out. An additive offset does not. Skip the conversion on Landsat Level-2 data and NDVI comes out systematically low — which is the usual explanation behind "my forest only scores 0.3".

Trap 3 — cloud and shadow

Cloud pushes NDVI toward zero or negative; cloud shadow depresses it. In humid summer climates, scene selection matters more than anything else you do.

Drone RGB imagery has no NIR

An ordinary drone orthomosaic has only red, green and blue, so NDVI is not computable. Articles describing "NDVI from RGB" are renaming the visible-light indices below.

IndexFormulaCharacter
ExG (Excess Green)2G − R − BMost widely used; strong vegetation/soil separation
VARI(G − R) / (G + R − B)Relatively insensitive to atmospheric effects
GLI(2G − R − B) / (2G + R + B)ExG normalised to −1…1
NGRDI(G − R) / (G + R)Same shape as NDVI, simple to compute

These track biomass less faithfully than NDVI, but for relative comparison within one flight they are perfectly serviceable — crop vigour monitoring, canopy cover, gap detection. There is a dedicated guide on that workflow.

Try it → For imagery with near-infrared, Multispectral Indices lets you pick NDVI, EVI, NDWI, NDBI or NBR from a list, with Landsat and Sentinel-2 reflectance scaling applied automatically. For drone RGB, use RGB Indices. To write expressions yourself, there is Band Math.

Indices worth knowing besides NDVI

IndexTargetsBands needed
EVICorrects NDVI saturation over dense canopyNIR, RED, BLUE
NDWIOpen water and shorelinesGREEN, NIR
NDMIVegetation moisture, drought stressNIR, SWIR
NDBIBuilt-up and impervious surfacesSWIR, NIR
NBRBurn severity — differenced as dNBRNIR, SWIR

NDVI saturates as it approaches 1, so differences within dense forest compress. EVI separates those cases better. Burn severity mapping is covered in the dNBR guide.