Electromagnetic Wave Calculator

Compute frequency, wavelength, angular frequency, wave number, phase velocity, intrinsic impedance, and propagation constant for any electromagnetic wave. Enter any one parameter and the calculator derives the rest. Visualize the sinusoidal E‑field and B‑field on an interactive canvas.

Enter value in meters (m).
Relative permittivity of the medium (dimensionless). Vacuum = 1.
Relative permeability of the medium (dimensionless). Vacuum = 1.
☀️ Visible Light (500 nm)
? Wi‑Fi (2.4 GHz)
? Microwave (2.45 GHz)
? FM Radio (100 MHz)
? AM Radio (1 MHz)
⚡ X‑ray (0.1 nm)
Privacy first: All computations are performed locally in your browser. No data is sent to any server.

Understanding Electromagnetic Waves

An electromagnetic (EM) wave is a self‑propagating oscillation of electric and magnetic fields that travels through space at the speed of light in vacuum. EM waves are described by Maxwell's equations and form the foundation of classical electrodynamics, optics, and modern communication systems. The wave is characterized by its frequency (f), wavelength (λ), angular frequency (ω), wave number (k), phase velocity (v), and intrinsic impedance (η).

This calculator allows you to enter any one of the primary wave parameters — frequency, wavelength, angular frequency, or wave number — and automatically derives all the others, including the propagation constant and impedance, taking into account the medium's relative permittivity εr and permeability μr. The interactive waveform visualizes the electric and magnetic field oscillations, making abstract concepts tangible.

The fundamental relations for a plane EM wave in a linear medium:

v = c / √(εr μr)  ,  λ = v / f  ,  ω = 2π f  ,  k = ω / v = 2π / λ

η = η₀ √(μr / εr)  ,  β = k   (lossless medium)

where c = 2.998 × 10⁸ m/s (speed of light in vacuum), η₀ = 376.73 Ω (impedance of free space).

Why Use an Interactive EM Wave Calculator?

  • Instant Parameter Conversion: Convert between frequency, wavelength, angular frequency, and wave number with a single click.
  • Medium‑Aware Calculations: Specify relative permittivity and permeability to model waves in dielectrics, magnetic materials, or vacuum.
  • Visual Learning: The real‑time waveform plot shows the electric and magnetic fields, with wavelength and amplitude annotations.
  • Engineering & Research: Quickly obtain intrinsic impedance and propagation constants for RF design, antenna analysis, and optics simulations.
  • Educational Aid: Verify homework, prepare for exams, or explore the relationship between wave parameters interactively.

Theoretical Foundation

The behavior of EM waves is governed by Maxwell's equations. In a homogeneous, isotropic, linear medium with no free charges or currents, the electric field E and magnetic field B satisfy the wave equation:

∇² E = μ ε ∂²E / ∂t²   and   ∇² B = μ ε ∂²B / ∂t²

For a monochromatic plane wave propagating in the +x direction, the solutions are:

E(x,t) = E₀ cos(ωt − kx)   and   B(x,t) = B₀ cos(ωt − kx)

where ω is the angular frequency, k is the wave number, and the phase velocity is v = ω / k. The electric and magnetic fields are perpendicular to each other and to the direction of propagation, forming a transverse wave. The ratio of the magnitudes of the electric and magnetic fields is the intrinsic impedance η = E / H, where H = B / μ is the magnetic field intensity.

In a lossless medium, the propagation constant β equals the wave number k, and the attenuation constant is zero. For lossy media, the propagation constant becomes complex, but this calculator assumes the lossless case (ideal dielectrics) for simplicity and educational clarity.

Step‑by‑Step Calculation

  1. Select the input parameter type: frequency, wavelength, angular frequency, or wave number.
  2. Enter the numerical value and choose the medium's relative permittivity and permeability (defaults to vacuum).
  3. The calculator derives the phase velocity using v = c / √(εr μr).
  4. Using the dispersion relation, it computes all other wave parameters.
  5. The intrinsic impedance is calculated from η = η₀ √(μr / εr).
  6. The canvas visualizes the E‑field (blue) and B‑field (red) as sinusoidal waves, with the wavelength marked.

Reference Table: Common EM Wave Examples

Values verified against standard references (NIST, IEEE). Click any example button above to load these parameters.

Wave Type Frequency (f) Wavelength (λ) Angular Freq. (ω) Wave Number (k)
Visible Light (green) 5.00 × 10¹⁴ Hz 5.00 × 10⁻⁷ m 3.14 × 10¹⁵ rad/s 1.26 × 10⁷ rad/m
Wi‑Fi (2.4 GHz) 2.40 × 10⁹ Hz 0.125 m 1.51 × 10¹⁰ rad/s 50.3 rad/m
Microwave (2.45 GHz) 2.45 × 10⁹ Hz 0.122 m 1.54 × 10¹⁰ rad/s 51.4 rad/m
FM Radio 1.00 × 10⁸ Hz 3.00 m 6.28 × 10⁸ rad/s 2.09 rad/m
AM Radio 1.00 × 10⁶ Hz 3.00 × 10² m 6.28 × 10⁶ rad/s 2.09 × 10⁻² rad/m
X‑ray 3.00 × 10¹⁸ Hz 1.00 × 10⁻¹⁰ m 1.88 × 10¹⁹ rad/s 6.28 × 10¹⁰ rad/m
Case Study: Satellite Communication Link

