SoundTestLab
Browser audio diagnostic

Tone generator — any frequency from 20 Hz to 20 kHz

Play a steady test tone at an exact frequency, pick the waveform, and send it to the left, right or both channels.

✓ No installation✓ Runs locally✓ Results in seconds
Signal source · oscillator
Standby
Frequency
440Hz
20 Hz200 Hz2 kHz20 kHz
Vol
Output

Mind your ears: high frequencies at high volume are easy to underestimate. Square and sawtooth waves carry far more energy than a sine at the same setting.

How to use the online tone generator

Press Play and the generator outputs a continuous 440 Hz sine wave until you press Stop. Everything else can be changed while the tone is running, so you hear each change immediately:

  1. Set the frequency. Drag the slider for a smooth sweep, type a value from 20 to 20,000 into Exact Hz and press Enter, or tap a preset: 40 Hz (sub), 100 Hz (bass), 440 Hz (A4), 1 kHz (reference), 10 kHz, 15 kHz and 17.4 kHz.
  2. Pick a waveform: sine, square, sawtooth or triangle. Sine is the right choice for almost every test; the section below explains when the others are useful.
  3. Choose the output: Left, L + R or Right.
  4. Set the volume low first, then raise it gradually with the volume slider and your system volume together.

The slider is logarithmic: each third of its travel covers one decade, 20–200 Hz, 200 Hz–2 kHz and 2–20 kHz. That matches how pitch works — every doubling of frequency is one octave, whether it is 50 to 100 Hz or 5,000 to 10,000 Hz — so the bass end gets as much room as the treble instead of being squeezed into the first millimeter. The oscilloscope under the controls draws the signal being sent to your output, so you can see a sine turn into a square or watch the cycles pack together as the frequency rises. The tone is synthesized locally by the browser's Web Audio API; nothing is uploaded and no permission is requested.

Common test frequencies and what they're for

A handful of frequencies cover most everyday audio checks. These are the ones worth knowing, including every preset on the generator:

FrequencyWhat it isUse it to
20 HzBottom of the nominal hearing rangeTest the lowest limit of a subwoofer; often felt more than heard
40 HzSub-bassCheck whether a subwoofer or large speaker reaches deep bass
50 / 60 HzMains frequency (50 Hz in most of Europe and Asia, 60 Hz in North America)Compare against a hum to see if it comes from the power line
100 HzUpper bassConfirm that small speakers and earbuds produce usable bass
440 HzA4, standard concert pitchTuning reference for instruments
1,000 HzThe classic reference toneLevel matching, signal-path checks, a neutral starting point
10 kHzUpper trebleCheck that a tweeter or earbud is working
15 kHzHigh trebleCompare high-frequency output between devices
17.4 kHzThe so-called mosquito toneA quick high-frequency listening check; many adults can no longer hear it
20 kHzTop of the nominal hearing rangeUpper limit of the generator and of most audio gear specs

The 1 kHz tone is the reference for a practical reason: it sits in the middle of the audible range, where speakers, headphones and ears all behave predictably, so a level or a fault heard at 1 kHz is rarely an artifact of the frequency itself. A4 = 440 Hz is the internationally standardized tuning pitch; some orchestras tune slightly higher, but 440 Hz is what tuners and most instruments assume.

Sine, square, sawtooth and triangle: which waveform to use

Use sine for testing equipment and hearing, because it is the only waveform that contains exactly one frequency. The other three are built from the fundamental plus a series of harmonics at whole multiples of it, and the recipe is what gives each its sound:

  • Sine — the fundamental only. Pure and soft; the reference for every frequency test.
  • Square — odd harmonics only (3×, 5×, 7×…) with amplitude falling as 1/n, so the third harmonic is a third of the fundamental. Hollow, buzzy, clarinet-like.
  • Sawtooth — every harmonic (2×, 3×, 4×…) at 1/n. The brightest and harshest of the four, the classic synthesizer string and brass source.
  • Triangle — odd harmonics like the square, but falling as 1/n², so the third harmonic is only a ninth of the fundamental. It sounds close to a sine with a slightly reedy edge.

