Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

Butterfly (operation)

The two-input, one-multiply, two-output primitive that is the FFT's entire arithmetic content.

The butterfly is the primitive operation X_{\text{top}}=E+WO, X_{\text{bottom}}=E-WO combining one even-indexed and one odd-indexed partial result (scaled by a twiddle factor W) into two outputs, using only one multiplication. The entire Cooley-Tukey FFT is nothing more than this operation, repeated at every level of the recursion.

Examples

  • Combining E=x_0+x_2 and O=x_1+x_3 (with W=1) via one butterfly gives both X_0 and X_2 at once.

Read the full section →
Graph settings

Calculator