We present a simple approach to characterize the spatial variation of the gain in microchannel plate (MCP) coupled to phosphor detectors using single electron or photon hits. The technique is easy to implement and general enough to be extended to other kinds of detectors. We demonstrate the efficacy of the approach on both laboratory and Monte Carlo generated datasets. Furthermore, we use the approach to measure the variation in gain over time as the MCP is exposed to an increasing number of electrons.