How the Tone Generator Works
Every sound is made of vibrations, and the number of vibrations per second is its frequency, measured in hertz (Hz). Low frequencies such as 40 Hz feel like a rumble, 440 Hz is the A above middle C that orchestras tune to, and 15,000 Hz is a thin, piercing whine that many adults can no longer hear.
This generator uses the Web Audio API's OscillatorNode to synthesise a tone mathematically, sample by sample, right in your browser. Because nothing is pre-recorded, you can pick any frequency, even fractions such as 32.7 Hz, and change it smoothly while it plays. The output passes through a gain stage that fades the sound in and out over a quarter of a second, preventing the clicks that happen when a waveform is suddenly started or stopped.
The slider is logarithmic, which mirrors how we hear pitch. Moving from 100 Hz to 200 Hz sounds like the same musical step (an octave) as moving from 5,000 Hz to 10,000 Hz, so a log scale spreads the whole audible range evenly across the slider. For exact values, type a number in the input box or use the ±1 and ±10 buttons.
You can choose from four classic waveforms:
- Sine: a single pure frequency with no overtones. Best for hearing checks, speaker frequency response, and finding resonances.
- Square: strong odd harmonics. Useful for testing how a speaker handles complex signals; it sounds hollow and buzzy.
- Triangle: gentle odd harmonics, softer than a square wave.
- Sawtooth: all harmonics, bright and rich; the starting point for many synthesiser sounds.
Square and sawtooth waves sound much louder than a sine wave at the same peak level, so the generator automatically reduces their volume to keep loudness roughly consistent when you switch.
Step-by-Step Instructions
- Lower your device volume to about a third before pressing Play for the first time.
- Choose a frequency by dragging the slider, typing an exact value, or tapping a preset such as 60 Hz or 440 Hz.
- Select a waveform. Use sine unless you specifically need harmonics.
- Press Play Tone and adjust the on-page volume slider until the tone is clearly audible but comfortable.
- For a speaker test, slowly sweep from low to high and listen for buzzing, rattling or sudden drops in volume.
- For a rough hearing check, try our guided hearing test, or wear good wired headphones in a quiet room, start at 8 kHz and step up through the presets. Note the highest tone you can still hear, then compare with the approximate age markers under the slider.
The 165 Hz preset is the same frequency used by our water eject tool, so you can also use the generator to play a continuous water-clearing tone for as long as you need.
Safety & Hardware Limitations
Pure tones concentrate all their energy in a single frequency, which makes them harder on both ears and speakers than ordinary music at the same volume. Please follow these precautions:
- Protect your hearing. Keep headphone volume low. High-frequency tones can be intense even when they seem quiet, and some people experience discomfort or temporary ringing (tinnitus). Stop immediately if anything feels unpleasant.
- Protect tweeters. Long, loud high-frequency tones can overheat and destroy tweeters. Square and sawtooth waves at volume are particularly risky.
- Protect woofers and subwoofers. Very low frequencies (below 30 Hz) at high volume can push speaker cones past their safe excursion limit. Many small speakers cannot reproduce them at all and will only distort.
- Be considerate of pets. Dogs and cats hear well above 20 kHz and can find high tones distressing.
- Accuracy depends on your hardware. Frequencies are generated precisely, but your sound card, speakers and headphones shape what reaches your ears. Laptop and phone speakers typically cannot reproduce much below 150 Hz or above 16 kHz.
- Not a medical device. The hearing-age markers are rough population averages, not a diagnosis. Consult a qualified audiologist for an actual hearing assessment.
The generator stops automatically when you switch tabs or lock your screen, so a tone will not keep playing in the background by accident.
Frequently Asked Questions
What is the normal range of human hearing?
The textbook range is 20 Hz to 20,000 Hz, but that applies mainly to young children. Most adults lose some sensitivity at the top end with age; by middle age many people cannot hear much above 12–14 kHz. This gradual loss, called presbycusis, is normal.
Is this an accurate hearing test?
No. It gives a rough, informal idea of your upper frequency limit. A real hearing test (audiogram) uses calibrated equipment in a quiet booth and measures how quietly you can hear each frequency. Your speakers, headphones, volume settings and room noise all affect what you hear here. If you are concerned about your hearing, see an audiologist.
Why can I not hear anything above 16 kHz on my phone or laptop?
Small built-in speakers often roll off sharply above 15–16 kHz, and some devices apply filters. Try good wired headphones. Also note that many people over 30 genuinely cannot hear 17 kHz and above.
What is the difference between sine, square, triangle and sawtooth waves?
A sine wave is a single pure frequency. Triangle waves add soft odd harmonics, square waves add strong odd harmonics for a hollow, buzzy tone, and sawtooth waves include every harmonic, sounding bright and brassy. Use sine for hearing and speaker tests and the others for synth practice or harmonic distortion checks.
What frequency should I use to test a subwoofer?
Sweep slowly between 20 Hz and 120 Hz with a sine wave at modest volume. Listen for rattles, buzzing (a sign of loose panels or a damaged driver) and large volume dips, which usually indicate room nodes rather than a faulty sub.
Can high-frequency tones damage my hearing?
Any sound that is loud enough can damage hearing, and high frequencies are deceptive because they may seem faint while still being intense. Keep the volume low, never use maximum volume with headphones, and stop immediately if you feel discomfort, ringing or pressure.
Related guides
- Hearing8 min
High-Frequency Hearing Loss and the Mosquito Tone: What Your Results Mean
Why we lose the ability to hear high pitches with age, what the 17.4 kHz mosquito tone reveals, and practical steps to protect the hearing you have. - Troubleshooting9 min
How to Fix Crackling or Distorted Speakers (Phone, PC and Hi-Fi)
Crackling, buzzing or distorted sound? Learn how to isolate whether the source, cable, settings or speaker itself is to blame, and fix it. - Home Audio9 min
Subwoofer Setup Guide: Placement, Crossover and Phase Explained
Get tight, even bass from your subwoofer. Learn where to put it, how to set the crossover and phase, and how to use test tones to find and fix room problems.
More free audio tools
- Water Eject & Speaker CleanerThree sound-based cleaning modes plus a before/after clarity chime.
- Left/Right Stereo & Phase TestCheck left and right channels and speaker wiring polarity.
- Surround Sound TestCheck every channel of a 7.1, 5.1, 3.1, 2.1 or mono setup.
- High-Frequency Hearing TestA guided step-by-step check of how high you can hear, per ear.
- Frequency Sweep & Bass TestGlide through any range to find rattles, buzzes and bass dips.
- White, Pink & Brown NoiseCalming background noise with a live spectrum and sleep timer.
- Microphone TestCheck your mic with a live level meter, waveform and playback.