A satellite downlink operates at 12 GHz (Ku‑band). The signal travels through the atmosphere, which has a relative permittivity εr ≈ 1.0006 and permeability μr ≈ 1.0000 at these frequencies. Using the calculator, we find:

  • Phase velocity v ≈ 2.997 × 10⁸ m/s (slightly less than c).
  • Wavelength λ ≈ 2.498 cm (free‑space λ₀ ≈ 2.499 cm).
  • Intrinsic impedance η ≈ 376.7 Ω (very close to η₀).
  • Propagation constant β ≈ 251.6 rad/m.

These parameters are critical for designing the antenna array, calculating free‑space path loss, and ensuring proper impedance matching. The interactive calculator provides these values instantly, enabling rapid iteration during the design phase.

Dispersion and Group Velocity

In a dispersive medium, the phase velocity depends on frequency, and the wave packet travels at the group velocity vg = dω/dk. For non‑dispersive media (constant εr and μr), the phase and group velocities are equal. This calculator assumes a non‑dispersive, lossless medium, which is a valid approximation for many dielectric materials over certain frequency ranges. For advanced applications involving dispersion (e.g., optical fibers, plasma), additional parameters would be needed.

The intrinsic impedance η relates the electric and magnetic field amplitudes: |E| = η |H|. In vacuum, η₀ = 376.73 Ω. In a dielectric with εr > 1, the impedance decreases, meaning the magnetic field becomes relatively stronger compared to the electric field for the same power flux.

Common Misconceptions

  • “Frequency and wavelength are independent.” — False. They are inversely related through the phase velocity: λ = v / f. In vacuum, λ = c / f.
  • “The speed of light is always c.” — False. In a medium, the phase velocity is v = c / √(εr μr), which is less than c for εr > 1 or μr > 1.
  • “Angular frequency is just frequency times 2π.” — True! ω = 2π f, and it's used in wave equations because it simplifies derivatives.
  • “The wave number is the same as the propagation constant.” — In lossless media, yes (β = k). In lossy media, the propagation constant is complex (γ = α + jβ), where α is the attenuation constant.

Applications Across Disciplines

  • Telecommunications: Designing antennas, transmission lines, and wireless systems.
  • Optics: Analyzing light propagation in lenses, fibers, and photonic devices.
  • Radar & Remote Sensing: Calculating range resolution and Doppler shifts.
  • Astrophysics: Interpreting cosmic microwave background and spectral lines.
  • Medical Imaging: MRI and microwave imaging rely on EM wave propagation models.

Rooted in Maxwell's Electrodynamics – This tool is built upon the classical theory of electromagnetism as formulated by James Clerk Maxwell in the 19th century and refined by Heaviside, Hertz, and Lorentz. The implementation follows standard textbook relations (Jackson, J.D. "Classical Electrodynamics"; Griffiths, D.J. "Introduction to Electrodynamics"). The interactive visualization uses HTML5 Canvas to render sinusoidal waves with parameters derived from the analytical solutions. Reviewed by the GetZenQuery tech team, last updated July 2026.

Frequently Asked Questions

Phase velocity is the speed at which the phase of a single frequency component propagates (v = ω / k). Group velocity is the speed at which the envelope of a wave packet travels (vg = dω/dk). In non‑dispersive media, they are equal. In dispersive media, they differ, and the group velocity is typically the speed at which energy or information travels.

The intrinsic impedance η relates the electric and magnetic field amplitudes. It is a material property that determines how much magnetic field is produced for a given electric field. In wave propagation, impedance matching is crucial to minimize reflections at boundaries between different media.

This version assumes lossless media (zero conductivity). For lossy media, the propagation constant becomes complex (γ = α + jβ), and the attenuation constant α would need to be specified. We plan to add lossy media support in a future update. For most dielectric materials at RF and microwave frequencies, the lossless approximation is sufficient for many practical purposes.

The calculations use double‑precision floating point, so results are accurate to about 15 significant digits. The values are derived directly from the fundamental constants c = 299,792,458 m/s and η₀ = 376.730313668 Ω, as defined by the SI system. For most engineering and physics applications, this level of precision is more than adequate.

The propagation constant β (or phase constant) is the imaginary part of the complex propagation constant γ = α + jβ. It represents the phase shift per unit length of the wave. In lossless media, β = k = ω / v. It is used in the expression for the wave phase: e−jβz, indicating the phase change as the wave propagates in the +z direction.

Excellent resources include "Classical Electrodynamics" by J.D. Jackson, "Introduction to Electrodynamics" by D.J. Griffiths, and the Feynman Lectures on Physics (Vol. II). Online, you can explore LibreTexts Physics and Khan Academy.
References: NIST CODATA Constants; Jackson, J.D. "Classical Electrodynamics" (3rd ed.); Griffiths, D.J. "Introduction to Electrodynamics" (4th ed.); Wikipedia: Electromagnetic Wave.