Frequency Generator
A free frequency generator that plays any tone from 1 Hz to 20,000 Hz in your browser — sine, square, sawtooth or triangle — with the nearest musical note, wavelength and period shown live.
Loading tool controls…
Verify it yourself: press F12, open the Network tab, and use this tool — your files are never uploaded.
Frequency Generator at a glance
- Price
- Free
- Account
- Not required
- File uploads
- None — your files are never uploaded
- Category
- Video & Audio Tools
Who uses Video & Audio Tools?
Video creators, editors and podcasters trimming, compressing, converting or extracting audio from clips.
How to Use Frequency Generator
Follow these simple steps to get instant results in your browser.
Enter a Frequency
Type a frequency in hertz between 1 and 20,000, or tap a preset like A4 (440 Hz) or the 1 kHz test tone.
Pick a Waveform
Sine for a pure tone, square for a hollow buzz, sawtooth for a bright brassy sound, or triangle for something in between.
Set the Volume and Duration
Turn the volume down before you press Play — headphones at full volume hurt. Set a duration, or leave it playing until you stop it.
Press Play
The tone starts at once. Change the frequency while it plays and the pitch follows immediately.
Read the Note and Wavelength
The nearest note, how many cents sharp or flat it is, the wavelength and the period are shown beside the player.
What is Frequency Generator & How Does It Work?
Frequency Generator plays any tone you ask for, from 1 Hz to 20,000 Hz, straight from your browser. Type a frequency in hertz, pick a waveform — sine, square, sawtooth or triangle — and press Play. The tone is built on your device with the Web Audio API, so nothing is downloaded, nothing is uploaded, and there is no audio file involved at all: the sound is generated live, sample by sample, for exactly as long as you hold it. Stop it any time, change the frequency while it plays, or set a duration and let it stop itself.
Every tone comes with the facts that make the number meaningful. The tool shows the nearest musical note in equal temperament — 440 Hz is A4, concert pitch, the note orchestras tune to — and how many cents sharp or flat your frequency sits against that note. It shows the wavelength in air, worked out from the speed of sound at 20 °C (343 metres per second), and the period of one cycle in milliseconds. A 440 Hz tone has a wavelength of about 78 cm and a period of about 2.27 ms; a 20 Hz tone is about 17 metres long. Those numbers explain why low sounds bend around corners and through walls while high sounds are easy to block.
Use it to test speakers and headphones, to tune an instrument by ear, to check what your hearing still picks up at the top end, to demonstrate pitch and harmonics in a lesson, or to find the frequency of a hum or a ringing in a room. The presets cover the useful starting points — A4 at 440 Hz, middle C at 261.63 Hz, a 1 kHz test tone, and a 60 Hz mains hum — and the page says plainly when a frequency sits outside the usual human hearing range of about 20 Hz to 20 kHz, so a silent result at 22 kHz is explained rather than mysterious.
Key Features & Capabilities
1 Hz to 20 kHz
Any frequency in the full hearing range, typed in or picked from presets — A4, middle C, 1 kHz test tone, 60 Hz hum.
Four Waveforms
Sine, square, sawtooth and triangle, all at the same pitch, so you hear timbre change while the note stays put.
Nearest Note, Live
The closest equal-tempered note, the cents sharp or flat, and the note's exact frequency, worked out from A4 = 440 Hz.
Wavelength and Period
Wavelength from the speed of sound in air at 20 °C (343 m/s) and the period of one cycle, shown for every tone.
Private by Design
The tone is generated on your device with the Web Audio API; nothing is uploaded, downloaded or stored.
Pro Tips
- •Bookmark this tool for instant one-click access anytime.
- •Drag and drop files directly onto the input surface for fastest handling.
- •All processing happens in your browser session for maximum speed and data safety.
🎯 Common Use Cases
Frequency Generator - Note, Wavelength and Period
Equal temperament divides the octave into twelve equal steps, so the MIDI number of a frequency is 69 plus twelve times the base-2 log of the frequency over 440 Hz — 69 is A4. Wavelength is the speed of sound divided by the frequency, using 343 m/s, the speed of sound in air at 20 °C. The period is simply one divided by the frequency: how long one cycle takes.
Worked Example
- 1Frequency: 440 Hz
- 2MIDI = 69 + 12 × log₂(440 ÷ 440) = 69 → A4, exactly in tune (0 cents)
- 3Wavelength = 343 ÷ 440 = 0.78 m (about 78 cm)
- 4Period = 1 ÷ 440 = 0.00227 s (about 2.27 ms)
- 5Frequency: 880 Hz → MIDI 81 → A5, one octave above A4
Frequently Asked Questions about Frequency Generator
Frequently asked questions
More Video & Audio Tools
Complementary utilities for your workflow
Frequency Generator
Play any tone from 1 Hz to 20 kHz in your browser.
Audio Speed & Pitch Changer
Change audio speed and pitch independently, preview and download as WAV.
Audio Cutter & Trimmer (WAV Export)
Trim and cut audio recordings with interactive waveform display.