Skip to content

Frequency Generator

New
Video & Audio Tools•Client-Side & Private

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.

Tool workspace

Tone Settings

Pick a frequency and a waveform, then press Play. The tone is generated live in your browser.

Between 1 and 20,000 Hz. Human hearing is usually quoted as 20 Hz to 20 kHz.

Waveform

Start low with headphones — a loud tone at full volume hurts.

Example: 5 plays the tone for five seconds, then stops itself.

Presets

Important Usage Notice

The tone is generated on your device with the Web Audio API — nothing is downloaded or uploaded. Keep the volume low with headphones, and stop the tone before switching to a very high frequency. Frequencies below 20 Hz are felt as vibration rather than heard, and most adults cannot hear above 20 kHz.

Nearest NoteReady
A4

440 Hz — exactly in tune (440.00 Hz)

Wavelength
78.0 cm

Speed of sound 343 m/s at 20 °C

Period
2.27 ms

Length of one cycle

Hearing Range

Where this frequency sits

Inside the usual human hearing range (20 Hz – 20 kHz).

Frequency, Note, Wavelength and Period

Nearest note: MIDI = 69 + 12 × log₂(f ÷ 440); wavelength λ = 343 ÷ f metres; period T = 1 ÷ f seconds

Where:

  • fFrequency — In hertz — cycles per second. A4 is 440 Hz.
  • MIDINote number — 69 is A4 in equal temperament; each semitone adds 1, each octave adds 12
  • λWavelength — 343 m/s is the speed of sound in air at 20 °C — divide it by the frequency

Step-by-Step Worked Example

Example Scenario: Find the note, wavelength and period of a 440 Hz tone.

1Nearest note
MIDI = 69 + 12 × log₂(440 ÷ 440) = 69 → A4

440 Hz is exactly A4, concert pitch — 0 cents sharp or flat.

2Wavelength
λ = 343 ÷ 440 = 0.78 m

About 78 cm — roughly the length of a guitar.

3Period
T = 1 ÷ 440 = 0.00227 s

One cycle takes about 2.27 milliseconds.

Final Calculated Result:440 Hz = A4, exactly in tune — wavelength ≈ 78 cm, period ≈ 2.27 ms

Loading tool controls…

Files processed locally — never uploaded to our servers
Free Instant Private

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

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.

1

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.

2

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.

3

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.

4

Press Play

The tone starts at once. Change the frequency while it plays and the pitch follows immediately.

5

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

Testing Speakers and HeadphonesSweep from 20 Hz to 20 kHz and listen for rattles, drop-outs and dead spots — a speaker that goes quiet at 60 Hz is not reproducing bass.
Tuning an InstrumentPlay A4 at 440 Hz and tune to it by ear, or play the exact note you need and match it string by string.
Hearing ChecksFind the highest frequency you can still hear. Most adults stop hearing somewhere between 14 and 17 kHz; teenagers often reach 19 or 20 kHz.
Classroom DemonstrationsShow what pitch, wavelength and harmonics mean: double the frequency and the note jumps an octave; switch waveforms and the pitch stays while the timbre changes.
📐

Frequency Generator - Note, Wavelength and Period

Formula Equation:
Nearest note: MIDI = 69 + 12 × log₂(f ÷ 440); wavelength λ = 343 ÷ f metres; period T = 1 ÷ f seconds

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

  1. 1Frequency: 440 Hz
  2. 2MIDI = 69 + 12 × log₂(440 ÷ 440) = 69 → A4, exactly in tune (0 cents)
  3. 3Wavelength = 343 ÷ 440 = 0.78 m (about 78 cm)
  4. 4Period = 1 ÷ 440 = 0.00227 s (about 2.27 ms)
  5. 5Frequency: 880 Hz → MIDI 81 → A5, one octave above A4

Frequently Asked Questions about Frequency Generator

Frequently asked questions

Type a frequency in hertz (or pick a preset like A4 at 440 Hz), choose a waveform — sine, square, sawtooth or triangle — and press Play. Your browser builds the tone with the Web Audio API, so the sound is generated on your device and nothing is downloaded or uploaded.

From 1 Hz to 20,000 Hz. That covers the usual human hearing range of about 20 Hz to 20 kHz. Below 20 Hz most people feel the sound as vibration rather than hearing a pitch, and above 20 kHz most adults cannot hear it at all — the tool tells you when a frequency sits outside the hearing range.

A4 — concert pitch, the note orchestras tune to. The tool shows the nearest equal-tempered note for any frequency you enter, how many cents sharp or flat it is, and the exact frequency of that note. 440 Hz is exactly A4; 441 Hz is A4 about 4 cents sharp.

A sine wave is a pure tone with no harmonics — the softest sound. A square wave sounds hollow and buzzy, a sawtooth wave sounds bright and brassy, and a triangle wave sits between sine and square: soft, but with a little edge. All four play at the same pitch; only the timbre changes.

Every frequency has a wavelength in air: wavelength equals the speed of sound (343 metres per second at 20 °C) divided by the frequency. A 440 Hz tone has a wavelength of about 78 cm; a 20 Hz tone is about 17 metres long. It is shown because it explains why low sounds bend around corners and high sounds are easy to block.

Complementary utilities for your workflow

View all →
You are here

Frequency Generator

Play any tone from 1 Hz to 20 kHz in your browser.

Current tool

Ringtone Maker

Trim audio into a ringtone with fades — MP3 or WAV.

Try tool

Audio Converter

Convert audio between WAV, MP3, OGG, M4A, FLAC, AAC.

Try tool

Voice Recorder

Record your voice in the browser, play it back, download audio or WAV.

Try tool

Video Trimmer

Cut start/end or remove a middle section from any video.

Try tool