Learn
Spectrum analyzer vs oscilloscope
An oscilloscope and a spectrum analyzer can look at the very same signal and show you two different things. A scope draws the wave as it moves through time. A spectrum analyzer breaks that wave into its frequencies and shows how strong each one is. Neither view is better: each one makes some problems easy to see and others almost invisible. Try both on the same sound below, then read on to learn which one to reach for.
Try it
One sound, two views. Pick a sound: the left screen draws the wave over time, the right screen shows its frequencies.
Oscilloscope: time
Press a sound to start
Spectrum: frequency
Full tools: online oscilloscope · spectrum analyzer
Time domain vs frequency domain
Every signal can be described in two ways. The time domain asks: what is the level right now, and right now, and right now? Plot that and you get a wave, with time running left to right and voltage (or sound pressure) up and down. This is what an oscilloscope draws.
The frequency domain asks a different question: which steady tones, added together, would make this wave, and how strong is each one? Plot that and you get a spectrum, with frequency running left to right and level up and down. This is what a spectrum analyzer draws.
Both views hold the same signal, just sorted in a different way. Think of a piece of music. The time domain is like listening from start to end: you hear when each note starts and stops. The frequency domain is like reading which notes are in a chord: you know exactly what is there, but not the order they came in.
The demo above makes this clear. A pure tone is a smooth wave on the scope and a single thin peak on the spectrum. A square wave looks simple on the scope, just up and down, but the spectrum shows it is really a stack of tones at 1, 3, 5, 7 and more times the base frequency. Two notes played together make a wobbly, hard-to-read wave on the scope, yet the spectrum shows two clean peaks you can name at once.
The bridge between the two views is the Fourier transform. A modern analyzer, and every tool on this site, uses a fast version of it, the FFT, to turn a short piece of the wave into its frequencies many times a second.
What each one shows
Here is the same comparison as a table. The middle column is what an oscilloscope is built to do, and the right column is what a spectrum analyzer is built to do.
| Question | Oscilloscope | Spectrum analyzer |
|---|---|---|
| Horizontal axis | Time | Frequency |
| Vertical axis | Voltage, in volts (linear) | Power or level, in dB (log) |
| Shape of the wave | Yes: rise time, overshoot, flat tops, glitches | No: the shape is lost, only the frequencies remain |
| Which frequencies are present | Only for simple waves, by counting the period | Yes, every one at once, even weak ones |
| Weak signal next to a strong one | Hard: a signal 1,000 times smaller is a hair-thin line | Easy: 60 dB or more apart is normal |
| One-off events | Yes, with a trigger it catches a single glitch | Mostly no: it shows steady or repeating content best |
| Timing between signals | Yes, with two or more channels | No |
| Typical top frequency | Tens to hundreds of MHz on hobby scopes | Up to several GHz on hobby analyzers |
The key line is the vertical axis. A scope uses a straight volts scale, so a signal one thousandth of the size of another is almost flat. An analyzer uses decibels, a log scale, so that same small signal sits a clear 60 dB below the big one and is easy to read. This is why hum, harmonics, noise and radio interference are much easier to find on a spectrum.
When to use which
A simple rule: if you care about when or what shape, use a scope. If you care about which frequencies or how much, use a spectrum analyzer. Here is how that works out in practice.
Audio
For sound, the spectrum view does most of the work. It tells you the pitch of a note, finds the 50 or 60 Hz hum from mains power, shows whether a mix has too much low end, and reveals the harmonics that give an instrument its colour. A real-time analyzer, which groups frequencies into bands, is the standard view for tuning a room or a PA.
The scope view earns its place for a few audio jobs. It shows clipping as flat tops on the wave, so you can see exactly when a recording or an amplifier ran out of room. It shows whether two speakers push air in the same direction (polarity), and it lets you check that a test tone is clean before you measure with it. For voice and music it is mostly a pretty picture, because a full mix is too busy to read as a wave.
Electronics
On a workbench, the oscilloscope is the first tool most people buy, and for good reason. Most faults in digital and power circuits are timing or shape problems: a clock edge that rings, a reset pulse that comes too late, a supply that dips when a motor starts, a data line with a glitch. A scope with a trigger catches these. A spectrum analyzer would only show you a smear of frequencies.
The spectrum view is still useful in electronics. It shows the ripple frequencies on a power supply, the switching frequency of a converter and its harmonics, and how much noise a circuit gives off. It is also the right tool when a product must pass an emissions test, because those limits are written in dB per frequency.
Radio
For radio work, the spectrum analyzer is the main tool. Radio signals sit at frequencies far above what a hobby scope can show, often in the hundreds of MHz or GHz. Even when a scope could show them, a radio band holds many weak signals side by side, and only a log scale lets you see them all at once. An analyzer shows which channels are busy, how clean a transmitter is, whether it splashes into its neighbours, and where interference comes from. Cheap handheld analyzers and USB radio receivers have made this view affordable for anyone.
Can an oscilloscope do FFT?
Yes. Almost every digital oscilloscope sold today has an FFT or "math" mode. It takes the samples the scope has captured, runs a Fourier transform on them and draws a spectrum. For many jobs this is good enough: you can find the switching frequency of a power supply, see that a sine wave has a strong third harmonic, or check the frequency of a clock.
It is not the same as a real spectrum analyzer, though, for three reasons:
- Dynamic range. A typical hobby scope uses an 8-bit converter, which can only tell 256 levels apart. In theory that gives about 50 dB between the biggest and smallest signal it can show, and in practice less. A spectrum analyzer can show signals 70 to 100 dB apart.
- Sensitivity. Scopes are built for signals of millivolts to volts. A spectrum analyzer can see signals many thousands of times smaller, down near the noise of its own input.
- Frequency range and resolution. The scope's FFT only reaches up to its own bandwidth, and fine frequency detail needs a long capture, which uses up its memory.
If you do use a scope's FFT, a few settings make a big difference. Set the vertical scale of the FFT to dB, not volts, or every small peak stays hidden. Choose a Hann window for general looking and a flat-top window when you want to read a level. Capture many cycles of the signal, not just two or three: a longer capture gives finer frequency detail, so a time base that shows a few milliseconds of a 1 kHz tone is far too short. Turn the input up until the wave fills most of the screen without clipping, because a small wave wastes the converter's few bits. And turn on averaging to calm the noise, so small harmonics stand out from it.
So an FFT scope is a good second opinion, but if you spend real time looking at frequencies, especially weak ones or radio, you will want a real analyzer. For sound, this site gives you both for free: the online oscilloscope and the spectrum analyzer run on the same mic, and both use full floating-point maths, so dynamic range is not a problem.
Buying one?
If you work on circuits, start with an oscilloscope. A four-channel bench scope like the Rigol DS1054Z has been a common first scope in hobby labs for years: it covers signals up to 50 MHz, triggers reliably and has an FFT mode for quick frequency checks.
If you work with radio, start with a small spectrum analyzer instead. The tinySA Ultra is a pocket-sized analyzer that covers from below 1 MHz up to the low GHz range, which takes in FM radio, the 433 and 868 MHz remote-control bands, and more. Many hobbyists end up owning both kinds of tool.
We may earn a commission if you buy through these links. It does not change the price.
For a fuller list by budget, including free options and bench analyzers, see our guide to the best spectrum analyzers.
FAQ
What is the main difference?
An oscilloscope shows a signal over time. A spectrum analyzer shows how much of each frequency the signal contains.
Can an oscilloscope replace a spectrum analyzer?
Its FFT mode works for simple checks, such as finding a switching frequency or a strong harmonic. It has far less dynamic range and sensitivity than a real analyzer, so weak signals next to strong ones get lost.
Which should a beginner buy?
For circuits, an oscilloscope first, because most faults show up in the wave over time. For radio work, a cheap analyzer like a tinySA.
Can I see both for sound?
Yes. Our online oscilloscope and spectrum analyzer both use your mic, and the demo at the top of this page shows both views of the same sound at once.