Wavelength Calculator

Use this Calculator to quickly find wavelength, wave frequency, or wave velocity by entering any two values and using built-in presets for common materials.

How to Use the Calculator?

To use the calculator, simply choose a preset from the wave velocity list. These presets fill in the wave velocity for common cases such as light in vacuum, light in water, or sound in air, so you do not have to enter that value yourself. If you want to use your own number instead, choose Custom wave velocity and type it in manually.

After that, enter any two of the three main fields: wave velocity, wave frequency, or wavelength. The calculator will automatically find the missing value for you, making it easy to test different situations and compare how waves behave in different materials.

What Is Wavelength?

In simple words, a wave is a repeating disturbance that carries energy from one place to another.

If you look at a water wave, you will notice a pattern of high points and low points. In a transverse wave, the highest point is called a crest and the lowest point is called a trough.

The wavelength is the distance covered by one complete wave cycle. In other words, it is the distance from one crest to the next crest, or from one trough to the next trough.

wave amplitude wavelength crest trough

If the crests are close together, the wavelength is short. If the crests are farther apart, the wavelength is long.

longer and shorter wavelength

The Three Main Properties of a Wave

To understand wavelength properly, you must first grasp two other key properties of a wave: velocity and frequency. These three are tightly connected.

Wave Velocity

Wave velocity is how fast the wave travels. Its SI unit is metres per second ($\text{m/s}$).

If a sound wave moves through air, its velocity depends on the properties of air. If light moves through water or glass, its speed changes because different materials have different refractive indices. That means velocity is not always the same for every wave; it depends on both the type of wave and the medium through which it is moving.

Below is a table that lists the typical velocities of light and sound across various materials and temperatures.

Preset mediumTypical wave velocity
Light in vacuum$299{,}792{,}458\ \text{m/s}$
Light in air$299{,}700{,}000\ \text{m/s}$ approximately
Light in water$224{,}900{,}000\ \text{m/s}$ approximately
Light in glass$200{,}000{,}000\ \text{m/s}$ approximately
Sound in air at $20^\circ\text{C}$$343.3\ \text{m/s}$
Sound in air at $40^\circ\text{C}$$354.7\ \text{m/s}$
Sound in water at $20^\circ\text{C}$$1481\ \text{m/s}$
Sound in water at $40^\circ\text{C}$$1526\ \text{m/s}$
Sound in seawater at $20^\circ\text{C}$$1522\ \text{m/s}$
Sound in seawater at $40^\circ\text{C}$about $1563\ \text{m/s}$
Sound in rubberabout $1550\text{–}1830\ \text{m/s}$ depending on type
Sound in leadabout $2160\ \text{m/s}$
Sound in goldabout $3240\ \text{m/s}$
Sound in glassabout $3980\text{–}5640\ \text{m/s}$ depending on type
Sound in copperabout $4760\text{–}5010\ \text{m/s}$ depending on type
Sound in aluminumabout $6420\ \text{m/s}$

Notice the stark contrast: Light travels fastest in a vacuum and slows down in denser materials like water and glass. In contrast, sound requires a physical medium and actually travels much faster through dense solids like aluminum and glass than it does through air.

Wave Frequency

Frequency tells us how many complete waves pass a point every second. Its SI unit is hertz ($\text{Hz}$).

If a wave has a frequency of $10\ \text{Hz}$, that means $10$ complete waves pass in one second. A higher frequency means the wave cycles are happening more often.

Frequency is usually set by the source that produces the wave. If the source vibrates faster, the frequency becomes higher.

Wavelength

Wavelength, as discussed earlier, is the length of one complete cycle of the wave. Its SI unit is the metre. Wavelength works together with frequency in an interesting way. Let’s find out how.

The Main Formula for Wavelength

If a wave is traveling through the same medium, its speed usually stays constant. In that situation, wavelength and frequency are inversely related. This means that if the frequency increases, the wavelength decreases. If the frequency decreases, the wavelength increases.

relation between frequency and wavelength

So, more waves passing each second means each wave must be shorter, while fewer waves passing each second means each wave can be longer.

A simple way to picture this is by thinking about walking. If you take 2 steps per second (frequency) and each step is 1 meter long (wavelength), your speed is 2 meters per second. To go faster, you either have to take more steps per second or make each step longer.

The basic formula that connects these three quantities is:

$$v=f\lambda$$

In this equation, $v$ means wave velocity or wave speed, $f$ means frequency, and $\lambda$ (lambda) means wavelength.

