TechCompare LogoTechCompare

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 frequency
Same
Same
Harmonics
None (pure pitch)
All odd harmonics (1/n) (better on this spec)
RMS at peak 1.0
0.707
1.0 (better on this spec)
Character
Pure, clean
Buzzy, bright
Best for
Calibration, tuning, hearing tests
Synth design, harmonic tests
Loudness at same volume slider
Quieter
Louder

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

Frequently asked questions

What's the audible difference between a sine and a square wave at 440 Hz?
A sine wave is a pure single pitch at 440 Hz. A square wave at 440 Hz contains 440 Hz plus all the odd harmonics (1320 Hz, 2200 Hz, 3080 Hz, and so on) at 1/n amplitude. The sine sounds clean and pure, like a tuning fork. The square sounds buzzy and bright, like a synth lead. Same fundamental pitch, completely different timbre.
Why does a square wave sound louder than a sine at the same volume?
Because a square wave's RMS at peak 1.0 is 1.0, while a sine's is 0.707. The square wave packs more energy across the harmonic spectrum, so it sounds louder at the same peak amplitude. The Frequency Generator applies a loudness compensation factor to keep the volume slider fair across waveforms.
When should I use a sine wave versus a square wave?
Use a sine for calibration, reference tones, frequency response measurements, and hearing tests - any time you want the cleanest signal with no harmonic content. Use a square for synth design, harmonic-distortion tests, exposing a system's response to odd harmonics, or any time you want a buzzy, characterful tone.