Turn raw signal samples into interpretable frequency insights. Choose windows, segments, and overlaps in seconds. Export charts, CSV, and PDF summaries with one click.
| Index | Sample value | Notes |
|---|---|---|
| 0 | 0.08 | Short segment of a noisy sine-like signal. |
| 1 | 0.62 | In real work, provide hundreds to thousands samples. |
| 2 | 1.04 | Use consistent units across your measurement pipeline. |
| 3 | 0.76 | Higher rates help capture higher-frequency behavior. |
| 4 | 0.12 | Detrending removes offsets and slow drifts. |
Windowed segment: x_w[n] = (x[n] - trend) · w[n]
FFT: X[k] = Σ x_w[n] · e^{-j2πkn/N}
Window power normalization: U = (1/N) Σ w[n]^2
Spectral density (one-sided): Pxx[k] = (2 · |X[k]|^2) / (Fs · U · N^2)
Spectral density is only as accurate as the sampling plan. With a sampling frequency Fs, the highest observable frequency is the Nyquist limit Fs/2, so Fs=800 Hz covers content up to 400 Hz. Resolution is approximately Fs/NFFT, so Fs=1000 Hz and NFFT=2048 yields about 0.488 Hz bin spacing. Zero padding can smooth plots but does not add new information. Use anti-alias filtering when the sensor sees higher frequencies.
A single periodogram can fluctuate heavily, even for stable signals. Welch splits the series into segments, applies a window, and averages spectra to stabilize the estimate. For example, a 4096-sample record with 1024-point segments and 50% overlap produces seven segments, improving repeatability while keeping detail. More segments increase averaging but reduce low-frequency resolution, so match settings to your objective.
Windows trade resolution for leakage suppression. Hann is a strong general choice; Hamming keeps a slightly narrower main lobe; Blackman suppresses sidelobes further for noisy environments. The calculator normalizes by window power U so values remain comparable across selections and segment lengths. This normalization supports one‑sided scaling for real-valued data while preserving DC and Nyquist energy.
Peaks often indicate periodic components such as rotation, switching, or oscillation. Band power integrates Pxx over a frequency range, which is useful for compliance limits or feature engineering. If a peak is at 60 Hz, consider harmonics at 120 Hz and 180 Hz and verify with the peak table. Total power estimates the overall signal energy per unit time; compare it before and after filtering to quantify improvement.
Confirm units: if samples are volts, Pxx is V²/Hz; if samples are g, Pxx is g²/Hz. Remove offsets with detrending when low-frequency drift is not meaningful. Ensure segment length captures several cycles of expected tones; for a 10 Hz component, 1024 points at 200 Hz spans 5.12 s, usually adequate. Overlap between 25% and 75% is common; higher overlap increases computation but can stabilize estimates. Export CSV for analysis and PDF for reporting and audit trails. Always document your settings to support reproducible comparisons.
The output estimates how signal power is distributed across frequency, using a one-sided PSD for real data. It helps you find dominant tones, broadband noise levels, and energy inside specific frequency bands.
Choose Welch when you need a steadier estimate with lower variance, especially for noisy measurements. Use periodogram for quick inspection or when you want maximum frequency detail from a single FFT pass.
Longer segments improve low-frequency resolution but reduce the number of averages. Overlap increases the number of segments without collecting more data, improving stability at the cost of extra computation and sometimes more correlation between segments.
Detrending removes mean offsets or slow drifts that can inflate power near 0 Hz. This makes the spectrum easier to interpret when the DC component is not physically meaningful for your analysis.
Leakage occurs when a periodic component does not fit an integer number of cycles inside a segment, spreading energy into nearby bins. Selecting an appropriate window and using longer segments typically reduces leakage and sharpens peaks.
PSD units are “(signal unit)² per Hz”, such as V²/Hz or g²/Hz. Total power is the integral of PSD across frequency, returning squared signal units, and band power reports the same within your selected band.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.