The rate of spontaneous electromagnetic emission in a cavity is the normalized output radiation rate in the classical electrodynamics and the Einstein
A coefficient in a quantum theory. We reveal the difference and similarity between the quantum and classical rates by calculations of the relative output power of the resonant spontaneous electric-dipole emission as a function of light absorption in a high-
Q cavity. We show that the relative resonant output power is equal to the relative width of a morphology-dependent resonance in the spectral dependence of the Einstein
A coefficient. The validity of the theory is demonstrated by numerical verification of an experimental result on a microsphere.