Skip to content

Sawtooth Wave Generator

Generate a sawtooth wave tone.

Frequency (Hz)
Duration (seconds)
Output

No result

About Sawtooth Wave Generator

Sawtooth Wave Generator produces a WAV file of a pure sawtooth tone at a frequency and duration of your choosing - from 20 to 20,000 hertz and up to thirty seconds. The defaults of 440 hertz for two seconds are concert pitch at a comfortable audition length, and the file is built entirely in your browser with a fixed 44.1 kHz mono 16-bit layout, the same shape professional audio tools write.

The sawtooth is the ramp of the family: a smooth rise and an instant drop, repeated every cycle. That shape gives it both odd and even harmonics, which is why it sounds brighter and buzzier than a square wave and far brighter than a sine - synthesists reach for it precisely when they want a rich, aggressive starting point. The page generates each sample from the fractional position within the cycle, so the ramp is exact at any frequency in the range.

Three fixed choices set its limits. The amplitude is half of full scale with no volume control, so the tone plays at one loudness only. There is no envelope, which means the wave starts and stops at full level with a click at each edge - the file is a raw test tone rather than a musical note. And the whole WAV is rendered in memory as a single file before anything appears, so the longest settings produce the biggest data with no progress indicator along the way.

How to use Sawtooth Wave Generator

  1. 1 Set the frequency in hertz; 440 is filled in as concert pitch A.
  2. 2 Set the duration in seconds, up to thirty.
  3. 3 Generate the tone and play or download the WAV file it produces.
  4. 4 Adjust either value and generate again for a different pitch or length.

Frequently asked questions

Why does the tone click at the start and the end?

Because there is no fade or envelope. The wave begins and ends at full level, and any sudden start or stop is audible as a click. For a test tone that is expected; for anything that needs smooth edges, an editor has to apply the fade afterwards.

Can I change how loud the tone is?

No. The amplitude is fixed at half of full scale, and the page offers no volume control. Attenuating the file afterwards in an audio editor is the route when a quieter reference is needed.

How loud can the frequency go?

The field allows 20 to 20,000 hertz. The upper end of that range is at or beyond what many speakers and most human ears can reproduce, so a tone generated near the ceiling may be inaudible even though the file contains it.

Why choose a sawtooth over the sine or square page?

The sawtooth carries both odd and even harmonics, which makes it the richest and brightest of the three shapes. A sine is the pure single frequency; a square adds only odd harmonics; the sawtooth is the one to reach for when the buzzy, full-bodied character is the point.

Free, online, and private

Free to use

Sawtooth Wave Generator is completely free. There is no account to create, no login, and no hidden charge or usage limit.

Runs online in your browser

It is a free online tool that runs entirely in your browser. Nothing to download or install — open the page and start using it right away.

Your data stays private

All processing happens locally on your device. Your input is never uploaded, stored, or tracked, so it never leaves your browser.

How Sawtooth Wave Generator behaves in detail

These are the specifics of this implementation — the exact ranges, defaults and fixed settings you are working with.

Parameter Value
Inputs a frequency in hertz defaulting to 440 with a declared range of 20 to 20000, and a duration in seconds defaulting to 2 with a declared range of 0.1 to 30
Sample rate 44.1 kHz, fixed inside the generator and not exposed as a setting
Channels and depth mono, 16-bit - the same layout the sibling tone generators use
Waveform each sample is computed from the fractional position within the cycle, producing the rising ramp with a sharp reset that defines the sawtooth shape
Amplitude half of full scale, fixed - there is no volume control
Output a WAV file delivered as a data URI, built entirely in memory

Compiled from the implementation of this tool and checked against it by itoolnet.

What Sawtooth Wave Generator does not do

Knowing the edges of a tool saves more time than another list of its features. These are the cases where it will not do what you might expect.

  • The tone is monophonic and static. There is no envelope, so the wave starts and stops at full level with a click at each boundary; there is no frequency sweep, no vibrato and no second oscillator, and a musical use needs a proper editor afterwards.
  • The amplitude is fixed at half scale with no volume setting, and the sawtooth's strong odd and even harmonics make it the harshest of the wave shapes - the sine page is the one to reach for when a softer timbre or a precise reference level is wanted.
  • The whole file is rendered in memory as one data URI before anything is available. A 30-second run at 44.1 kHz mono is about 2.6 MB of WAV inside the page, with no progress indicator, no streaming playback and no reuse of the buffer between runs.

Tested and documented by itoolnet, the team that builds and maintains this site.

Share & embed this tool

Writing a guide or article? You are welcome to link to Sawtooth Wave Generator with the snippet below. It is free, runs entirely in your browser, and needs no signup.