Skip to main content

Generate any tone, 20 Hz to 20 kHz.

A precise online tone generator: dial any frequency from a 20 Hz sub-bass rumble to a 20 kHz whistle, choose a waveform, and play it instantly. Every tone is synthesized live in your browser with the Web Audio API — nothing to install, nothing uploaded.

440 Hz
A4 · +0¢

Set a frequency, pick a wave, and press play.

Hz

Online tone generator.

Precise frequencies with a live note read-out, four waveforms, log sweeps, and stereo balance.

Quick frequencies

Before you generate a tone

  • Lower the volume firstA pure tone at high volume is far harsher than music at the same level — there's no other sound to mask it. Start near 20–30% and raise it slowly.
  • Match the tone to the deviceSmall laptop and phone speakers can't reproduce deep bass or the top octave; you'll feel a 40 Hz tone as silence, not a fault. Use headphones or full-range speakers for the extremes.
  • Pick the right waveformA sine is the cleanest single frequency. Square and sawtooth waves are much louder and richer in harmonics — drop the volume before switching to them.
  • Protect tweeters and subsNever park a sustained high tone at full volume through a tweeter, or a deep sub-bass tone through a small woofer — long, loud pure tones are exactly what damages drivers.

How to use the tone generator

  1. 1
    Set a frequency. Drag the logarithmic slider, type an exact value into the Hz box, or tap a preset. The nudge buttons step ±1 Hz for fine tuning; ×2 and ÷2 jump a full octave.
  2. 2
    Choose a waveform. Sine is a single pure frequency; triangle, square, and sawtooth add progressively more harmonics and volume. The read-out shows the nearest musical note and how many cents sharp or flat you are.
  3. 3
    Press play. Hit play or press Space. Use the Left / Center / Right balance buttons to send the tone to one channel — handy for a quick left/right check or isolating a rattle.
  4. 4
    Sweep to find limits. Set a From and To frequency and a duration, then Play sweep for a smooth logarithmic glide — the fast way to find a room resonance, a buzzing panel, or the point where a speaker or your ears stop responding. Chase the low end on the bass test or your top limit on the hearing test.

How the tone generator works

A tone generator produces a periodic waveform at one fundamental frequency. This page uses the Web Audio API's oscillator: you name a frequency in hertz (cycles per second) and a wave shape, and the browser computes the samples in real time and streams them to your sound card. No audio file is downloaded, recorded, or uploaded — the moment you press stop, the sound is gone.

Frequency is mapped to the slider logarithmically, because pitch perception is logarithmic: every doubling of frequency is one octave, so the jump from 100→200 Hz sounds like the same musical distance as 5,000→10,000 Hz. That's why the slider gives the low frequencies as much travel as the highs, and why the ×2 / ÷2 buttons move in octaves. The read-out converts your frequency to the nearest equal-tempered note and the cents error, using A4 = 440 Hz as the reference.

The waveform determines the harmonic content. A sine wave has energy at only the fundamental. A square wave adds odd harmonics (3×, 5×, 7×…), a sawtooth adds all harmonics, and a triangle adds weak odd harmonics — which is why the same 440 Hz sounds pure as a sine but buzzy as a sawtooth even though the pitch is identical. Wavelength and period in the read-out come straight from the frequency: period = 1 ÷ f, and wavelength = 343 m/s (the speed of sound in air) ÷ f.

The four waveforms, and how they sound

Same frequency, same pitch — but very different timbres. Harmonics are what your ear hears as "tone colour":

Sine

Fundamental only — no harmonics.

The purest possible tone: smooth, hollow, and flute-like. This is the reference for hearing tests, tinnitus matching, and tuning, because there's exactly one frequency present.

Triangle

Odd harmonics, falling off fast (1/n²).

Slightly brighter than a sine but still soft and mellow, a little like a recorder or a soft synth lead. The gentlest of the "richer" waves.

Square

Odd harmonics only (1/n).

Hollow, buzzy, and reedy — think a classic chiptune or a clarinet's woody edge. Noticeably louder than a sine at the same setting, so cut the volume before you switch.

Sawtooth

All harmonics (1/n).

The brightest and harshest — brassy and buzzy, the raw material of most analog-synth sounds. It has the most high-frequency energy, so it's the loudest and most fatiguing of the four.

What a tone generator is for

Tuning instruments

Play 440 Hz (A4) as a stable reference and tune by ear, or match any other pitch from the note read-out — no tuning fork or app required.

Matching tinnitus

Sweep or step the frequency until a tone matches the ringing in your ears; the exact Hz and note help you describe it to an audiologist.

Testing speakers

Feed single frequencies to find rattles, port noise, or the point where a driver distorts — then sweep to map the usable range.

Finding room modes

Slow bass sweeps reveal standing waves: frequencies that boom in one spot and disappear in another tell you where to treat a room.

Checking hearing range

Raise the frequency toward 15–20 kHz to find the highest tone you can still hear — a quick, informal high-frequency check.

