ThisCalculator

Physics

Frequency Harmonics Calculator: How It Works

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

Frequency Harmonics Calculator: How It Works

A frequency harmonics calculator works out the harmonic frequencies of a fundamental frequency, typically the 2nd through 10th multiples, and often shows the nearest standard musical note for each. You enter a base frequency in hertz (Hz) and the calculator returns a list of harmonics, their frequencies, and sometimes the note name and cents offset from equal temperament. This is useful for audio engineering, music production, electrical power analysis, and physics experiments.

Formula

The harmonic series is defined by the equation:

fn = n × f1

where:

  • fn = frequency of the n-th harmonic (in Hz)
  • n = harmonic number (1, 2, 3, …)
  • f1 = fundamental frequency (in Hz)

This is a simple integer multiple relationship. The 1st harmonic is the fundamental itself, the 2nd is twice the fundamental, the 3rd is three times, and so on. In music, the 2nd harmonic is one octave above the fundamental, the 3rd is an octave and a fifth above, and the 4th is two octaves above.

Worked Example

Using the default values from the calculator (fundamental = 440 Hz, number of harmonics = 10), here is how the first five are computed:

  • 1st harmonic: 440 × 1 = 440.00 Hz
  • 2nd harmonic: 440 × 2 = 880.00 Hz
  • 3rd harmonic: 440 × 3 = 1320.00 Hz
  • 4th harmonic: 440 × 4 = 1760.00 Hz
  • 5th harmonic: 440 × 5 = 2200.00 Hz

The calculator also shows these values for the 6th through 10th harmonics (2640, 3080, 3520, 3960, 4400 Hz), all rounded to two decimal places.

What Are Harmonics?

Harmonics are integer multiples of a base frequency. When a string vibrates, it does not just move at one frequency; it also vibrates in segments that produce higher frequencies at the same time. These overtones are what give a musical instrument its timbre—why a violin and a flute playing the same note sound different. In electrical systems, harmonics are voltage or current components at multiples of the power line frequency (50 or 60 Hz) that can cause overheating and equipment malfunction.

In acoustics, the fundamental is often called the first harmonic, and the higher ones are called overtones (though the 2nd harmonic is the 1st overtone). This calculator follows the convention that the fundamental is the 1st harmonic.

How to Read the Results

The output list gives you the exact frequency of each harmonic. For audio work, you can use these to tune oscillators, analyze why a sound is bright or dull, or set up a synthesizer. For example, if your fundamental is 110 Hz (a common A2 note), the 3rd harmonic is 330 Hz, which is close to an E4—this is why power chords sound strong: the 3rd harmonic aligns with a musical fifth.

In electrical power, harmonics are usually expressed as a percentage of the fundamental, but this calculator gives absolute frequencies. To get the harmonic order, simply divide the harmonic frequency by the fundamental. The result is always an integer if the input is correct.

Common Mistakes and Limitations

  • Confusing harmonic number with overtone number: The 2nd harmonic is the 1st overtone. Always check which convention your source uses.
  • Using non-integer multiples: Harmonics are exact integer multiples. If you see a frequency like 441 Hz, that is not a harmonic of 440 Hz—it is a slightly detuned fundamental.
  • Rounding too early: If you round intermediate values, you may get a harmonic that appears slightly off from the integer multiple. Keep full precision until the final step.
  • Assuming all harmonics are audible: The human ear typically hears up to about 20 kHz. For a 440 Hz fundamental, the 45th harmonic is near 20 kHz, so higher ones are inaudible.

The formula is exact for ideal systems. In real instruments, the harmonics are not perfectly integer multiples due to stiffness or inharmonicity, but the deviation is small for most practical purposes.

How to Choose the Number of Harmonics

For musical analysis, 5 to 10 harmonics are usually enough to capture the character of a tone. For electrical power quality, you often need up to the 50th harmonic because higher orders can cause resonance issues. For physical modeling, you might want 20 or more, but remember that the amplitude of each harmonic typically decreases as the order increases.

If you are analyzing a specific instrument, look up its typical harmonic content. For example, a clarinet has strong odd harmonics, while a violin has a rich spectrum of both even and odd. The calculator gives you the frequencies; you supply the amplitudes from your own measurement or recording.

Alternatives and Related Tools

If you need to find the fundamental from a set of harmonics, you can use a greatest common divisor approach: divide each frequency by integers and look for a common base. For example, if you have 220, 330, and 440 Hz, the fundamental is 110 Hz because 220/2 = 110, 330/3 = 110, and 440/4 = 110.

A spectrum analyzer (hardware or software) shows the actual harmonic content of a signal, including amplitudes and phases. A frequency-to-note converter is useful if you want to know the musical note for each harmonic. This calculator is a pure math tool; it does not measure real signals.

Frequently Asked Questions

What is the difference between a harmonic and an overtone?

A harmonic is any integer multiple of the fundamental, including the fundamental itself (1st harmonic). An overtone is any frequency higher than the fundamental. So the 2nd harmonic is the 1st overtone, the 3rd harmonic is the 2nd overtone, and so on. The terms are often used interchangeably, but the numbering differs by one.

Why do harmonics matter in power systems?

In AC power, non-linear loads like computers and LED drivers draw current in pulses, which creates harmonic currents. These can overheat transformers, trip circuit breakers, and cause interference. The 3rd, 5th, and 7th harmonics are especially problematic because they are large and can add up in the neutral conductor of a three-phase system.

Can a harmonic have a lower frequency than the fundamental?

No. By definition, harmonics are integer multiples of the fundamental, so they are always equal to or higher than the fundamental. Sub-harmonics (frequencies below the fundamental) exist in some systems, but they are not part of the harmonic series.

How do I find the harmonic number from a frequency?

Divide the frequency by the fundamental. For example, if your fundamental is 50 Hz and you have a component at 250 Hz, the harmonic number is 250 / 50 = 5. The result should be an integer; if it is not, the frequency is not a harmonic of that fundamental.

Does the calculator work for non-audio frequencies?

Yes. The math is the same for any frequency, whether it is 0.1 Hz (geophysical waves) or 2.4 GHz (Wi-Fi). Just enter the frequency in hertz. For very high frequencies, you may want to convert to MHz or GHz first, but the calculator does not care about the scale.

Related

Formula used
in f | Fundamental frequency | Hz | 440 | 0
in n | Number of harmonics | - | 10 | 1
out h1 | 1st harmonic | Hz | f | 2
out h2 | 2nd harmonic | Hz | f * 2 | 2
out h3 | 3rd harmonic | Hz | f * 3 | 2
out h4 | 4th harmonic | Hz | f * 4 | 2
out h5 | 5th harmonic | Hz | f * 5 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.