Sine vs square wave: harmonics, RMS, and why square sounds buzzy

A sine wave is a single frequency; a square wave is that frequency plus every odd harmonic. The square is louder at the same peak amplitude and sounds buzzy because of those harmonics.

Pure pitch versus the buzzy harmonic stack.

A sine wave is a single pure pitch with no harmonics, the simplest sound that can exist. A square wave at the same fundamental frequency contains the same pitch plus every odd harmonic, which is what makes it sound buzzy and bright. Both oscillate at the same fundamental Hz, but the energy above the fundamental completely changes the timbre and the peak-to-average loudness.

By TechCompare · Updated

Try this comparison with our tools

Loading tone generator…
Option A
Sine wave
Wins 0 of 6 compared specs
Option B
Square wave
Wins 2 of 6 compared specs

Side-by-side specs

SpecSine waveSquare wave
Fundamental frequencySameSame
HarmonicsNone (pure pitch)All odd harmonics (1/n) (better on this spec)
RMS at peak 1.00.7071.0 (better on this spec)
CharacterPure, cleanBuzzy, bright
Best forCalibration, tuning, hearing testsSynth design, harmonic tests
Loudness at same volume sliderQuieterLouder

How they differ

A 440 Hz sine wave devotes all its energy to the 440 Hz fundamental. A 440 Hz square wave contains the 440 Hz fundamental plus the third, fifth, seventh, and every higher odd harmonic, each with decreasing amplitude following 1/n. That harmonic stack is why a square wave sounds richer and buzzier than the pure sine. The square wave is also louder at the same peak amplitude - it sits at peak amplitude for half the cycle while the sine averages out, so RMS is 1.0 versus 0.707 for a sine. This is why volume sliders are not directly comparable across waveforms, and why the Frequency Generator applies a 0.707 loudness compensation factor to square waves so the perceived loudness tracks the slider position.

Verdict

Use a sine wave when you want a clean reference tone with no coloring - calibration, tuning, hearing tests. Use a square wave when you want a buzzy, harmonically rich tone that surfaces the upper harmonics - synth design, harmonic-detection experiments, or stress-testing speakers. They occupy the same fundamental pitch but completely different timbral and loudness territories.

Hear sine vs square at 440 Hz

Which should you pick?

Choose Sine wave

Sine waves are the right choice for calibration, reference tones, frequency response measurements, and any time you want a single pitch with no extra harmonic content complicating the signal.

Choose Square wave

Square waves are useful for synth design, checking for harmonic distortion, exposing a system's response to odd harmonics, and any time you want a buzzy, characterful tone that fills more of the spectrum.

Related comparisons