We present a protocol for quantitative analysis of molecules or ions in subcellular compartments of live cells using Förster resonance energy transfer (FRET)-based biosensors. It includes standardized imaging, binary mask processing, and ratiometric analysis with linear regression applied to phosphate in Arabidopsis thaliana (A. thaliana) but is broadly applicable to other biosensors and organisms.