Chirp Rate Calculator for Linear and Log Sweeps

Chirp Rate Calculator

Calculate linear Hz-per-second sweep rate, logarithmic octave and cent rate, marker frequency, total cycles, sample count, and Nyquist margin for audio chirps and measurement sweeps.

🎵 Chirp Sweep Presets

Choose a real sweep scenario, then refine the frequency span, duration, curve, sample rate, and marker time. Linear chirps move by a constant number of Hz each second; log chirps move by a constant musical ratio each second.

📈 Sweep Settings
Log is common for loudspeaker and room measurement sweeps.
Initial chirp frequency in Hz.
Final chirp frequency in Hz.
Length of the chirp before any silence or fade.
Converted internally to seconds for all formulas.
Used for sample count and Nyquist headroom.
Time point where instantaneous frequency is reported.
Percent mode clamps 0 to 100 percent of duration.
Optional fade-in and fade-out time in seconds.
Phase offset in degrees for oscillator setup.
Used only for total generated sample positions.
Adjusts result rounding without changing the math.

Linear formula: f(t) = f1 + (f2 - f1)t/T. Log formula: f(t) = f1 x (f2/f1)^(t/T). Total linear cycles equal T(f1 + f2)/2; total log cycles equal T(f2 - f1)/ln(f2/f1).

Linear Frequency Rate
999 Hz/s
Constant slope if linear
Logarithmic Rate
0.50 oct/s
600 cents per second
Marker Frequency
632.46 Hz
At 10 s into sweep
Total Cycles And Samples
144,620 cycles
960,000 samples per channel

Calculation Breakdown

Sweep span and ratio20 Hz to 20 kHz, 1000:1
Duration after unit conversion20 s
Selected chirp equationLogarithmic exponential sweep
Marker position50% of sweep
Decade and cent rate0.1505 decades/s, 600 cents/s
Fade guard and usable steady time0.10 s guards, 19.90 s usable
Nyquist checkEnd frequency is below Nyquist
🎚 Current Chirp Spec Grid
19.98 kHz
Frequency span
9.97 oct
Musical interval
24 kHz
Nyquist frequency
960k
Samples per channel
📚 Linear Versus Log Chirp Formulas
Quantity Linear chirp Logarithmic chirp Units Why it matters
Instant frequencyf1 + ktf1 x r^(t/T)HzDetermines the tone heard at any point in the sweep
Primary ratek = (f2 - f1) / Tlog2(f2/f1) / THz/s or oct/sShows whether the sweep moves evenly by frequency or ratio
Total cyclesT(f1 + f2) / 2T(f2 - f1) / ln(f2/f1)CyclesEquivalent to the area under the frequency-time curve
Midpoint frequency(f1 + f2) / 2sqrt(f1 x f2)HzExplains why a log sweep spends more time in low octaves
Musical feelFast through bassEven per octaveRatioLog sweeps track pitch spacing more naturally
🔍 Common Chirp Rate Starting Points
Audio task Typical span Duration Curve Approximate rate Practical note
Full-range room sweep20 Hz to 20 kHz10 to 30 sLog0.33 to 1.0 oct/sLonger sweeps give low frequencies more cycles
Subwoofer alignment10 Hz to 200 Hz20 to 60 sLog0.07 to 0.22 oct/sSlow movement helps reveal modal peaks and nulls
Fast device check20 Hz to 20 kHz2 to 5 sLinear4 to 10 kHz/sGood for quick functional checks, less ideal for bass detail
Tweeter band sweep2 kHz to 20 kHz5 to 10 sLog0.33 to 0.66 oct/sConfirms high-frequency response without wasting bass time
Instrument pickup test80 Hz to 8 kHz8 to 15 sLog0.44 to 0.83 oct/sCovers fundamentals and harmonics at a musical pace
Filter trace sweep100 Hz to 10 kHz5 to 20 sEither0.33 to 1.33 oct/sUse linear when the filter spec is in fixed-Hz bandwidth
🎹 Marker Frequency Examples
Sweep 25% time 50% time 75% time Linear midpoint Log midpoint
20 Hz to 20 kHzLinear 5.02 kHz, log 112 HzLinear 10.01 kHz, log 632 HzLinear 15.01 kHz, log 3.56 kHz10.01 kHz632 Hz
10 Hz to 200 HzLinear 57.5 Hz, log 21.1 HzLinear 105 Hz, log 44.7 HzLinear 152.5 Hz, log 94.6 Hz105 Hz44.7 Hz
100 Hz to 10 kHzLinear 2.58 kHz, log 316 HzLinear 5.05 kHz, log 1 kHzLinear 7.53 kHz, log 3.16 kHz5.05 kHz1 kHz
2 kHz to 20 kHzLinear 6.5 kHz, log 3.56 kHzLinear 11 kHz, log 6.32 kHzLinear 15.5 kHz, log 11.25 kHz11 kHz6.32 kHz
📌 Sample Rate And Nyquist Grid
Sample rate Nyquist limit Safe sweep end Samples in 10 s Samples in 30 s Common use
44.1 kHz22.05 kHz20 kHz441,0001,323,000Music playback and CD-rate checks
48 kHz24 kHz22 kHz480,0001,440,000Video audio, interfaces, and room measurement
96 kHz48 kHz40 kHz960,0002,880,000Extended-bandwidth hardware testing
192 kHz96 kHz80 kHz1,920,0005,760,000Ultrasonic measurement and lab sweeps
Chirp Type Comparison
Type Rate behavior Best for Watch point Frequency-time shape Use when
Linear up-sweepConstant Hz/sFilter bandwidths, fast hardware scansBass passes quicklyStraight lineSpecifications are measured in fixed Hz
Linear down-sweepConstant negative Hz/sChecking hysteresis or direction-sensitive displaysSame bass-time issueStraight falling lineYou need high-to-low motion
Log up-sweepConstant octaves/sLoudspeaker, room, and musical-response sweepsNeeds positive start and end frequenciesExponential curveEach octave deserves similar attention
Log down-sweepConstant negative octaves/sReverse response checks and special test tonesEnd time can feel crowded in bassExponential fallYou want ratio spacing from high to low
Segmented chirpRate changes by bandCustom lab sweepsRequires splicing or generated sectionsPiecewiseOne band needs extra resolution
Linear tip: A linear 20 Hz to 20 kHz sweep has a simple Hz/s slope, but it races through the low octaves. Use it when your measurement target is naturally spaced in hertz.
Log tip: A log chirp is usually easier to interpret for music and loudspeakers because each octave receives the same fraction of the total sweep time.
Nyquist tip: Keep the chirp end below half the sample rate. A small margin below Nyquist leaves room for reconstruction filters and avoids misleading high-end readings.
Marker tip: The halfway point of a log sweep is the geometric mean, not the arithmetic mean. For 20 Hz to 20 kHz, that midpoint is about 632 Hz.

