Canonical: https://toolipedia.app/fourier-series-visualiser

# Fourier Series Visualiser

Draw the first harmonics and the summed waveform of square, triangle, sawtooth and rectified sine waves and read their Fourier coefficients, amplitudes and signal power kept.

Breadcrumbs: Toolipedia > Online calculators > Electronics and engineering calculators > Fourier Series Visualiser

## About Fourier Series Visualiser

Any repeating waveform can be built from sine waves whose frequencies are whole-number multiples of the base frequency. Pick a square, triangle, sawtooth or rectified wave, choose how many harmonics to keep and see the sum drawn against the ideal wave, with a bar chart of each harmonic. A table lists the coefficients: a square wave of height 1 has terms 4 divided by n times pi at odd harmonics, so 1.2732, 0.4244 and 0.2546 for harmonics 1, 3 and 5. It also shows the highest value of the sum, so you can see the overshoot at a jump, and the signal power kept.

## How to use Fourier Series Visualiser
1. Pick the waveform and its amplitude.
2. Set the highest harmonic number from 1 to 60 and watch the blue sum approach the orange ideal wave.
3. Read the coefficient table and the power kept to see how many terms a given accuracy needs.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
- Free to embed on your own website, with a ready-made code to copy.

## Also known as
- fourier series visualiser
- fourier series of square wave
- harmonics of a sawtooth wave
- fourier coefficients calculator
- triangle wave fourier series

## Frequently asked questions

### Why does a square wave only have odd harmonics?

A square wave is symmetric in a way that cancels all the even sine terms, leaving only odd multiples of the base frequency, whose amplitudes fall as one over the harmonic number.

### What is the overshoot at the jumps of a square wave?

It is the Gibbs effect. Near a sudden jump the sum overshoots by about 9% of the jump size however many terms you add, and the overshoot only gets narrower.

### What does signal power kept mean?

It compares the power of the partial sum with the power of the ideal wave. With harmonics 1, 3 and 5 of a square wave about 93% of the power is already included.

### Is Fourier Series Visualiser free?

Yes. Fourier Series Visualiser on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

### Can I put Fourier Series Visualiser on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

## Related tools

More free tools that go well with Fourier Series Visualiser:
- [Series and parallel calculator](https://toolipedia.app/series-parallel-calculator)
- [RMS Calculator](https://toolipedia.app/rms-calculator)
- [Power Factor and Power Triangle Calculator](https://toolipedia.app/power-factor-and-power-triangle-calculator)
- [4-20 mA and Sensor Signal Scaling Calculator](https://toolipedia.app/4-20-ma-and-sensor-signal-scaling-calculator)
- [Antenna Length Calculator](https://toolipedia.app/antenna-length-calculator)
