GlobalFree to use

Online tone generator: play any frequency

Play a pure tone from 20 Hz to 20 kHz as a sine, square, sawtooth or triangle wave to test speakers and headphones, check your hearing range or tune an instrument.

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Working…

About this tool

A tone generator produces a single steady frequency. It is useful for testing speakers, subwoofers and headphones, finding rattles in a car or room, checking the upper limit of your hearing, giving a reference pitch for tuning, and for physics and audio lessons.

This generator uses the Web Audio API in your browser to play any frequency from 20 Hz to 20,000 Hz as a sine, square, sawtooth or triangle wave, with a fine frequency control, quick presets and the musical note closest to the frequency.

How to use it

  1. Choose a frequency with the slider, number box or a preset such as 440 Hz or 1 kHz.
  2. Choose the waveform: sine for a pure tone, square, sawtooth or triangle for richer sounds.
  3. Set the volume low, then press Play.
  4. Adjust the frequency while it plays; press Stop when you are done.

How the calculation works

A Web Audio OscillatorNode generates the chosen waveform at the chosen frequency, passed through a gain control. The nearest note is f = 440 × 2^((n − 69) ÷ 12) for the MIDI number n closest to the frequency.

Web Audio OscillatorNode at the chosen frequency and waveform

Worked example

To check a pair of headphones, start at 1 kHz with a sine wave at low volume, then slide slowly up. Many adults stop hearing the tone somewhere between 14 and 17 kHz, and the limit falls with age. Sweeping from 20 Hz upward on a subwoofer reveals where its bass output really begins and any rattles in the room.

Sample input and result

Press 1 kHz → Play → slide up to 15 kHz to find where you stop hearing it.

Limitations

  • Output depends on your device; many phone speakers cannot reproduce below about 100–200 Hz.
  • Not calibrated for sound pressure level.
  • One tone at a time.

Last updated:

Frequently asked questions

Can a tone damage my hearing or speakers?

Loud tones can. Always start quietly, especially with headphones and with very low or high frequencies.

Why does a square wave sound buzzier?

It contains strong odd harmonics; a sine wave has only the fundamental.

Is this a hearing test?

It gives a rough idea only. A proper hearing test needs calibrated equipment and an audiologist.

Troubleshooting

I hear nothing at 30 Hz.

Your speaker probably cannot reproduce it; try headphones or a subwoofer.

There is a click when starting.

A short fade is applied, but some devices still click; lower the volume.

High tones are silent.

Try a lower frequency; high-frequency hearing declines with age.

Privacy & Free to use

Are my inputs stored?

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Is this tool free?

Yes. No signup or payment is required.

Processed in your browser

Useful next steps