Frequency Calculator

Calculate frequency in hertz from the period, or from wave speed and wavelength, for sound, light, radio waves, mechanical oscillations, and AC circuits.

Last updated:
Enter known value:

c = λ × f   •   T = 1 / f   •   All values converted to SI units internally

Was this calculator helpful?

★ ★ ★ ★ ★
Embed this calculator

Calculation Examples

Calculation Case Result
Pendulum: period 2 s 0.5 Hz
Sound wave: v = 343 m/s, wavelength = 0.780 m approx. 440 Hz (A4 concert pitch)
FM radio: v = 3x10^8 m/s, wavelength = 3 m 100 MHz
Mihail Doncenco
Mihail Doncenco Site Creator & Calculator Expert

Founder and developer of CalcMate. Builds and maintains every calculator on this site, focusing on formula accuracy and clear, practical results.

Using the Frequency Calculator: Step by Step

The calculator has two input modes, depending on what you measured:
1. Period-based: enter the time of one full cycle in seconds. Use it for pendulums, AC circuits, and any repeating event whose cycle time you can measure.
2. Wave-equation-based: enter wave speed and wavelength. Use it for sound, electromagnetic waves, and any traveling wave whose speed and wavelength you know.

Convert all inputs to SI units first: seconds for the period, meters for the wavelength, and meters per second for the speed. Entering a wavelength in centimeters without converting is the most common error. The result is in hertz (Hz), meaning cycles per second. For kHz, MHz, or GHz, divide the Hz result by \(10^3\), \(10^6\), or \(10^9\), or use the unit selector.

The Frequency Formula and Its Mathematical Basis

Frequency is the number of complete cycles of a repeating event per second, and the SI unit is the hertz (1 Hz = 1 s⁻¹). The two basic formulas are: \[f = \frac{1}{T}\] where \(T\) is the period (the time of one cycle) in seconds, and \[f = \frac{v}{\lambda}\] where \(v\) is the wave's phase velocity in m/s and \(\lambda\) is its wavelength in meters.

Two wave speeds come up often. The speed of light in vacuum is \(c = 299{,}792{,}458\) m/s, exact by the SI definition of the meter. The speed of sound in dry air at 20°C is about 343 m/s, rising by roughly 0.6 m/s per °C. Other media differ a lot: sound travels at about 1,480 m/s in water and about 5,900 m/s in bulk steel, so using the air value there gives a result off by a factor of 4 to 17. A frequency does not change when a wave enters another medium, but the speed and wavelength do. Examples: an FM station at 100 MHz has a wavelength of \(\lambda = v/f \approx 3 \times 10^8 / 10^8 = 3\) m, and a 440 Hz A4 note in 20°C air has \(\lambda = 343 / 440 \approx 0.780\) m.

Frequency formula diagram showing f = 1/T and f = v/lambda with examples for sound, light, and radio waves

Useful Tips 💡

  • For electromagnetic waves in vacuum, use c = 299,792,458 m/s exactly. Where 3 × 10^8 m/s is precise enough, the error is only 0.07%.
  • Frequency and period are exact reciprocals: doubling the frequency halves the period. A 50 Hz system has a period of exactly 0.02 s (20 ms).
  • Check the order of magnitude: medical ultrasound is roughly 2 to 18 MHz, and Wi-Fi uses 2.4 GHz and 5 GHz bands (and 6 GHz on newer devices).
  • Angular frequency (in rad/s) differs from ordinary frequency (in Hz): angular frequency = 2π × f. Many physics equations use angular frequency, so check which one the formula needs.

📋Steps to Calculate

  1. Select the input mode: Period-based (enter the period in seconds) or Wave-based (enter speed in m/s and wavelength in meters).

  2. Enter all values in SI units. Convert prefixes first: milliseconds to seconds, centimeters to meters.

  3. Click Calculate to see the frequency in Hz and the formula applied.

  4. For results in kHz or MHz, divide by 1,000 or 1,000,000, or use the unit selector.

Mistakes to Avoid ⚠️

  1. Entering a wavelength in centimeters or nanometers without converting to meters. A 500 nm wavelength entered as 500 instead of 0.0000005 m gives a frequency a billion times too small.
  2. Mixing up angular frequency (rad/s) with ordinary frequency (Hz): they differ by a factor of about 6.283 (2π).
  3. Using the time for many oscillations as the period of one: a pendulum that completes 10 swings in 20 seconds has a period of 2 s, not 20 s.
  4. Using the speed of sound in air (343 m/s) for water or solids. Use the wave speed of the actual medium, and the wavelength measured in that medium.

