TechCompare LogoTechCompare

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

Loading tone 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 frequency
Same
Same
Harmonic content
Odd only
All odd and even
2nd harmonic (octave)
Absent
Present (better on this spec)
RMS at peak 1.0
1.0 (better on this spec)
0.577
Character
Hollow, buzzy
Full, reedy
Best for
Chiptune, hollow brass
Full-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

Frequently asked questions

What's the audible difference between a square and a sawtooth at the same pitch?
The missing octave. A square wave contains only odd harmonics (440, 1320, 2200, 3080 Hz, and so on). A sawtooth contains both odd and even harmonics (440, 880, 1320, 1760 Hz, and so on). The square wave's missing 2nd harmonic (the octave above the fundamental) makes it sound hollow. The sawtooth's added octave makes it sound fuller and more reedy. Both are bright and buzzy, but the sawtooth carries more spectral density.
Which is louder at the same peak amplitude, square or sawtooth?
Square. The square wave's RMS at peak 1.0 is 1.0, while the sawtooth's is 0.577. The square holds its peak value for half of each cycle, so it carries more energy at the peak. The sawtooth ramps linearly, so its average energy is lower. The loudness difference is moderate but the spectral coverage difference is what your ear picks up as reedy versus hollow.
When should I use a square wave instead of a sawtooth?
Use a square wave for chiptune patches, hollow brass-like leads with odd-harmonic emphasis, or any texture where the missing octave is the point. Use a sawtooth for brighter, fuller, more reedy tones that benefit from the octave component filling out the spectrum. Both are bright, but the square is more focused and the sawtooth is more dense.