Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A sine wave has one frequency; a square wave’s sharp edges require many sinusoidal components to describe. Fourier analysis connects those time-domain shapes to their frequency content. For sampled data, the discrete Fourier transform (DFT) produces a finite set of frequency values, while an FFT is an efficient way to calculate that transform. What an FFT can show, however, depends on how the signal was sampled and how long it was measured.

How a sine wave differs from a square wave

In a time-domain view, a sine wave changes smoothly and repeats. An ideal square wave alternates between two levels, with instantaneous transitions between them. Those different shapes imply different frequency content: an ideal sine wave has a single frequency, while a square wave’s abrupt transitions require multiple frequency components.

Real signals are not necessarily ideal. A physically generated square-like waveform has finite transition times, and a sampled waveform contains only the values recorded at its sampling instants. Neither should be confused with the infinitely sharp, continuous mathematical square wave.

How can a square wave be made from sine waves?

Fourier series describe a periodic function as a combination of sine and cosine components. The coefficients specify the contribution of each component. The NIST Digital Library of Mathematical Functions explains that symmetry simplifies those coefficients: for an even function, the sine coefficients vanish; for an odd function, the cosine coefficients vanish. NIST DLMF, §1.8, Fourier Series

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
FNIRSI DSO152 Handheld Oscilloscope 200kHz Bandwidth, 2.5MS/s Sampling Rate
  • 【Faster Sampling Speed】FNIRSI DSO152 handheld oscilloscope has a real-time sampling rate of 2.5 MS/s and a 200 KHz bandwidth. The 10 x probe can measure up to 800 VPP, which is equivalent to 280 V AC. Voltages up to 400 V can be measured
  • 【Professional Designed 】The DSO152 automotive oscilloscope supports full trigger modes(Auto/Normal/Single). Works perfectly for both periodic analog signals and aperiodic digital signals. 2.8'' HD LCD display screen, a resolution of 320*240, clear to observe
  • 【Portable Oscilloscope】Pocket oscilloscope is an Assembled finished Machine, lightweight and easy to carry, it can be used directly to avoid assembling welding process problems. Applicable to the maintenance industry and R&D education industry
  • 【Easy Measuring】Equipped with efficient one-key AUTO setting of all parameters, the measured waveform can be displayed without cumbersome adjustment. Long press the AUTO button to quickly calibrate the baseline,fast measurement of waveforms
  • 【Longer Battery Life】FNIRSI DSO152 digital oscilloscope has a built-in 1000 mAh high-quality lithium battery, which can be used continuously for about 4 hours after being fully charged. Type-C interface supports data transmission and charging, firmware upgrade

For a square wave, the sharp transitions mean that describing its ideal shape takes multiple sinusoidal components rather than a single sine wave. Adding more appropriate components makes the combined waveform represent the square shape more closely. This is a way to understand the relationship between a periodic signal and its spectrum—not a claim that every real or sampled square-like signal has an unlimited set of measurable components.

What does an FFT show?

An FFT produces a frequency-domain view of sampled data: it shows how the finite record’s content is represented across frequency bins. It does not create a different mathematical transform from the DFT. The DFT is the transform defined for a finite set of samples; the FFT is an efficient algorithm for calculating it. NIST’s discussion of the Cooley–Tukey method describes it as an efficient implementation of the DFT. NIST, “The Fast Fourier Transform for Experimentalists, Part I: Concepts”

Rank #2
Sale
FNIRSI 2C53T 3-in-1 50MHz 2CH Oscilloscope Multimeter DDS Signal Generator
  • 【Newly Version】The 2C53T is an upgraded version of the 2C23T, which improves the measuring range and adds math operation,cursor measurement,persistence mode,XY mode features
  • 【2 Channel Oscilloscope】50 MHz bandwidth, 250 MSa/s sampling rate, 1 Kpts record depth, automatic measurement function, max voltage 400 V, vertical sensitivity 10mV/div-10V/div , support waveform image storage and export
  • 【4.5-Digit 19999 Counts Multimeter】AC Voltage: 0-750 V, DC Voltage: 0-999.9 V, DC/AC Current: 0-9.999 A, Resistance: 0-19.99 MΩ, Capacitance: 0-99.99 mF, Continuity Measurement. Multi-function meter for professionals, schools and hobbyists
  • 【Signal Generator】The maximum waveform output frequency can reach 50 kHz and a step of 1 Hz, and can output 13 waveforms
  • 【Save function】one-click save, screening function. You can upload the saved image by connecting to PC via Type-C. You can easily compare the waveforms by displaying the reference waveform and the measured waveform on the same screen

Consequently, an FFT plot is not a perfect inventory of every frequency that exists in the original physical signal. It is an estimate derived from sampled data, with results shaped by the sampling process, record length, and analysis choices.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What limits an FFT measurement?

Sampling rate and aliasing

