Bat Frequency Detector
Watch high-frequency activity scroll across a live spectrogram and use a heterodyne listen mode that shifts captured ultrasonic energy down into the audible range — the same trick a real bat detector uses. The tool reads your microphone’s true Nyquist ceiling at runtime and tells you, plainly, how much of the bat band it can actually reach.
⚠ The honest part first: a normal browser microphone CANNOT detect most bat calls. Bat echolocation spans roughly 20–120 kHz, but a standard mic samples at 44.1 or 48 kHz, so by the Nyquist limit it can only capture sound up to about 22–24 kHz — and built-in mics usually roll off hard above ~16–18 kHz before that. Only the very lowest components of a few low-frequency species (e.g. some Tadarida or Eptesicus search calls dipping toward ~20–22 kHz) might brush into range. For genuine bat detection you need a USB ultrasonic microphone sampling 192–384 kHz or a dedicated hardware bat detector. This tool is honest about that and shows your real limit. Nothing is recorded or uploaded.
Bat Frequency Detector Tool
Idle — press Start to allow your microphone and see the live high-frequency spectrogram.
Your microphone’s sample rate sets a hard ceiling (Nyquist = sample rate ÷ 2) on the highest frequency it can capture. We read it the instant you start and tell you whether any part of the bat band is reachable.
Tuned to 20.0 kHz — energy near this frequency is shifted down to a soft audible tone.
Heterodyne output level. Start low.
Scrolling spectrogram: time flows left→right, the vertical axis is frequency (Hz/kHz), brightness is relative level (dBFS, uncalibrated). The dashed cyan line marks the heterodyne tuning; the red dashed line marks the Nyquist ceiling — nothing above it exists in the data.
Strongest high-frequency peaks
The clearest tones detected above the noise floor, with how they relate to bat calls. Remember: anything genuinely from a bat would have to sit below your Nyquist ceiling to appear here at all — in practice most readings near the top of the range are electronics (CRT/SMPS whine), insects, or aliasing, not bats.
| # | Frequency | Rel. level | Note |
|---|---|---|---|
| Start the detector to list high-frequency peaks. | |||
Heterodyne listen mode
A real heterodyne bat detector mixes the incoming ultrasound with a tunable oscillator so a call near the tuning frequency drops to an audible warble. This tool does the honest equivalent in software — but it can only shift energy that is already within your Nyquist ceiling. If your mic tops out at ~22 kHz, tuning to 20 kHz can reveal a 20–22 kHz source as a low tone, but a 45 kHz pipistrelle call simply is not in the captured signal and cannot be recovered.
Safety: the heterodyne output is a synthesized audible tone played through your speakers/headphones. Keep the listen volume low to start — high-frequency tones at high level are unpleasant and can be fatiguing. The microphone is never routed to your speakers, so there is no feedback path.
How to Use the Bat Frequency Detector
1. Start and read your ceiling. Click Start and grant microphone access. The capability panel immediately shows your sample rate, your Nyquist ceiling (the highest frequency physically capturable), and what share of the 20–120 kHz bat band that ceiling can reach. For nearly all built-in and USB consumer mics the answer is “almost none”.
2. Watch the spectrogram. High-frequency activity scrolls left to right. Switch the band to “High band” to zoom the display onto 10 kHz–Nyquist where any reachable bat energy would appear. The red dashed line is your ceiling — treat the empty space above it as a hard wall, not silence.
3. Try heterodyne listen. Press Heterodyne listen, set a low volume, and drag the tuning slider toward the top of your reachable band. Energy near the tuning frequency is shifted down to a soft audible tone. This is genuinely useful for hearing 15–22 kHz sources (CRT whine, pest deterrents, some insects) that you may not hear directly — just understand it cannot conjure calls that were never captured.
4. For real bats, use real hardware. See the hardware guide below. A USB ultrasonic microphone (192–384 kHz) or a dedicated heterodyne/frequency-division bat detector is the only way to reliably detect and identify echolocating bats.
Understanding Your Results
The Nyquist ceiling is the whole story
The Nyquist–Shannon sampling theorem says a digital system can only represent frequencies up to half its sample rate. A 44.1 kHz microphone tops out at 22,050 Hz; a 48 kHz mic at 24,000 Hz. There is no setting, no FFT size, and no software trick that exceeds this — energy above the ceiling is either filtered out or folds back (aliases) into the captured range as a false, lower-frequency artefact. The tool reads audioContext.sampleRate at runtime and draws that ceiling so you can see exactly where the wall is.
Why most bat calls are simply absent
Even where a mic could theoretically reach ~22 kHz, two more things work against you. First, the bat band starts around 20 kHz and runs up to ~120 kHz, so the overwhelming majority of call energy is far above any consumer ceiling. Second, built-in laptop and phone microphones, plus any OS high-pass filtering, attenuate steeply above ~16–18 kHz, so even the sliver below Nyquist is usually too weak to read. The practical result: a bright streak high on the spectrogram is almost always electronics or an insect, not a bat.
What the heterodyne tone actually represents
The heterodyne output is a level-following audible tone driven by how much energy sits near your tuning frequency — a faithful software analogue of a hardware heterodyne detector, but bounded by the same ceiling. It is an honest down-shift of captured energy, not a measurement of any specific bat species. Treat it as a listening aid for sounds at the edge of human hearing, and treat any species inference as a guess unless you are using a true ultrasonic microphone.
Bat Call & Hardware Reference
Typical echolocation call bands by species
Published-typical values for a few well-studied species. Calls vary with behaviour (search vs approach vs feeding-buzz phase), habitat and individual, so these are ranges, not fixed tones. The right-hand column shows whether any part of the band could ever reach a 48 kHz mic (Nyquist 24 kHz) — for almost every species the answer is no.
| Species | Call type | Typical band | Within ~24 kHz ceiling? |
|---|---|---|---|
| Big brown bat (Eptesicus fuscus) | FM sweep | ~20–65 kHz (search Fmin ~22–30 kHz) | Only the lowest tail (~20–22 kHz), rarely |
| Mexican free-tailed bat (Tadarida brasiliensis) | Shallow FM / QCF | ~20–75 kHz (search ~20–30 kHz) | Only the lowest tail (~20–24 kHz), rarely |
| Little brown bat (Myotis lucifugus) | FM sweep | ~40–80 kHz (peak energy ~45 kHz) | No |
| Common pipistrelle (Pipistrellus pipistrellus) | FM/QCF | peak ~43–49 kHz (~45 kHz) | No |
| Greater horseshoe bat (Rhinolophus ferrumequinum) | CF | ~82 kHz constant-frequency component | No |
Sources: big-brown / little-brown call figures — Animal Diversity Web and Surlykke & Moss, Echolocation behavior of big brown bats (2000); free-tailed search-phase ~20–30 kHz — published Tadarida brasiliensis echolocation studies; common pipistrelle ~45 kHz and greater horseshoe ~82 kHz CF — UK/European bat-group echolocation keys. Values are typical published ranges; treat as approximate.
Hardware that actually detects bats
To capture real echolocation you need a microphone and digitizer that sample far above the audio range. Common options:
- USB ultrasonic microphones sampling 192–384 kHz (Nyquist 96–192 kHz) feeding bat-analysis software — the practical entry point for full-spectrum recording.
- Heterodyne bat detectors — a tunable handheld that mixes ultrasound down to audio in real time (like this tool, but with a true ultrasonic mic); cheap and great for live listening, narrowband.
- Frequency-division detectors — divide the incoming frequency by a fixed factor so the whole band drops into audio at once; broadband, lower fidelity.
- Full-spectrum / time-expansion detectors — record the true ultrasonic waveform for spectrogram analysis and species ID; the standard for surveys.
A normal phone or laptop microphone is none of these. This page is the honest, free way to see your own ceiling and listen to the top edge of human hearing — not a substitute for a real detector.
Frequently Asked Questions
Can this actually detect bats with my phone or laptop mic?
What is the Nyquist ceiling and why does it matter so much?
How does the heterodyne listen mode work, and what can it really do?
What frequencies do common bats echolocate at?
If I see a bright high-frequency streak, is that a bat?
Is my audio recorded or uploaded?
Related Tools
Ultrasonic Frequency Detector
Focus on 15–24 kHz: CRT whine, pest deterrents, SMPS noise, and your mic's upper limit.
Try it →Sub-Bass Detector
The low-frequency counterpart — detect 1–100 Hz with source matching and event logging.
Try it →Frequency Range Analyzer
Analyze the full spectrum with a band-by-band frequency breakdown.
Try it →Audio Spectrum Analyzer
A general-purpose real-time FFT spectrum analyzer for any sound.
Try it →Frequency Detector
Full-range real-time frequency detection with a live gauge and spectrum.
Try it →