Tone Generator

Play a pure tone at any frequency from 20 Hz to 20,000 Hz. Choose sine, square, sawtooth or triangle, see the nearest musical note, and test speakers or tune an instrument.

Audio Tools Runs in your browser · no upload

Reviewed 23 November 2026 · Free · No account needed

ExecutionYour browserInput never leaves your tab
File retentionNoneNothing is stored
AccountNot requiredNo sign-up, no paywall
PriceFreeNo trial, no usage cap on the tool itself

How to use

  1. Type a frequency in hertz, drag the pitch slider, or press a preset such as A4 440 Hz, 1 kHz or 50 Hz.
  2. Or choose a note and an octave and the frequency fills in for you.
  3. Pick a waveform and keep the volume low to start, then press Play the tone.
  4. Press Stop the tone when you are done. The tone fades out quickly so there is no click.

Example

Input: 440 Hz sine wave

Output: A4, exactly in tune, wavelength about 0.78 m and a period of 2.27 ms

How it works

The page creates a Web Audio oscillator at the frequency and waveform you choose and sends it through a gain node to your speakers. The frequency to note conversion uses equal temperament with A4 at 440 Hz, and the gain follows a squared curve so that the volume slider feels even to the ear.

Frequency of a note = 440 × 2 ^ (semitones from A4 ÷ 12). Nearest note = the semitone closest to 12 × log2(f ÷ 440) steps from A4, and the offset in cents = 1200 × log2(f ÷ note frequency). Wavelength = 343 m/s ÷ frequency. Period = 1 ÷ frequency.

Another example

A frequency of 440 Hz is exactly A4. At 430 Hz, the nearest note is still A4, but the tone is about 40 cents flat, because 1200 × log2(430 ÷ 440) is about −39.8. The wavelength at 440 Hz is 343 ÷ 440 = 0.78 m.

Limits and edge cases

  • Frequencies from 20 Hz to 20,000 Hz are accepted, which is the usual range of human hearing. Many laptop and phone speakers cannot play below about 100 Hz.
  • Start with the volume low and raise it slowly. A loud pure tone can hurt your ears and damage small speakers.
  • Square and sawtooth waves contain extra harmonics, so they sound brighter and the loudness is not the same as a sine wave at the same setting.
  • This tool is for testing and tuning by ear. It is not a calibrated signal source, and the real level depends on your device and volume.
  • The pitch slider uses a log scale so each octave takes the same room, since our ears hear doubling of the frequency as one octave.
  • Changing the frequency while the tone plays slides smoothly to the new value instead of jumping.
  • A frequency of 0 or above 20,000 Hz shows a message and does not play, rather than making a sound you cannot hear or an unsafe level.
  • Browsers keep audio blocked until you interact with the page, so the first tone always starts from your own button press.

Privacy

Sound is made in this browser tab with the Web Audio API. Nothing is recorded, uploaded or stored, and the tool needs no microphone.

About this page

Written and reviewed by Toolnexo on 23 November 2026. The limits above describe the published tool, not an idealised version of it. If a result looks wrong or the page is unclear, email [email protected] with the tool URL and what you entered. Corrections are published here.

Further reading

Guides that use Tone Generator

All guides →

Related tools

FAQ

Questions about Tone Generator

What is the standard tuning frequency?

A4 at 440 Hz is the standard concert pitch, and it is the first preset here. Some orchestras tune slightly higher, around 442 Hz, so you can also type any frequency to match them.

How do I test my speakers or headphones with this?

Play a 1 kHz sine wave at a low volume to check both sides work, then try lower tones such as 50 Hz and 100 Hz to hear how far your bass reaches, and a 10 kHz tone for treble. Small speakers usually cannot play the lowest tones.

What is the highest frequency I can hear?

Young people with healthy hearing can hear up to about 20 kHz, and most adults lose the top end with age, often hearing little above 15 kHz. Use a low volume when testing high tones.

What is the difference between sine, square, sawtooth and triangle waves?

A sine wave is a single pure frequency. Square, sawtooth and triangle waves add harmonics: square has a hollow, buzzy tone, sawtooth is bright and sharp, and triangle is soft and close to sine. All four share the same pitch at the same frequency.

Is it safe to play loud tones?

Keep the volume low. Pure tones at high volume can damage hearing and burn out small speakers and tweeters. The default volume here is 20% and the volume slider is shaped so the lowest settings are quiet.

Does it record or upload anything?

No. The tone is generated on your device, nothing is recorded, and the page does not ask for your microphone.