Enter an Exact Frequency
Type a value in hertz, choose a technical preset, or use the fine and octave controls to reach the value you need.
Ready — sound is off
Browser audio signal toolkit
Set an exact frequency in hertz, make fine or octave-sized changes, and compare the numerical signal properties with what your playback system lets you hear.
A frequency generator, also commonly called an Hz generator or hertz generator, creates a periodic digital signal at a specified rate. These names describe the same core task: producing a signal at a frequency selected in hertz. One hertz means one cycle per second, so entering 1,000 Hz creates an oscillator with one thousand cycles each second. This online frequency generator makes that value the center of the workflow: you can type decimals, step by 1 or 10 Hz, jump an octave, or move across a logarithmic 20 Hz–20 kHz slider.
The waveform determines the shape of each cycle. Sine is a single-frequency reference at the digital source, while square, triangle, and sawtooth waves add harmonics. The frequency generator also calculates period, wavelength in air using an approximate 343 m/s speed at 20°C, and the nearest equal-tempered note. These are mathematical descriptions of the selected signal, not measurements taken from your speakers.
Three simple steps
Use this frequency generator deliberately: set the signal, begin quietly, and interpret only what the workflow can actually show.
Type a value in hertz, choose a technical preset, or use the fine and octave controls to reach the value you need.
Choose a waveform and stereo balance, then lower the browser and device output before playback.
Play the frequency, watch its live time-domain trace, review the calculations, or export a short WAV.
Frequency, period, and wavelength describe related aspects of a repeating signal. Period is the time for one complete cycle and equals 1 divided by frequency. A 1,000 Hz signal has a 1 ms period; 100 Hz has a 10 ms period. The frequency generator updates this value as you type, making the inverse relationship visible without treating rounded display values as laboratory measurements.
Wavelength adds a propagation assumption. Using 343 meters per second for sound in air at roughly 20°C, 343 Hz corresponds to about one meter. Temperature, humidity, and medium change the actual speed. The displayed wavelength is therefore marked approximate, and it does not describe the wavelength of an electrical or digital signal inside your device.
Hertz is the SI-derived name for cycles per second. It provides a clear unit for periodic events: 50 Hz means fifty repetitions each second, whether the subject is an audio oscillator or another repeating phenomenon. In audio, greater frequency generally corresponds to higher perceived pitch, although pitch is a perception rather than a simple meter reading.
Using hertz also makes ratios easy to understand. Doubling 250 Hz to 500 Hz doubles the cycle rate and creates an octave relationship in musical pitch. The ×2 and ÷2 controls preserve that ratio, while the one-hertz buttons support close comparisons. A frequency generator is particularly useful when those exact numerical changes matter more than selecting notes by name.
The 20 Hz–20 kHz range is a conventional broad reference for human-audible audio, not a promise that every person or device covers both endpoints. Bass is often discussed below roughly 250 Hz, much speech and musical detail occupies the midrange, and upper harmonics extend into treble. The boundaries are descriptive and overlap; they are not rigid quality grades.
Technical presets such as 100, 250, 500, 1,000, 2,000, 5,000, and 10,000 Hz provide repeatable checkpoints. Start with 1 kHz when tracing a basic audio path, then compare other areas at a low level. A quiet checkpoint does not by itself identify the cause. The room, processing, transducer, and listener remain part of the result.
Students can connect the visible cycle period to the audible result. Musicians can compare octave relationships and calculate where a frequency sits relative to an equal-tempered note. Audio users can supply a steady reference while checking channel routing or tracking an intermittent connection. A developer may use an exported tone when testing a file-handling flow without sourcing an external recording.
For a changing signal, a steady frequency generator is less efficient than a sweep. A sweep can reveal subjective changes across a range, while the test tone generator is better for fixed-duration checks. If the goal is simply to confirm left/right routing, the guided speaker test reduces the number of controls needed.
Audio engineers use calibrated hardware signal generators and analyzers for formal measurements, but a browser frequency generator can still be a convenient preliminary source. Educators use it to demonstrate waves and pitch. Musicians use it as a reference. Hobbyists use exact frequencies while investigating equipment behavior, and accessibility testers may confirm whether browser audio follows the selected output path.
The important distinction is scope. This tool schedules a numeric oscillator frequency in Web Audio. It does not include a measurement microphone, calibration file, electrical output specification, or traceable reference. Users who need documented tolerances, distortion figures, or sound-pressure values require suitable calibrated instruments and a controlled method.
Digital audio is sampled. The frequency generator checks the active AudioContext sample rate and will not schedule a value at or above half that rate, known as the Nyquist frequency. It also applies a 22 kHz software ceiling. These guards prevent clearly invalid oscillator requests, but they cannot force a DAC, amplifier, speaker, or headphone to reproduce the selected signal.
Operating systems may add volume normalization, spatial effects, equalization, or sample-rate conversion. Bluetooth links can introduce more processing. Speaker placement and room reflections alter what arrives at a listening position. Treat the browser as one part of a larger chain and avoid interpreting an audible difference as proof about any single component.
The Web Audio oscillator is given a numerical frequency and scheduled against the AudioContext clock. That is appropriate for demonstrations and many routine signal checks. “Accurate,” however, needs a defined quantity and tolerance. This frequency generator does not measure the analog output frequency, harmonic distortion, acoustic level, or transducer response after the signal leaves the browser.
If accuracy is critical, capture the output with suitable calibrated equipment and account for sample clocks, interfaces, and measurement uncertainty. For ordinary listening comparisons, use repeatable settings and make one change at a time. Exported WAV files have a deterministic sample rate and PCM structure, but downstream playback can still modify what is heard.
Set a low output before playing any frequency, particularly through headphones. Sustained narrow-band signals can be uncomfortable and may be harmful at high levels or over long periods. Stop immediately if you notice discomfort, pressure, unexpected driver movement, or distortion. Do not compensate for a weak high or low tone with a sudden volume increase.
A frequency generator is not a hearing examination. Hearing concerns should be discussed with a qualified professional using appropriate methods. Equipment concerns may require electrical or acoustic measurement. The site provides a local utility and clear calculations, while responsibility for connections, playback level, duration, and environment remains with the user.
Clear answers
Yes. The exact input accepts decimal hertz values within the software and runtime limits. The interface rounds some displayed supporting calculations for readability.
A logarithmic mapping gives comparable space to octaves. It makes a wide 20 Hz–20 kHz range more useful than a linear slider, while the numeric field remains available for exact entry.
No. The oscillator receives a numerical digital setting, but acoustic output depends on hardware, gain, processing, placement, and the room.
Using the simplified 343 m/s value at about 20°C, it is approximately 0.343 m, or 34.3 cm. Environmental conditions affect the actual result.
No. Known settings are restored defensively, but playback always requires an explicit press of the Play button.