Machine Vision & Industrial Inspection AI calculator

Minimum Detectable Defect Calculator

Check whether the camera can sample the smallest defect required by your inspection plan. You need field width, active pixels and a validated pixel-span requirement.

What this calculator does

  • Estimate the smallest defect meeting your validated pixel-span requirement and compare it with the inspection specification.

Formula used

  • Pixel size (mm/px) = field width ÷ horizontal pixels
  • Minimum defect (mm) = pixel size × required defect pixels
  • Specified-defect pixels = specified defect × horizontal pixels ÷ field width
  • Size headroom = specified defect size − minimum defect size

Inputs explained

  • Horizontal Field of View: Measured field width at the inspected part surface.
  • Camera Horizontal Pixel Count: Active horizontal pixels after cropping or binning.
  • Validated Pixels per Defect: Minimum pixel span established by your defect-detection trials.
  • Specified Defect Size: Smallest defect width your inspection must detect.

How to use the result

  • Best suited to defect specification review, lens and camera matching.
  • The result is a sampling limit, not a guaranteed detection probability. Contrast, orientation, blur and lens performance can require larger defects.

Common questions

  • Is three pixels always enough? No. Three is an illustrative input. Determine the required span from your defect type, contrast, optics and detection algorithm.
  • Can a bright defect smaller than one pixel be seen? Some subpixel signals can be detected, but this geometric model does not predict their reliability. Validate those applications experimentally.
  • Should I enter defect length or width? Use the smallest dimension the algorithm must resolve along the axis matching the field width and pixel count.
  • Does increasing pixels always improve detection? It improves sampling at a fixed field width. Lens detail, lighting, noise and motion can still limit the actual result.

Last reviewed 2026-10-23.