This formula tells us that the speed of a wave is equal to its frequency multiplied by its wavelength. In other words, a wave moves faster when more wave cycles pass each second, when each wave is longer, or when both happen together.

If we want to find wavelength, we rearrange the formula like this:

$$\lambda=\frac{v}{f}$$

This tells us that the length of one wave is equal to the speed of the wave divided by the number of waves passing each second.

We can also rearrange the same relationship in another useful way to find frequency:

$$f=\frac{v}{\lambda}$$

Examples

Let us try several examples.

Example 1: Finding the Wavelength of a Sound Wave in Air

Problem: A sound wave traveling through air at 20°C has a frequency of 686 Hz. What is its wavelength?

Solution: First, we refer to the table to find the velocity ($v$) of sound in air at 20°C, which is 343.3 m/s. To find the wavelength ($\lambda$), we use the rearranged wave equation:

$$\lambda = \frac{v}{f}$$

Substituting the values gives:

$$\lambda = \frac{343.3}{686}$$

$$\lambda \approx 0.50 \text{ m}$$

So, the wavelength is about half a meter.


Example 2: Finding Frequency from Wavelength

Problem: Suppose a surface water wave travels with a speed of 2 m/s and has a wavelength of 0.5 m. What is its frequency?

Solution: To find the frequency ($f$), we use the formula:

$$f = \frac{v}{\lambda}$$

Now substitute the given values:

$$f = \frac{2}{0.5}$$

$$f = 4 \text{ Hz}$$

That means 4 complete waves pass a given point every second.


Example 3: Wavelength of Light in Water

Problem: A light wave moving through water has a frequency of $5 \times 10^{14}$ Hz. What is its wavelength?

Solution: Checking the table, the typical velocity of light in water is approximately 224,900,000 m/s (or $2.249 \times 10^8$ m/s). Using the wavelength formula:

$$\lambda = \frac{v}{f}$$

$$\lambda = \frac{2.249 \times 10^8}{5 \times 10^{14}}$$

$$\lambda \approx 4.50 \times 10^{-7} \text{ m}$$

This can also be written as 450 nm, where nm means nanometer.


Example 4: Same Frequency, Different Medium

Problem: Imagine a sound wave with a frequency of 500 Hz. How does its wavelength compare when it travels through air at 20°C versus when it travels through water at 20°C?

Solution: First, we look up the speed of sound for both media in the table.

For air at 20°C, the speed is 343.3 m/s, so:

$$\lambda = \frac{343.3}{500}$$

$$\lambda \approx 0.687 \text{ m}$$

For water at 20°C, the speed is 1481 m/s, so:

$$\lambda = \frac{1481}{500}$$

$$\lambda = 2.962 \text{ m}$$

Notice what happened: The frequency stayed exactly the same, but the wavelength became much larger in water because the wave speed in water is much greater. This example shows that wavelength is not just about the source; it depends heavily on the medium.


Example 5: Finding Frequency in a Solid

Problem: An engineer is testing an aluminum structure using acoustic sound waves. If they need the sound wave to have a wavelength of 1.5 m within the metal, what frequency must their equipment generate?

Solution: According to the table, the typical velocity of sound in aluminum is about 6420 m/s. To find the required frequency, we rearrange the wave equation:

$$f = \frac{v}{\lambda}$$

Substituting the known values:

$$f = \frac{6420}{1.5}$$

$$f = 4280 \text{ Hz}$$

The equipment must be set to generate a frequency of 4280 Hz.


Example 6: High-Frequency Waves in Seawater

Problem: A sonar device emits a sound wave with a frequency of 15,000 Hz. What is the wavelength of this sound wave as it travels through seawater at 40°C?

Solution: Looking at the table, the speed of sound in seawater at 40°C is about 1563 m/s. To find the wavelength, we use:

$$\lambda = \frac{v}{f}$$

$$\lambda = \frac{1563}{15000}$$

$$\lambda \approx 0.104 \text{ m}$$

The wavelength is just over 10 centimeters. This demonstrates how ships and submarines use relatively short wavelengths to map the ocean floor and detect objects!

Amrit Prabhu

Amrit Prabhu

Amrit is an Electronics Engineer who loves making complex programming and hardware concepts accessible. He has more than 15 years of experience, having worked as a Senior Programmer Analyst at Mindtree Ltd. and Symantec on major projects like Windows 8, Wolters Kluwer CCH and NSE. Since 2018, he has authored hundreds of tutorials and guides for Last Minute Engineers, helping readers master everything from basic circuits to IoT. You can find him on LinkedIn