FFT Calculator
Radix-2 Cooley–Tukey FFT, N=2^k ≤64, unnormalized. Same engine as Discrete Fourier Transform. Numpy backward. Not a second DFT engine. Not CAS. Runs locally.
Enter values to calculate.
Trust summary CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published modes
- Input interpretation
- Enter values to calculate.
- Result
- —
- Verified scope
- all published modes
- Assurance
- Core
- Declared partition coverage
- PASS · 7/7 declared partitions (scaled-components, numerical-range, dft, idft, fft, ifft, invalid-domain) · Matrix
- Known limitations
- Core CVP does not include live graph, viewport, or pointer interaction.
- Model
- Radix-2 Cooley–Tukey FFT of a length-N sequence, N=2^k ≤64, with an engine-linked stem figure of |X[k]|.
- Scope
- Mode locked to fft
- Verification
- Engine tested · Specification checked · v1.2.1 · CVP VERIFIED · CVP protocol 1.0.0-proposed · Core assurance · all published modes· View Manifest · CVP overview · Specification
- Versions
- Calculation 1.2.1 · CVP protocol 1.0.0-proposed · Evidence 2026-10-09.dft-complete-json-mobile
- Verification revision
- 2026-10-09.dft-complete-json-mobile · 1/1 property · digest 803f88691f89
- Legacy regression
- 17/17 tests · Production surface contract 5/5
- Trust layers
- Verification VERIFIED · Production CURRENT · Overall CVP state: VERIFIED under CVP 1.0.0-proposed
- Reference
- O1 model · O2 expected_values · O2 numerical_behavior
- Interfaces
- PASS · UI (SSR) / REST / MCP
- Supplemental domain review
- Not performed
- Named expert review
- Not performed
- CVP suite
- 13/13 golden · 3/3 CVP boundary · 10/10 invalid · 1/1 property · 7/7 cross-interface · 5/5 CVP contract · Manifest
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Evidence
- 6 legacy golden · 3 legacy boundary · legacy regression suite · 13/13 oracle-backed golden · 10/10 invalid · Artifact integrity PASS
- Semantic contract
- PASS
Full verification
Formulas
Core equations used by this calculator.
How to use
Enter samples
Real list, optional im of the same length. N must be 2^k and 1–64. Default 1,0,0,0.
Read X[k]
The impulse has FFT all ones. DC 1,1,1,1 has X[0]=4. Values match direct DFT for the same N. The stem figure shows |X[k]| with the marker at bin 0.
Example calculations
Common configurations with formula and result.
Impulse
samples = 1,0,0,0
DC
samples = 1,1,1,1
FFT calculator specification
Version 1.2.1 · Engine tested
- Engine tested 17/17 tests · Production surface contract 5/5
- Named expert review Not performed
- Calculation version 1.2.1
- Definition
- The radix-2 FFT is the Cooley–Tukey factorization of the unnormalized DFT X[k]=Σ_n x[n] e^{−2πi kn/N} when N=2^k. This page is mode=fft on math.transform.dft. N≤64. Direct DFT lives on /dft. Inverse FFT lives on /ifft. Not Laplace. Not CAS.
- What it calculates
- Radix-2 Cooley–Tukey FFT of a length-N sequence, N=2^k ≤64, with an engine-linked stem figure of |X[k]|.
- Inputs
- samples
- im?
- Outputs
- n
- re
- im
- mag
- Formula
X[k] = Σ_n x[n] e^{−2πi kn/N} (radix-2)- Assumptions
- Mode locked to fft
- Radix-2 Cooley–Tukey, N=2^k ≤64, Numpy backward
- The Result Card includes an engine-linked stem figure of |X[k]| (marker is bin 0 / published X[0]). Same mag as REST/MCP.
- Not a second DFT engine
- Not Laplace, not CAS
- Units
- dimensionless
- Boundary conditions
- empty samples → INVALID_INPUT
- N not a power of 2 → INVALID_INPUT
- N > 64 → INVALID_INPUT
- unknown mode → INVALID_MODE
- Example
- samples=1,0,0,0 → X=[1,1,1,1]
- Validation cases
2 published on this page · 17/17 tests · Production surface contract 5/5 · View evidence
- samples=1,0,0,0 → re=[1,1,1,1]
- samples=1,0,0 → INVALID_INPUT
- Specification basis
- ISO 80000-2:2019 Quantities and units — Mathematics
- Calculation version
- 1.2.1
Related tools
Other calculators in this family: DFT Calculator, Discrete Fourier Transform Calculator, Inverse DFT Calculator, Inverse FFT Calculator, Inverse Laplace Calculator, Inverse Z Calculator, Laplace Transform Calculator, Z Transform Calculator . Explore all Transforms.
Frequently asked questions
Key distinctions behind the calculation.
Is this a second DFT engine?
No. It is mode=fft on math.transform.dft, the same engine as /calc/math/discrete-fourier-transform.
Is this the direct DFT?
No. Direct O(N²) DFT is on /dft. This seed is radix-2 Cooley–Tukey. For power-of-2 N the values match. Not CAS.
Where does this run?
Locally in the browser by default. REST and MCP call the same discrete-fourier-transform engine.