Physics & demos

Demonstrate beats, octaves, harmonics, and the wavelength–frequency relationship with clean, controllable tones for a class or a curious afternoon.

Tone generator glossary

Frequency (Hz)
How many times per second the waveform repeats, in hertz. Higher frequency = higher pitch. Human hearing spans roughly 20 Hz to 20,000 Hz.
Waveform
The shape of one cycle — sine, triangle, square, or sawtooth. The shape sets the harmonic content, and therefore the timbre, at any given pitch.
Harmonic
A whole-number multiple of the fundamental frequency. The pattern and strength of harmonics is what makes a violin and a flute sound different on the same note.
Octave
A doubling (or halving) of frequency. 440 Hz and 880 Hz are both an "A", one octave apart — the ×2 / ÷2 buttons move exactly one octave.
Cent
1/100th of a semitone — the unit of tuning error. The read-out shows how many cents sharp (+) or flat (−) your frequency sits from the nearest note.
Pure tone
A single-frequency sine wave with no harmonics. Real instruments and voices are never pure tones — they're a fundamental plus many harmonics.

Frequently asked questions

What is 440 Hz used for?

440 Hz is the international tuning standard — the note A above middle C (A4), the pitch an orchestra tunes to and the reference for A = 440 in almost all modern music software. Play it here as a stable reference to tune an instrument by ear, or as the anchor for the note read-out. Some ensembles tune slightly higher (A = 442 or 443 Hz) for a brighter sound; you can dial those exactly with the ±1 Hz buttons.

What is 528 Hz, and does it have special properties?

528 Hz is one of the "Solfeggio frequencies" marketed as a healing or "miracle" tone said to repair DNA. There is no scientific evidence for any of those claims — physically it's just a tone about a semitone above C5, no different in nature from any other frequency. It's included as a preset because people search for it, and a 528 Hz sine is perfectly pleasant to listen to. Enjoy it as sound, not medicine.

Why can't I hear the tone above 15 or 17 kHz?

High-frequency hearing fades with age (presbycusis) and with cumulative noise exposure. Most children hear to nearly 20 kHz; by the mid-20s many people top out around 17 kHz, and by 50 the ceiling is often 12–14 kHz. It's completely normal and usually not something you'd notice in daily life. If the tone is playing (the read-out shows it and the waveform moves) but you hear nothing at high frequencies, your speakers may also simply not reproduce that range — try the hearing test or hearing age test with headphones.

Can generated tones damage my hearing or my speakers?

Yes, if you're careless with volume. A sustained pure tone is more dangerous than music at the same meter reading because all the energy sits at one frequency with nothing to mask it. Loud, continuous high tones can overheat and destroy tweeters; loud deep bass can bottom out a small woofer. Keep the volume moderate, don't park a loud tone at the extremes for long, and never crank a square or sawtooth wave — they carry far more energy than a sine at the same setting.

Why does my square wave sound so buzzy and harsh?

Because a square wave isn't one frequency — it's the fundamental plus a tall stack of odd harmonics (3×, 5×, 7×… the pitch). Those harmonics are what your ear reads as "buzz". A sawtooth sounds even harsher because it contains every harmonic, not just the odd ones. If you want a clean single frequency for testing or tuning, use the sine wave; the richer waves are there for timbre demos and synth-style sounds.

Why won't my laptop or phone play a 20 Hz or 30 Hz tone?

Small speakers physically can't move enough air to reproduce deep bass, so their output rolls off steeply below roughly 100–150 Hz. At 30 Hz you may hear faint harmonics or a mechanical buzz instead of a smooth tone — or nothing at all. That's a driver limitation, not a fault and not the generator's doing. Good headphones or a subwoofer will reproduce the low end; the bass test is built specifically for finding a system's low-frequency floor.

How do I tune an instrument with this?

Play a reference pitch — 440 Hz (A4) is the usual starting point — and adjust your string or reed until the beating between your note and the tone disappears; a steady, beat-free unison means you're in tune. For other notes, change the frequency until the read-out shows the note you want with a 0-cent offset, then match it. The slow "beat" you hear as two close pitches drift in and out is the most sensitive tuning cue there is.

What's the difference between a sweep and a steady tone?

A steady tone holds one frequency; a sweep glides continuously from a start frequency to an end frequency over the duration you set. Sweeps are the fast way to audition a whole range at once — to find the exact frequency where a panel rattles, a room booms, or a speaker gives out. This generator sweeps logarithmically (equal time per octave), which matches how we hear pitch, so the low end isn't rushed through.

Is a pure tone the same as the sound from music?

No. A pure tone is a single sine frequency; musical notes and voices are a fundamental frequency plus dozens of harmonics, plus attack and decay over time. That richness is exactly what the waveform picker demonstrates — the same 440 Hz is a clean whistle as a sine and a buzzy reed as a sawtooth. Pure tones are ideal for measurement and tuning precisely because they contain nothing but the frequency you set.