This is why a sine is the only honest bass test. Play a 40 Hz square wave on a laptop and you will hear a clear buzz, but most of it is the harmonics at 120, 200 and 280 Hz; your brain even fills in the missing fundamental and reports a low pitch the speaker never produced. Switch to sine and the same speaker may go nearly silent. That silence is the real answer.

The waveforms also differ in loudness at the same volume setting. A square wave sits at full amplitude for nearly its whole cycle, so at the same peak level it delivers about 3 dB more power than a sine. A sawtooth carries less raw power than a sine, but its harmonics spread energy across the upper midrange, where hearing is most sensitive, so it still sounds much louder. A triangle, with its weak harmonics, sounds about as loud as a sine or a little quieter. Turn the volume down before switching away from sine.

At high frequencies the differences disappear. The browser plays audio at its output sample rate, usually 44.1 or 48 kHz, which can represent frequencies only up to half that rate — the Nyquist limit of 22.05 or 24 kHz. In a naive digital oscillator, harmonics above that limit would fold back as unrelated tones, an error called aliasing. Major browsers generate these waveforms band-limited, so harmonics above Nyquist are largely left out rather than folded back. Once a square wave's third harmonic passes the limit — around 7–8 kHz — little remains but the fundamental, and a 10 kHz square sounds almost like a 10 kHz sine.

Hz test: checking your hearing and your speakers' range

A frequency sweep tells you where sound stops, but not whether your ears or your equipment stopped it. The number you get is always the combination of the speaker or headphone, the playback level, the room noise and your hearing. To get a useful answer, change one of those at a time.

Finding your speakers' limits

Set a sine at 100 Hz and moderate volume, then lower the frequency slowly until the tone fades out. Do the same at the top, rising from 10 kHz. Every speaker rolls off at both ends: a small driver cannot move enough air to produce deep bass, and the tweeter or small driver handling treble loses output as the frequency climbs past its design range. Laptop and phone speakers usually fade well above where a subwoofer or a good pair of headphones is still going strong. Compare two devices with the same ears and the same volume, and the device whose tone lasts longer has the wider range. For a guided version of the low end, use the bass test to find your bass limit; for a full check of your speakers, run the speaker test.

A hearing range check with tones

Using good headphones at a comfortable level, start at 10 kHz and step up through 15 kHz and the 17.4 kHz preset, then type higher values into Exact Hz. Children often hear close to 20 kHz; the upper limit drops gradually with age for nearly everyone, and many adults stop hearing tones somewhere in the mid-teens of kilohertz. That is normal aging of the ear, not something a web page can evaluate. The headphone test measures your bass and treble listening limits with automatic sweeps if you want a repeatable number.

This is not a medical or hearing test. Browser tones are not calibrated, so they cannot produce an audiogram. If you notice a change in your hearing, ringing that does not go away, or one ear hearing less than the other, see an audiologist or doctor.

Left and right test tones

Set Output to Left or Right and the tone plays in that channel only; at the same volume, the two sides should sound equally loud. A left/right tone is useful for confirming that headphones are on the right way round, that cables from an amplifier to its speakers are not swapped, and that a balance setting is not quietly favoring one side. A steady sine is better than music for judging balance, because there is nothing in it to distract you.

If the tone plays from both sides whatever you choose, look for a mono-audio accessibility setting in your operating system — it sums both channels into each ear. For a quick musical version of the same check, the left/right sound test on the home page plays a short melody on each side.

More ways to use a frequency generator

