ForHosting KIT · Science

Sound wavelength calculator

Concert A at 440 Hz in room air, where sound travels at 343 m/s, has a wavelength of about 0.78 m. Enter the frequency and the speed of sound in your medium to get the wavelength and the period of one cycle. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Frequency
440
Speed
343
You get
Wavelength
0.7795454545
Period
0.0022727273

The wavelength of a sound wave is the distance between one compression and the next as the wave travels through a medium. Anyone who sizes a speaker, a room, an organ pipe, or a sonar pulse eventually needs that length in metres, not a hand-wavy guess. This sound wavelength calculator applies the travelling-wave identity λ = v / f: you supply a strictly positive frequency in hertz and the speed of sound in the medium in metres per second, and you receive the wavelength in metres.

What sound wavelength is and why λ equals v over f

A travelling sound wave is a periodic sequence of compressions and rarefactions that move through a fluid or a solid at a characteristic speed. Frequency f tells you how many of those cycles pass a fixed point each second; wavelength λ tells you how far the wave travels during one cycle. Their product is the speed of sound in that medium: v = f λ, which rearranges to the calculator identity λ = v / f.

Nothing in that identity is optional. If you omit the speed you are silently assuming a medium, and air, water, and steel differ by a factor of four to twenty. Typical classroom values are about 343 metres per second for dry air near twenty degrees Celsius, about 331 metres per second at freezing, about 1480 metres per second in fresh water, and several kilometres per second in metals.

Concert A at 440 hertz therefore occupies roughly 0.78 metres in room air and more than three metres in water. That scale is why underwater speech sounds odd, why organ pipes and speaker cabinets are sized to a specific λ, and why the first axial mode of a rectangular room is half a wavelength long. If you measured speed in kilometres per hour or frequency in kilohertz, convert first.

Input contract, units, and what happens when frequency is not positive

Frequency must be strictly positive. Zero would be a division by zero; a negative cycle rate is not a physical sound pitch, so the task fails instead of returning a signed or infinite wavelength. Speed of sound must also be strictly positive: a non-positive propagation speed is non-physical for a bulk medium.

On success the body includes wavelength in metres, the echoed frequency and speed, period equal to one over frequency in seconds, a formula string restating λ = v / f, and a units object that labels metres, hertz, metres per second, and seconds. Example: frequency 440 hertz and speed 343 metres per second (concert A in dry air near 20 °C) yields wavelength 343/440 metres, a little under 80 centimetres, with period 1/440 seconds.

Where knowing a sound's wavelength pays off

Architectural acoustics uses wavelength to place the first axial modes of a room: a 17-metre hall at 20 hertz in air is already on the order of a wavelength, which is why bass traps and modal colouration show up at low frequencies first. Loudspeaker and microphone designers convert a target band into a physical length so a port, a waveguide, or a dipole spacing is not accidentally a half-wave resonator at the worst frequency.

Physics classrooms and lab courses ask for λ from a tuning fork and a stated speed of sound; a deterministic oracle that rejects non-positive frequency is more honest than a spreadsheet that prints Infinity. Sonar and underwater-audio pipelines must not assume 343 metres per second: the same 1 kilohertz tone is about 34 centimetres in air and about 1.5 metres in water, and that factor of four changes pulse length and array spacing. Failed validation does not consume balance.

Keep frequency in hertz and speed in metres per second, pin the rounded metres in tests, and you get a reproducible sound wavelength for homework, LMS plugins, and edge workers without standing up a computer-algebra system of your own.

Room modes and architectural acoustics

Convert a target bass frequency and the local speed of sound into a wavelength in metres so the first axial modes of a hall, studio, or car cabin can be placed on a drawing.

Speaker, port, and pipe sizing

Turn a design frequency into a physical length for ports, quarter-wave pipes, organ ranks, and dipole spacings without mixing kHz and m/s by hand.

Classroom, lab, and sonar checks

Grade tuning-fork worksheets or size an underwater pulse from frequency and the speed of sound in air or water, with non-positive frequency rejected instead of Infinity.

How is the wavelength of a sound wave calculated?

Send a strictly positive frequency in hertz and the speed of sound in the medium in metres per second.

What happens if frequency is not positive?

Wavelength is undefined when frequency is zero or negative; a non-positive cycle rate is not a physical sound pitch.

What speed of sound should I use?

Use the speed in YOUR medium in metres per second. Dry air near 20 °C is about 343 m/s; fresh water is about 1480 m/s. This calculator does not assume air.

What units does the sound wavelength calculator return?

Wavelength is in metres, frequency is echoed in hertz, speed in metres per second, and period in seconds. Convert kHz or km/h before you call.

Why is the same note so much longer underwater?

Because sound travels at about 1480 m/s in fresh water against 343 m/s in air. At the same frequency the wavelength grows with the speed, so concert A is about 0.78 m long in room air and more than three metres in water.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/phys/sound-wavelength

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/phys/sound-wavelength \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"frequency":440,"speed":343}'
{
  "frequency": 440,
  "speed": 343
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "phys.sound_wavelength",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Frequency that is zero or negative is rejected with invalid_input, because a non-positive cycle rate does not define a spatial period.

What sound wavelength is and why λ equals v over f

This endpoint does not pick a default medium and does not convert units: frequency is in hertz, speed is in metres per second, and wavelength is returned in metres.

Input contract, units, and what happens when frequency is not positive

POST a JSON body with two required finite numbers: frequency in hertz, and speed as the speed of sound in the medium in metres per second. Frequency also accepts the aliases f and freq; speed also accepts speed_of_sound and v. Each field may arrive as a JSON number or as a numeric string; missing fields, empty strings, non-finite values, and magnitudes above 1e15 fail with invalid_input naming the field, and those failures are not billed. Pair the metres result with your own drawing of a sine or of a room mode if you need a sketch; this endpoint solves for wavelength only and does not emit plots, standing-wave node lists, or Doppler corrections.

What does the sound wavelength calculator cost?

The browser tool is free. API requests use prepaid balance at $0.002 per successful call; invalid input is not billed.

Read the full KIT documentation →