Rectangular Electromagnetic Cavity Resonance Calculator
Calculate resonant frequency for TE or TM modes in a closed rectangular cavity resonator.
For air-filled cavities, use εr = 1. For dielectric-filled cavities, enter the material value.
What this cavity resonance calculator does
This tool computes the resonant frequency of a rectangular electromagnetic cavity. You enter cavity dimensions, mode indices, and dielectric constant, and it returns the resonance for the selected mode. It is useful for quick RF and microwave feasibility checks when designing filters, resonators, and sensor cavities.
Formula used
The calculator uses the standard rectangular cavity resonance equation:
- f = resonant frequency (Hz)
- c = speed of light (299,792,458 m/s)
- εr = relative permittivity of the filling material
- a, b, d = cavity dimensions (meters)
- m, n, p = integer mode indices
TE vs TM mode rules
For practical mode validation in this calculator:
- TE mode: at least one of m, n, p must be non-zero.
- TM mode: m, n, and p must all be greater than zero.
These constraints prevent non-physical zero-frequency configurations.
How to use this calculator
- Select mode type (TE or TM).
- Choose dimension units (mm, cm, m, or inches).
- Enter cavity dimensions a, b, and d.
- Enter integer mode indices m, n, p.
- Enter εr for your filling material.
- Click Calculate Resonant Frequency.
Example
If you evaluate a TE101 mode in an air-filled cavity, you might use:
- a = 40 mm
- b = 20 mm
- d = 50 mm
- m = 1, n = 0, p = 1
- εr = 1
The resulting resonance lands in the microwave range, which is typical for cavities of this size.
Design tips for better results
1) Keep units consistent
Most input mistakes come from unit confusion. This calculator converts everything internally to meters, but your source dimensions still need to be entered correctly.
2) Start with dominant modes
For quick first-pass design, begin with lower-order modes (such as TE101, TE011, etc.), then explore nearby higher-order modes to identify possible interference or coupling concerns.
3) Account for real-world shifts
Perfect-conductor and ideal-boundary formulas are great for estimation, but measured resonance can shift due to:
- finite conductivity losses,
- surface roughness,
- coupling apertures and probes,
- manufacturing tolerances,
- temperature-dependent dielectric changes.
Assumptions and limitations
This calculator assumes a perfectly closed rectangular cavity with idealized boundaries. It does not compute Q factor, unloaded/loaded bandwidth, or coupling coefficients. For final hardware sign-off, validate with full-wave simulation and lab measurement.