Wave Interference Simulator: Superposition of Two Sine Waves

Plots two sine waves and their sum over time and tells you whether the interference is constructive or destructive, or what the beat frequency is.

Use the tool

Why this tool exists

When two waves of the same frequency meet in phase their amplitudes add; in opposite phase they cancel. With slightly different frequencies the sum swells and fades at the beat frequency. Set the numbers and see the three curves on one graph.

For equal frequencies the tool prints the resultant amplitude from the exact formula sqrt(A1^2 + A2^2 + 2 A1 A2 cos(phase difference)). For different frequencies it prints the beat frequency and the envelope limits. The plot shows the waves at one point in space as time passes; it is not an animation of a whole medium.

How to use it

  1. Enter amplitude, frequency and phase for each wave.
  2. Set the time span.
  3. Read the plot of wave 1, wave 2 and the sum.
  4. Read the interference statement under it.

Frequently asked questions

What is a beat?

The slow rise and fall in loudness when two close frequencies are mixed.

What phase gives full cancellation?

180 degrees with equal amplitudes.

Are the waves traveling?

The plot is over time at a fixed point, which is enough to show interference.

Is the sum stored?

No, everything is computed on the page.