Online tone generator
Set a frequency, press Play and hear a pure tone. Pick sine, square, triangle or sawtooth, type a note such as A4, play it in the left or right ear only, or sweep from low to high. The tone is synthesized in your browser.
440Hz
A4
Frequency sweep
How to use it
- Drag the slider, type a frequency in hertz, type a note name, or press a preset. The nearest note and its offset in cents are shown under the number.
- Turn your device volume down, then press Play and raise the volume slider until the tone is comfortable. The page starts at −24 dB.
- Nudge the pitch with the fine steps, change the waveform or channel while it plays, or set a start, end and length and press Start sweep.
How the tone is made
The tone comes from an OscillatorNode in the Web Audio API, which computes the waveform sample by sample at your device’s output rate, usually 44.1 or 48 kHz. Frequency changes glide over about 10 ms so they do not click. Above half the sample rate (22.05 kHz at 44.1 kHz) a digital system cannot represent a tone, which is why the generator stops at 20 kHz.
The slider is logarithmic: each step multiplies the frequency rather than adding to it, so every octave takes the same distance and 20 Hz to 200 Hz is as easy to set as 2 kHz to 20 kHz. For exact values, type them: the field accepts two decimals. Note names use scientific pitch notation with A4 = 440 Hz and equal temperament, the same formula as the note to frequency chart; to go the other way, the frequency to note converter names any frequency.
Waveforms and what they contain
A sine wave is a single frequency with no overtones. The other shapes add harmonics at whole-number multiples of the frequency, and that is what you hear as a brighter or buzzier sound. The square and sawtooth are turned down relative to the sine so that switching shape does not jump in loudness.
| Waveform | Harmonics | Level of harmonic n | Sounds |
|---|---|---|---|
| Sine | Only the fundamental | – | Pure, like a tuning fork |
| Triangle | Odd (3, 5, 7…) | 1/n² | Soft, flute-like |
| Square | Odd (3, 5, 7…) | 1/n | Hollow, clarinet-like |
| Sawtooth | All (2, 3, 4…) | 1/n | Bright, brassy buzz |
Testing speakers, headphones and your hearing range
Use the left and right buttons to check that a pair of headphones or speakers is wired the right way round and that both sides work. A slow sweep from 20 Hz upward shows where a speaker’s bass gives out: on a phone or laptop, the low end often fades well above 100 Hz. Rattles and buzzes at one frequency point to a loose panel or a damaged driver.
Human hearing is usually given as 20 Hz to 20 kHz, and the top end falls with age. A sweep to 20 kHz is a rough way to hear where your own upper limit sits, but the result also depends on your headphones, which may not reproduce the highest frequencies, so it is not a hearing test. Keep the volume low at high frequencies: they can be hard to hear at first and then uncomfortable once they are audible.
Tuning, 432 Hz and tinnitus matching
A sine at 440 Hz is the standard A4 that orchestras and electronic tuners use; play it and tune a string by ear until the beating between the two sounds slows and stops. The 432 Hz preset is there because people look for it; it is simply A4 tuned about 32 cents lower.
Some people with tinnitus like to find the frequency that sounds closest to their ringing. Do that only at a low, comfortable volume, and treat the result as a description, not a diagnosis. Ringing that is new, sudden, in one ear only, or comes with hearing loss or dizziness is a reason to see a doctor or audiologist.
Related tools
Questions people ask
How do I generate a tone at a specific frequency?
Type the frequency in hertz into the frequency field, or drag the slider, and press Play. You can set any value from 1 Hz to 20,000 Hz with two decimals.
What frequency is A4?
A4 is 440 Hz in standard tuning. Middle C (C4) is 261.63 Hz in equal temperament with A4 at 440 Hz.
Can I play a tone in only one ear?
Yes. Choose Left or Right under Channel. This is handy for checking that headphones are the right way round.
Can I hear 20 Hz or 20 kHz?
Many people cannot. Very low tones are felt more than heard and small speakers barely reproduce them; the highest tones fade with age and with headphones that do not reach that far.
Why does the square wave sound louder?
It carries harmonics that the ear is more sensitive to. The page lowers the square and sawtooth level to keep the jump small, but loudness still depends on frequency.
Is this a hearing test?
No. It can show roughly what you hear through your own device, but it is not calibrated. For a hearing test, see an audiologist.

