Quick Answer
Type a frequency, such as 440 Hz, and press Play / Stop. Choose a sine wave for a pure tone, and keep the volume low at first. The table shows the nearest musical note: 440 Hz is A4, the standard tuning note, and 261.63 Hz is middle C. Change the frequency while it plays to sweep the tone.
Embed this calculator
Adjust the size if needed, then copy the code below into your page or blog. The calculator will load in an iframe and stay updated automatically.
Table of Contents
- Tone Generator
- Quick Answer
- Related Calculators
- How This Tone Generator Works
- How to Use the Tone Generator
- How Notes and Frequencies Relate
- Key Terms
- Worked Example
- Real-Life Examples
- Sine vs Square vs Sawtooth
- Note Frequencies
- Safe Listening
- Common Mistakes to Avoid
- Frequently Asked Questions
- References & Sources
How This Tone Generator Works
A tone generator plays a steady sound at the exact frequency you choose, measured in hertz (Hz), the number of vibrations per second. Use it to tune instruments, test speakers and headphones, check your hearing range casually, or explore sound in a science lesson.
Features:
- 20 to 20,000 Hz: the range usually quoted for human hearing.
- Four wave shapes: sine, square, triangle and sawtooth.
- Note finder: the nearest note and how many cents sharp or flat.
- Live changes: change frequency, shape or volume while it plays.
How to Use the Tone Generator
- Type a frequency or choose a quick pick.
- Choose the wave shape.
- Set a low volume.
- Press Play / Stop to start the tone.
- Change the frequency while it plays, then press Play / Stop to stop.
How Notes and Frequencies Relate
- Reference: A4 = 440 Hz, the international standard pitch (ISO 16).
- Semitones from A4: n = 12 × log2(f ÷ 440).
- Equal temperament: each semitone multiplies the frequency by 2^(1/12), about 1.0595.
- Octave: doubling the frequency raises the note one octave.
- Cents: 100 cents make one semitone; the table shows how far the frequency is from the nearest note.
Key Terms
- Hertz (Hz): cycles per second, the unit of frequency.
- Octave: a doubling or halving of frequency.
- Semitone: one twelfth of an octave in equal temperament.
- Cent: one hundredth of a semitone.
Worked Example
What note is 300 Hz?
- n = 12 × log2(300 ÷ 440) = 12 × log2(0.6818) = about −6.63 semitones
- Nearest whole semitone: −7, which is D4 (7 semitones below A4)
- Difference: −6.63 − (−7) = 0.37 semitones, or about +37 cents
- So 300 Hz is D4, 37 cents sharp. D4 itself is about 293.66 Hz.
Real-Life Examples
- Tuning: tune a guitar’s A string to 110 Hz, two octaves below 440 Hz.
- Speaker test: sweep from 50 Hz up to 15,000 Hz to hear where a small speaker drops off.
- Science class: show that 880 Hz sounds one octave above 440 Hz.
- Audio checks: use 1,000 Hz as a reference test tone.
Sine vs Square vs Sawtooth
- Sine: a pure tone with a single frequency; smooth and soft.
- Square: adds odd harmonics; sounds hollow and buzzy, like old video games.
- Triangle: softer than square, with weaker odd harmonics.
- Sawtooth: contains all harmonics; bright and harsh.
Note Frequencies
Calculated with f = 440 × 2^(n/12).
| Note | Frequency |
|---|---|
| A2 | 110.00 Hz |
| C4 (middle C) | 261.63 Hz |
| D4 | 293.66 Hz |
| E4 | 329.63 Hz |
| G4 | 392.00 Hz |
| A4 | 440.00 Hz |
| A5 | 880.00 Hz |
Safe Listening
- Start quiet: begin at Very quiet and turn up slowly.
- Take care with headphones: tones go straight into your ears.
- High tones: can be unpleasant even at moderate volume.
- Inaudible does not mean safe: very low or high tones you cannot hear can still be loud for speakers and ears.
- Not a hearing test: for a real hearing check, see a hearing professional.
Common Mistakes to Avoid
- Starting loud. Always start at a low volume.
- Expecting bass from phone speakers. Small speakers cannot play low tones well.
- Using square waves for tuning. Sine waves are easier to match by ear.
- Treating it as a hearing test. Device and speaker limits affect what you hear.
- Long exposure to high tones. Take breaks.
Frequently Asked Questions
Enter 440 and press Play / Stop.
A4, the standard tuning pitch.
About 261.63 Hz in equal temperament with A4 = 440 Hz.
Small speakers cannot play very low notes, and hearing at high frequencies declines with age.
Sine for a pure tone; the others add harmonics.
Keep the volume low, especially with headphones, and stop if it feels uncomfortable.
Yes. Type a new frequency or change the shape or volume.
Yes. Match your instrument’s note to the tone, such as 440 Hz for the A string.
No. The tool only plays sound and does not use your microphone.
It is usually quoted as about 20 Hz to 20,000 Hz. Many adults hear less at the top end, especially with age, so a high tone that a child hears clearly may be silent to an adult.
A square wave carries extra harmonics on top of the main frequency, so at the same volume setting it sounds fuller and louder. Turn the volume down when switching away from sine.
Yes. Play tones from low to high and listen for rattles, buzzing or points where the sound fades. Keep the volume low, as speakers can be damaged by loud low tones.
It shows how far the frequency is from the nearest note. Plus means sharp and minus means flat; 100 cents is one semitone, so +37 cents is about a third of the way to the next note.
References & Sources
| Source | Used For | Link |
|---|---|---|
| ISO 16:1975, Acoustics: Standard tuning frequency | A4 = 440 Hz as standard pitch. | https://www.iso.org/standard/3601.html |
| MDN Web Docs, OscillatorNode | Making the tone in the browser. | https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode |