Skip to content
Tool · Sound

Online tone generator

Pick a frequency with the slider, type it or step it by one hertz, choose a waveform and a channel, then press Play. Sweep mode glides across a range, and the hearing test finds the highest tone you can hear and compares it with measured hearing by age.

Start quiet. Set your device volume low before you press Play, especially with headphones, and never turn up a tone you cannot hear: high tones can be loud without sounding loud. WHO suggests keeping devices below 60 % of maximum.

Hz
Frequency440 Hz
Period
Nearest note
Who hears it
Working

Notes in equal temperament with A4 = 440 Hz (ISO 16). Wavelength at 344 m/s, the speed of sound in air at 20 °C (HyperPhysics). Hearing by age: percentage of ears that responded at each frequency in Wang et al. 2021 (J Otolaryngol Head Neck Surg 50:52), 162 adults with normal standard audiograms, tested with calibrated audiometer earphones. Your result depends on your speakers or headphones and the volume, and is not a medical test.

Frequency and period

The period is the time for one cycle. A 440 Hz tone repeats every 2.27 ms; a 20 kHz tone every 50 µs.

T = 1/f,   λ = v/f

Notes in equal temperament

Each semitone multiplies the frequency by the twelfth root of two, counted from A4 at 440 Hz.

f = 440 × 2(n − 69)/12

A log slider

Every octave doubles the frequency, so the slider gives each octave the same width from 20 Hz to 20 kHz.

f = 20 × 1000x,   0 ≤ x ≤ 1

What can you do with a tone generator?

Test speakers and headphones, check left and right channels, tune an instrument to A4 = 440 Hz, find a rattle with a slow sweep, or see how high you can still hear. Sound only starts when you press Play, and the volume starts low.

For the hearing side of it, read what is the highest frequency humans can hear?. For loudness and decibels, see why 3 dB is double the power.

Useful numbers

  • Audible range: roughly 20 Hz to 20 kHz (HyperPhysics), shrinking at the top with age.
  • Hearing by age: at 16 kHz, 100 % of ears aged 21 to 30 responded and 16.1 % aged 61 to 70; at 20 kHz, 52.2 % and none (Wang et al. 2021).
  • Tuning: A4 = 440 Hz (ISO 16), and each equal-tempered semitone multiplies the frequency by 2^(1/12).
  • Wavelength: at 344 m/s, 20 Hz is 17.2 m long and 20 kHz is 1.72 cm.
  • Safe listening: WHO suggests keeping a device under 60 % of its maximum volume.

Nine tones to try

Each loads the tone silently; press Play to hear it.

A4, 440 Hz

tuning

The standard tuning pitch. Its period is 2.273 ms and its wavelength in air 78 cm.

Period 2.27 ms

Middle C

C4

Nine semitones below A4: 440 × 2^(−9/12) = 261.63 Hz.

Note C4

1 kHz test tone

B5

The usual reference tone for audio levels. It is not a note: it sits 21 cents above B5.

Nearest B5

50 Hz mains hum

G1

The frequency of mains electricity in much of the world. Small speakers barely reproduce it, so you may hear its harmonics more than the tone.

Wavelength 6.88 m

440 Hz square wave

harmonics

Same pitch as A4, a much brighter sound: a square wave adds odd harmonics at 1320, 2200, 3080 Hz and so on.

Pitch A4

15 kHz

high

Near the top of hearing for many adults. In Wang et al., 45.2 % of ears aged 61 to 70 responded at 14 kHz and 16.1 % at 16 kHz.

Wavelength 2.3 cm

Sweep 20 Hz to 20 kHz

20 s

An exponential sweep spends the same time on every octave, two seconds each over ten octaves. Listen for rattles, dips and the point where it fades.

Octaves 10

The hearing test

8 to 20 kHz

The tone rises from 8 kHz at 400 Hz a second. Press the button when it fades. Keep the volume low; a tone you cannot hear is not a reason to turn it up.

Rate 400 Hz/s

A result of 17 kHz

by age

17 kHz is above the 16 kHz test tone, where 100 % of 21 to 30, 64 % of 31 to 40, 38.6 % of 41 to 50, 30.8 % of 51 to 60, 16.1 % of 61 to 70 year-old ears responded; at 18 kHz the figures fall to 78.3, 20, 2.3, 2.6, 0 %.

21 to 30 at 16 kHz 100 %

Percentage of ears that responded, by age (Wang et al. 2021)

Tone21 to 3031 to 4041 to 5051 to 6061 to 70
8 kHz100 %100 %100 %100 %100 %
9 kHz100 %100 %100 %100 %97.4 %
10 kHz100 %100 %100 %100 %97.4 %
11.5 kHz100 %100 %100 %92.3 %90.3 %
12.5 kHz100 %100 %93.2 %82.1 %74.2 %
14 kHz100 %96 %79.5 %59 %45.2 %
16 kHz100 %64 %38.6 %30.8 %16.1 %
18 kHz78.3 %20 %2.3 %2.6 %0 %
20 kHz52.2 %8 %2.3 %0 %0 %

162 adults with normal standard audiograms, tested with calibrated high-frequency audiometer earphones.

How the tone generator works

The browser's Web Audio API makes the tone with an oscillator, a gain stage for volume and a stereo panner for the channel. Nothing plays until you press Play, and it stops when you leave or hide the page.

The slider is logarithmic, so each octave takes the same width. The nearest note uses n = 69 + 12 log₂(f / 440).

The waveform is drawn to scale: the screen spans a 1, 2, 5 step of time so that a few cycles fit, and one period is bracketed.

What the model leaves out

  • Calibration. The tool cannot know how loud your speakers are, so it cannot measure a hearing threshold in dB.
  • Speaker limits. Many laptop and phone speakers play little below about a hundred hertz or above the top of the hearing range; headphones do better.
  • Medical use. It is not a hearing test in the clinical sense. See an audiologist if you are worried.

Common misconceptions

"If I cannot hear it, nothing is playing." The speaker may still be producing it. Do not turn the volume up to chase a silent tone.

"Everyone hears 20 Hz to 20 kHz." In Wang et al. only about half the ears aged 21 to 30 responded at 20 kHz.

"A square wave is louder." At the same peak it carries more power and harmonics, so it does sound louder and brighter.

Frequently asked questions

What frequency range can humans hear?

Roughly 20 Hz to 20 kHz, though the top falls with age. In Wang et al. 2021, 52.2 % of ears aged 21 to 30 responded at 20 kHz and none aged 51 to 70.

Is it safe to play tones through headphones?

At a low volume, yes. Start quiet, never raise the volume to find a tone you cannot hear, and keep your device below 60 % of maximum as WHO suggests.

What frequency is A4?

440 Hz, the standard tuning frequency set by ISO 16. Middle C is 261.63 Hz in equal temperament.

Why can I not hear the highest tones?

Age-related hearing loss takes the top frequencies first, but your speakers may also not play them. Try headphones at a low volume.

How do I test left and right speakers?

Choose Left or Right under the waveform buttons and press Play. The tone should come from one side only.

Keep learning

More simulations

More everyday utilities tools

See all science tools