A linear sweep move forward by a constant number of hertz per second. On paper, this seems perfectly reasonable. From zero to ten seconds, if you’re starting at twenty hertz and ending at twenty kilohertz, then there’s a clear sense of evenness.

But human perception of pitch is not linear. Instead, it’s logarithmic. This means our ears perceive the next step up as being equally large whether its an octave jump (from two hundred to four hundred hertz) or an octave jump twelve octaves higher (four thousand to eight thousand hertz). In terms of pure distance covered with each step, the latter jump covers three thousand and eight hundred hertz. Yet we hear it as equivalent to the former jump.

Why Use a Logarithmic Sweep for Audio Testing

What that means is that a linear sweep whizzes through the lower frequencies where speaker resonances and room modes resides. Then it barely brushes past the bass and races upward into the mids and highs. That’s where details are that make all the difference when it comes to sound quality.

Each octave gets the same proportion of the overall sweep time, achieved through use of a logarithmic curve. The tool will take your preferred frequency span and duration and calculate the parameters needed to get it done. It also figures out exactly how many octaves per second so you’re getting a constant resolution throughout the range people can hear. That’s essential if you’re measuring room modes or loudspeaker response. Those issues is often expressed as a function of where they fall within a certain musical interval, not at some arbitrary number of hertz. So if you want to make a ten-second sweep from twenty to two-hundred hertz, the result should show a balanced view of two hundred to four-thousand hertz in that same time span.

The page has a reference table to explain this neatley for typical situations. The other real-world trade-off has to do with length. Longer sweeps has better signal-to-noise because they spread out the energy across more cycles. This benefits deconvolution algorithms by producing sharper impulse response recoveries with less phase error, this also makes standing wave and phase errors detectable. But long files take up more disk space and time to play back. If all you need is something quick for checking things or testing a tweeter at higher frequencies, then maybe a couple of seconds of linear sweep will work. There’s not as much going on down in the bass range as there is here.

You can use the calculator to get a sense of this too as it shows you how many samples are required given your selected sample rate as well as total cycle counts that would result. It will also alert you when your desired end frequency gets close to the Nyquist limit, that’s half your sample rate. Getting up against this ceiling results in aliasing artifacts that wreck the data completely.

Because markers report what’s happening at any given instant of time, they’re handy for debugging. The midpoint frequency is simply half-way between your starting and ending points if you’re using a linear sweep. It is the geometric mean (the true center of the musical span) if you use a log sweep. It feels much lower to the ear yet it represents the true center of the musical span. Knowing this helps avoid confusion when attempting to single out a resonant peak or compare one measurement against another.

Halfway along a ten-to-one-hundred kilohertz sweep you might assume you’d hear a tone at one thousand hertz. You’ll find with a linear calculation that you do. But a logarithmic calculation reveals its actualy location: roughly three thousand one hundred hertz. More time is spent down low on the curve, the midpoint shifts.

When you’re measuring something like audio, the idea is to make your test signal match the way the thing you’re testing behave. Arithmetic increments don’t work well for audio gear; they respond to octaves and ratios. Logarithmic sweeps sets up your data to correspond to our actual perception of sound. Raw numbers becomes meaningful information about clarity, distortion and resonance.

Don’t worry about phase offsets and exponential formulas. Just select the duration and range you want to use. Select the curve that matches the physics of the problem and let it go to work. You’ll get a clearer picture of what’s really going on in your room or in your speakers. And a cleaner signal to boot.

Chirp Rate Calculator for Linear and Log Sweeps

Leave a Comment