Square vs sawtooth wave: odd-only versus all-harmonics bright

Square contains only odd harmonics; sawtooth contains both odd and even. The sawtooth's octave (second harmonic) is what makes it sound fuller and more reedy than the square's hollow buzz.

Odd-only buzz versus full-spectrum brightness.

Square and sawtooth waves are both bright and buzzy, but they differ in one crucial way: the square wave contains only odd harmonics, the sawtooth contains both odd and even. The sawtooth's even harmonics - especially the second harmonic, which is the octave above the fundamental - give it a slightly fuller, more reedy character than the square wave's purer buzz.

By TechCompare · Updated

Try this comparison with our tools

Frequency Generator

Your browser does not support the Web Audio API.
A
Preset A
440 Hz square
Preview
B
Preset B
440 Hz sawtooth
Preview

Open the full Frequency Generator ↗

Option A
Square wave
Wins 1 of 6 compared specs
Option B
Sawtooth wave
Wins 1 of 6 compared specs

Side-by-side specs

SpecSquare waveSawtooth wave
Fundamental frequencySameSame
Harmonic contentOdd onlyAll odd and even
2nd harmonic (octave)AbsentPresent (better on this spec)
RMS at peak 1.01.0 (better on this spec)0.577
CharacterHollow, buzzyFull, reedy
Best forChiptune, hollow brassFull-spectrum leads, strings

How they differ

At 440 Hz, a square wave contains 440 Hz, 1320 Hz (3rd), 2200 Hz (5th), 3080 Hz (7th), and so on, all at 1/n amplitude. A sawtooth contains 440 Hz, 880 Hz (2nd), 1320 Hz (3rd), 1760 Hz (4th), and every higher multiple. Comparing the two at the same pitch immediately exposes the missing octave: the square wave has a more hollow character than the sawtooth because it lacks the second-harmonic octave component. Both waves have similar RMS values (square 1.0, sawtooth 0.577 at peak 1.0), so the loudness difference is moderate, but the spectral coverage difference is what your ear picks up as the reedy vs hollow quality.

Verdict

Use a square wave for a hollow, buzzy character with only odd harmonics - chiptune, brass synth patches that need contrast. Use a sawtooth when you want a fuller, more reedy tone with the octave component filling out the spectrum.

Hear square vs sawtooth at 440 Hz

Which should you pick?

Choose Square wave

Square waves give a hollow, buzzy character suitable for chiptune patches, brass-like leads with odd-harmonic emphasis, or any texture where the missing octave is the point.

Choose Sawtooth wave

Sawtooth waves give a fuller, more reedy tone because of the added even harmonics, especially the octave. Use them when you want a bright tone with more spectral density than a square wave.

Related comparisons