Tone Generator

Generate precise audio tones from 20 Hz to 20,000 Hz using sine, square, sawtooth, or triangle waveforms. Use this free online frequency generator to test speakers, calibrate audio equipment, match tinnitus frequencies, check your hearing range, or tune instruments. Adjustable frequency, waveform, and volume with quick-select presets for common musical notes.

Ad Space

How Does the Tone Generator Work?

The Tone Generator uses the Web Audio API's OscillatorNode to produce continuous audio signals at precise frequencies. When you click "Play Tone," the tool creates an AudioContext, instantiates an oscillator node set to your chosen frequency and waveform type, and connects it through a GainNode that controls volume. The oscillator generates a mathematically perfect periodic waveform that repeats at the specified number of cycles per second (Hertz). A 440 Hz sine wave, for example, completes exactly 440 full cycles every second, producing the A4 note used as the universal tuning standard.

The four available waveform types each have distinct characteristics. A sine wave is the purest tone with no harmonics — it contains only the fundamental frequency. A square wave contains the fundamental plus all odd harmonics (3rd, 5th, 7th, etc.), producing a hollow, buzzy sound. A sawtooth wave contains all harmonics (both odd and even) at decreasing amplitudes, creating a bright, rich tone. A triangle wave contains only odd harmonics like the square wave, but at much lower amplitudes (falling off as 1/n squared), resulting in a softer, flute-like quality.

Understanding Frequency and Human Hearing

Frequency, measured in Hertz (Hz), determines the pitch of a sound. The human hearing range spans approximately 20 Hz to 20,000 Hz (20 kHz), though this range narrows with age. Most adults over 25 cannot hear frequencies above 15,000 Hz, and by age 50, the upper limit often drops to around 12,000 Hz. This age-related hearing loss (presbycusis) primarily affects higher frequencies. You can use this tone generator to test your personal hearing range by gradually increasing the frequency until you can no longer hear the tone.

Musical notes correspond to specific frequencies defined by the equal temperament tuning system. The standard reference pitch is A4 = 440 Hz, adopted internationally in 1955. From this reference, every note is spaced by a ratio of the twelfth root of 2 (approximately 1.05946). This means each octave doubles in frequency: A3 is 220 Hz, A4 is 440 Hz, and A5 is 880 Hz. Middle C (C4) is 261.63 Hz, and the lowest note on a standard piano (A0) is 27.5 Hz.

Speaker and Headphone Testing

This tone generator is valuable for testing audio equipment. Sweep through the frequency range from low to high to check if your speakers or headphones reproduce all frequencies evenly. Small speakers and earbuds often struggle with frequencies below 100 Hz, while damaged tweeters may fail to reproduce high frequencies above 10,000 Hz. Listen for rattling or buzzing at specific frequencies, which can indicate loose components, damaged drivers, or resonance issues in your speaker enclosure. A clean sine wave should sound smooth and pure at all volumes — any distortion indicates a problem.

Tinnitus Frequency Matching

People experiencing tinnitus (ringing in the ears) can use the tone generator to identify the frequency that matches their tinnitus tone. Start at a low frequency and slowly increase until the generated tone matches what you hear. Common tinnitus frequencies range from 2,000 Hz to 8,000 Hz. Knowing your tinnitus frequency can be helpful when discussing treatment options with an audiologist, as some sound therapy approaches use the specific tinnitus frequency for notched sound therapy or tinnitus retraining therapy (TRT).

Audio Equipment Calibration

Sound engineers use tone generators for calibrating audio systems, testing signal chains, and setting reference levels. The 1,000 Hz sine wave is the standard calibration frequency used to set unity gain across audio equipment. When setting up a PA system, monitor speakers, or recording chain, a 1 kHz tone at a known level helps ensure consistent gain staging from input to output. The quick-select buttons below include this standard calibration frequency for convenient access.

Frequently Asked Questions

Is the tone generator safe for my speakers and headphones?

Yes, at normal volume levels. However, playing very low frequencies (below 40 Hz) at high volume can damage small speakers not designed for bass reproduction, and very high volumes at any frequency can damage audio equipment over time. Start at a low volume and gradually increase. Never play tones at maximum volume through headphones as this can cause hearing damage.

What is the difference between sine, square, sawtooth, and triangle waves?

A sine wave produces a pure tone with no harmonics. A square wave adds odd harmonics creating a hollow, buzzy sound. A sawtooth wave contains all harmonics for a bright, rich tone. A triangle wave has only odd harmonics at low amplitudes for a soft, flute-like sound. Sine waves are best for testing and calibration; other waveforms are useful for musical synthesis.

Can I use this to tune my guitar or other instruments?

Yes. Use the quick-select buttons for standard tuning notes (E2, A2, D3, G3, B3, E4 for guitar). Play the tone and adjust your string until it matches. For more precise tuning, consider using our dedicated Online Tuner tool which provides additional reference notes and tuning presets.

Why can I not hear anything at 18,000 Hz or higher?

This is likely normal age-related hearing loss (presbycusis). Most adults lose the ability to hear very high frequencies as they age. If you are over 25, not hearing 18,000 Hz is typical. By age 50, many people cannot hear above 12,000 Hz. If you are concerned about hearing loss, consult an audiologist for a professional hearing test.

How can I test my hearing range with this tool?

Start with the frequency at 20 Hz and a comfortable volume. Gradually increase the frequency using the input field. Note the lowest frequency you can hear (most people hear from about 30-60 Hz through consumer speakers) and keep increasing until you can no longer hear the tone. The highest frequency you can detect is your upper hearing limit. Test at a consistent, moderate volume.