A steady tone at a known frequency is a surprisingly versatile tool:

  • Hunting room resonances. Rooms reinforce certain bass frequencies, called room modes, set by their dimensions. The lowest one along each dimension is roughly the speed of sound divided by twice the length: about 1,125 ÷ (2 × 16) ≈ 35 Hz for a 16-foot room. Sweep a sine slowly from 20 to 200 Hz at the listening position; frequencies that boom are peaks and frequencies that nearly vanish are nulls. Moving the speaker or the seat often helps more than any equalizer.
  • Finding hum and cable problems. Play a 60 Hz tone (50 Hz outside North America) next to a hum from your system. If they match, the hum is coming from the power line — often a ground loop. A harsh buzz rather than a pure hum adds the mains harmonics at 120, 180 Hz and up. With a 1 kHz tone playing, flex each cable near its plug: crackles or dropouts point to a bad cable or connector.
  • Checking for rattles. Slow bass sweeps excite loose panels, grilles and objects on shelves. Note the frequency where something buzzes and you can go find it.
  • Tuning. Play 440 Hz and tune an A string or reed to it. When two notes are close, you hear a slow wobble called beating; it slows as you approach the pitch and stops when you are in tune.
  • Describing tinnitus. Some people sweep a tone to find the pitch closest to their tinnitus so they can describe it to a clinician. That is not a diagnosis or treatment. Keep the volume low and see a professional about tinnitus.

Safety: volume and high frequencies

Start every session with the volume slider low and your system volume at about half, then raise it slowly. Pure tones are more fatiguing than music, and high frequencies are deceptive: as a tone climbs past the range you hear well, it seems to get quieter, and the instinct is to turn up the volume. The energy is still there even when you can no longer hear it — keep the level where it was rather than chasing a tone you have lost.

  • Switch waveforms only at low volume; square and sawtooth sound much louder than sine.
  • Avoid long, loud tones above about 10 kHz on headphones. If a tone is uncomfortable or your ears ring afterwards, stop.
  • Protect your speakers. Tweeters handle far less power than woofers, and a sustained loud high tone or square wave can overheat them. Deep bass at high volume can push woofers beyond their safe excursion — if you hear distortion or a mechanical slap, turn it down.
  • Pets can hear tones above the range you hear; keep high frequencies short and quiet when they are near.
Support desk

Frequently asked questions

01How do I generate a specific frequency, like a 440 Hz or 1000 Hz tone?+

Type the number into the Exact Hz box and press Enter, or tap a preset — 440 is A4, 1k is the standard 1 kHz reference tone. Then press Play. The box accepts any whole number from 20 to 20,000 Hz, and you can change the frequency while the tone is playing.

02What is the best waveform for testing speakers or headphones?+

Use a sine wave. It contains a single frequency, so what you hear at 40 Hz really is 40 Hz. Square, sawtooth and triangle waves add harmonics above the fundamental, which lets a speaker that cannot reproduce 40 Hz still produce sound at 80, 120 and 200 Hz and fool you into thinking the bass is there.

03Why does the square wave sound so much louder than the sine at the same volume?+

A square wave stays at full amplitude for almost its whole cycle, so at the same peak level it carries about 3 dB more power than a sine. Its odd harmonics also land in the 2–5 kHz region where hearing is most sensitive. Turn the volume down before switching from sine to square or sawtooth.

04Can I play a tone in only the left or right ear?+

Yes. Set Output to Left or Right and the tone is panned fully to that channel; L + R plays it in both. If you still hear it on both sides, check for a mono-audio accessibility setting or a balance slider in your operating system.

05What is the highest frequency I should be able to hear?+

The textbook range of human hearing is about 20 Hz to 20 kHz, but that upper limit belongs mostly to young listeners. High-frequency hearing declines gradually with age for nearly everyone, and your result also depends on the speakers or headphones and the playback level. A tone generator is not a hearing test; for questions about your hearing, see an audiologist.

06Can I use this tone generator to match my tinnitus frequency?+

Some people sweep a tone to find a pitch that resembles their tinnitus so they can describe it to a clinician. That is a description, not a diagnosis or a treatment. Keep the volume low, and see a doctor or audiologist about tinnitus — promptly if it is new, one-sided, or comes with hearing loss or dizziness.

07Is the online tone generator safe to use with headphones?+

It is safe at moderate levels. Start with the volume slider low and your system volume at around half, raise it gradually, and avoid long sessions with loud high-frequency or square-wave tones — they are easy to underestimate and can be uncomfortable or damage tweeters.

08Does the tone generator need an app, an upload or microphone access?+

No. The tone is synthesized in your browser with the Web Audio API. Nothing is uploaded, nothing is installed, and the page never asks for microphone or any other permission.