Tool to calculate the Fourier transform of an integrable function on R, the Fourier transform is denoted by ^f or F.
Fourier Transform - dCode
Tag(s) : Functions
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
The Fourier transformation of a function $ f $ is denoted $ \hat{f} $ (or sometimes $ F $), its result (the transform) describes the frequency spectrum of $ f $.
Several definitions of the Fourier transform coexist, they are identical except for a multiplicative coefficient (which can simplify the calculations)
For any function $ f $ integrable on $ \mathbb{R} $, the 3 most common Fourier transforms of $ f $ are:
— $ (1) $ most used definition in physics / mechanics / electronics, with time $ t $ and frequency $ \omega $ in rad/sec:
$$ \hat{f}(\omega) = \frac{1}{\sqrt{2\pi}} \int_{-\infty}^{+\infty} f(t) \, \exp(i \omega t) \, \mathrm{d} t \tag{1} $$
The advantage of the factor $ \frac{1}{\sqrt{2\pi}} $ is that it can be reused for the inverse Fourier transform.
— $ (2) $ basic mathematical definition, without coefficient:
$$ \hat{f}(\omega) = \int_{-\infty}^{+\infty} f(x) \, \exp(-i \omega x) \, \mathrm{d} x \tag{2} $$
— $ (3) $ alternative definition in physics:
$$ \hat{f}(\omega) = \int_{-\infty}^{+\infty} f(t) \, \exp(-i 2 \pi \omega t) \, \mathrm{d} t \tag{3} $$
The calculation of the Fourier transform is an integral calculation (see definitions above).
On dCode, indicate the function, its variable, and the transformed variable (often $ \omega $ or $ w $ or even $ \xi $).
Example: $ f(x) = \delta(t) $ and $ \hat{f}(\omega) = \frac{1}{\sqrt{2\pi}} $ with the $ \delta $ Dirac function.
dCode retains ownership of the "Fourier Transform" source code. Any algorithm for the "Fourier Transform" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Fourier Transform" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Fourier Transform" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Fourier Transform" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Fourier Transform on dCode.fr [online website], retrieved on 2025-04-16,