AM / FM Modulation

Amplitude and frequency modulation — carrier, message and modulated waveforms with live spectrum

Message Signal m(t) = cos(2π·fm·t)
Carrier Signal c(t) = Ac·cos(2π·fc·t)
AM Output s(t) = Ac(1+m·msg)·cos(ωct)
Frequency Spectrum |S(f)| — sidebands

Mode

Message
Carrier
Modulated

Parameters

Live Metrics

200
fc (Hz)
20
fm (Hz)
Bandwidth
0.80
Mod. index

Formula

AM: s(t) = Ac[1 + m·cos(ωmt)] · cos(ωct)
Sidebands at fc±fm, amplitude m/2.
Bandwidth = 2·fm

About AM/FM Modulation

What It Demonstrates

In AM (Amplitude Modulation) the carrier's amplitude varies in proportion to the message signal — the classic technique used in medium-wave radio broadcasting. In FM (Frequency Modulation) the carrier's instantaneous frequency swings above and below fc by an amount proportional to the message, giving better noise immunity and the richer audio of FM radio (88–108 MHz).

How to Use

Switch between AM and FM with the mode buttons. Drag the carrier and message frequency sliders to separate or overlap the waveforms. The modulation index slider controls depth: in AM, m > 1 causes over-modulation (distortion); in FM, larger β produces more sidebands. Watch the frequency spectrum update — sidebands appear at fc ± n·fm.

Did You Know?

Edwin Armstrong invented FM radio in 1933, patenting it against fierce opposition from RCA. FM's bandwidth is 200 kHz per channel — 100× wider than AM — yet it rejects static almost completely, because noise adds amplitude (AM-like) not frequency. The BBC switched its national networks to FM in the 1970s; AM transmitters are still used today for long-distance coverage via ionospheric sky-wave propagation.