Sampling records a continuous signal at discrete time intervals. Components above the range that the sampling process can represent may fold into lower frequencies in the observed spectrum; this is aliasing. An FFT cannot identify a folded component as having come from above the sampling range just by inspecting the resulting bins. Choose an appropriate sampling rate and use anti-alias filtering before interpreting the spectrum. NIST’s digital spectrum-analysis reference discusses these folded components and the role of sampling. NIST Time and Frequency Division, “Section Ten: Digital Spectrum Analysis”

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
RIGOL DHO804 Portable Digital Oscilloscope, 70MHz, 4CH, 12-Bit Resolution
  • 【Key Specs】70 MHz digital oscilloscope with 4 analog channels, 1.25 GSa/s sampling, 12-bit vertical resolution and up to 25 Mpts memory depth—helps correlate multiple rails and timing signals with fine vertical detail.
  • 【UltraAcquire & Search】UltraAcquire up to 1,000,000 wfms/s; 256-level intensity grading plus waveform search/navigation helps find intermittent glitches and review anomalies quickly using event/time/frame navigation.
  • 【FFT & Decode】Peak detect captures glitches down to 1.6 ns; math includes FFT up to 1 Mpts, filters, and 41 automatic measurements. Standard serial trigger/decode supports CAN, RS232/UART, I2C, SPI and 4-bit parallel decode using analog channels.
  • 【Connectivity & SCPI】LAN supports LXI‑C, browser Web Control and standard SCPI commands. USB Host/Device and HDMI improve documentation, data export and external display for lab or teaching use.
  • 【Applications】Digital oscilloscope for switching power ripple/noise checks, embedded bring-up, sensor interface validation and protocol troubleshooting; 7" 1024×600 touch screen and Flex Knob support fast daily measurements.

Record duration and frequency resolution

A DFT operates on a finite observation, so its frequency values are separated by a finite spacing. In NIST’s waveform-metrology treatment, the relationship is Δf = 1/(MΔt), where M is the number of samples and Δt is the time interval between samples. Since MΔt is the record duration, a longer record gives finer frequency spacing when the sampling interval stays the same. This spacing is not a guarantee that every pair of nearby signal components can be cleanly distinguished; measurement conditions and the signal itself still matter. NIST, Digital methods in waveform metrology (1992)

Endpoint mismatch and spectral leakage

The DFT treats the finite sampled record as though it repeats periodically. If the record’s ending value does not join smoothly to its beginning, that periodic extension has a discontinuity. The resulting energy spreads across frequency bins rather than appearing only where an idealized component might be expected; this is spectral leakage. A record that contains a whole number of cycles of a periodic signal can reduce endpoint mismatch, but that condition may not be practical or known in a measurement.

Rank #4
Hantek DSO2C10 Digital Storage Oscilloscope 100MHz Bandwidth 2CH
  • Cost-effective economy oscilloscope.
  • Support arbitrary waveform output, 14 kinds of trigger modes, standard with 5 kinds of serial protocol triggers and decodes.
  • Useful commissioning instrument for various fields such as communication, aerospace, national defense, embedded systems, computers, research and education.
  • Package weight of the Product: 5.95 Pounds

Windowing and zero padding

A window weights samples near the ends of a record to reduce sidelobes associated with leakage. It changes the spectrum estimate, however; it does not lengthen the measured record or restore information that sampling did not capture. Window choice can also affect amplitude estimates, and waveform-metrology methods may require correction factors. Zero padding adds values for display or computation between the original DFT frequency points, but it does not improve the underlying resolution set by record duration. NIST covers tapering windows and zero padding as practical spectrum-analysis topics. NIST, “The Fast Fourier Transform for Experimentalists, Part I: Concepts”

Best Value
Sale
FNIRSI DPOS350P 4-in-1 350MHz Digital Oscilloscope 2 Channel, 1 GSa/s
  • 【4-in-1】FNIRSI DPOS350P handheld oscilloscope 350 MHz bandwidth, 1 GSa/s, 47 Kpts depth, 8-16-bit resolution, 50,000 wfms/s refresh. 2 channel oscilloscope, 7" touchscreen, digital phosphor, X-Y mode, 2 mV/div ultra-sensitive, ZOOM, 12 auto measurements, cursor
  • 【Spectrum Analyzer】FFT-based analysis from 200KHz–350MHz with 4K–32K FFT length. Includes harmonic markers, cursor readouts, real-time 2D/3D waterfall view for EMI checks and signal integrity analysis
  • 【Frequency Response Analyzer】10Hz–50 MHz frequency range, 0–5Vpp amplitude, +2.5 V to -2.5 V offset, 20–500 frequency Count. Measures gain/phase/frequency—ideal for Bode plots, loop stability tests, and analog filter tuning
  • 【DDS Signal Generator】Outputs 14 standard waveforms and clipped waveforms. 0–50 MHz frequency range, 1 Hz resolution. 0–5 Vpp amplitude, -2.5 V to +2.5 V offset. Adjustable duty cycle from 0.1% to 99.9%. Supports 500 custom clipping waveforms
  • 【Smart Features & Portability】Stores 500 waveforms + 90 screenshots. Supports FFT display, 150M/20M hardware bandwidth limiter, auto power-off. 8000 mAh battery, USB-C charging. Engineered for lab and field use

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.