Practical Applications of Frequency Analysis📊

  1. Acoustics and audio engineering: Find the frequency of sound for crossover design, room acoustics, and instrument tuning: a 34.3 cm wavelength in air is 1,000 Hz.

  2. RF and wireless communications: Find frequency and wavelength for antenna sizing: a quarter-wave antenna for 100 MHz is about 0.75 m long.

  3. Mechanical engineering: Find the natural vibration frequency of a structure or part to avoid resonance that causes fatigue failure.

  4. Electrical power systems: Check AC frequency (50 Hz in most of Europe and Asia, 60 Hz in North America) and a period of 20 ms or 16.67 ms respectively. Pair it with the Simple Pendulum Calculator to find a pendulum period and the Velocity Calculator to work out wave speed.

Questions and Answers

Can this tool calculate the frequency of light and sound?

Yes, for both. For sound in 20°C air, enter \(v = 343\) m/s and the wavelength in meters. For light, enter \(v = 299{,}792{,}458\) m/s and the vacuum wavelength in meters. A 532 nm green laser pointer (\(5.32 \times 10^{-7}\) m) has \(f = 299{,}792{,}458 / (5.32 \times 10^{-7}) \approx 5.64 \times 10^{14}\) Hz, or 564 THz. In glass, light slows to about \(2 \times 10^8\) m/s and the wavelength shortens, but the frequency stays the same, so always pair the wave speed with the wavelength measured in that same medium.

How do I calculate frequency from the period?

Divide 1 by the period: \(f = 1/T\). A heart that beats once every 0.857 s has \(f = 1/0.857 \approx 1.17\) Hz, which is about 70 beats per minute. A 50 Hz power grid has a period of \(T = 1/50 = 0.02\) s (20 ms). The relationship is exact and works in both directions.

How is frequency measured across different fields?

Frequency is always in hertz, but the usual range depends on the field. Audible sound spans about 20 Hz to 20 kHz, and medical ultrasound uses roughly 2 to 18 MHz. AM radio uses 535 to 1,705 kHz in the US and FM uses 87.5 to 108 MHz. Wi-Fi uses 2.4 GHz and 5 GHz, and millimeter-wave 5G uses roughly 24 to 52 GHz. Visible light spans roughly 430 to 750 THz. AC power is 50 Hz in Europe, Asia, and Africa and 60 Hz in North America, with some regions using either.

What is a frequency calculator and when is it used?

A frequency calculator applies \(f = 1/T\) and \(f = v/\lambda\) to turn measured quantities into a frequency in hertz. You use it when frequency is hard to measure directly but the period or the wave parameters are easy to get, such as a pendulum timed with a stopwatch, an oscilloscope period readout, or an antenna wavelength from a datasheet. It serves both students of wave physics and engineers in RF, acoustics, and power systems.

What is the difference between Hertz and RPM?

Hertz counts cycles per second and RPM counts revolutions per minute, so \(f_{\text{Hz}} = \text{RPM} / 60\). A motor at 3,600 RPM turns at 60 Hz. For a synchronous AC motor, the speed is \(N = 120 f / p\), where \(p\) is the number of poles, so on a 60 Hz supply a 2-pole motor runs at 3,600 RPM and a 4-pole motor at 1,800 RPM. To go from hertz to RPM, multiply by 60.

What is the relationship between frequency and wavelength?

At a fixed wave speed, frequency and wavelength are inversely proportional: \(f \times \lambda = v\). For light in vacuum, \(v = c = 299{,}792{,}458\) m/s is fixed, so a higher frequency means a shorter wavelength. Red light at 700 nm has a frequency of about 428 THz, and violet light at 400 nm has about 749 THz. For sound in air, the same rule holds at about 343 m/s, which is why a 100 Hz bass note has a wavelength of 3.43 m and a 10 kHz treble note has only 3.4 cm.

Which formulas does this frequency calculator use?

The calculator uses two standard relations: \(f = 1/T\) for frequency from the period and \(f = v/\lambda\) for frequency from wave speed and wavelength. The hertz is defined in the SI Brochure (9th edition, 2019) as one cycle per second, and the speed of light is the exact SI value \(c = 299{,}792{,}458\) m/s, not a rounded one. The two relations are general physics and do not depend on a standard, so for sound and other media, supply the correct wave speed for your conditions.
Disclaimer: This calculator is designed to provide helpful estimates for informational purposes. While we strive for accuracy, financial (or medical) results can vary based on local laws and individual circumstances. We recommend consulting with a professional advisor for critical decisions.