The output frequency of a magnetron is the driven frequency, which depends on the applied magnetic field, 27.9924924 GHz per Tesla. For example 875 Gauss corresponds to 2.45 GHz. The geometrical resonance frequency is based on dimensions of the cavity. Thus the output frequency is not necessarily the geometrical resonance frequency, because the cavity can be driven off-resonance.