Wavelength of a musical note calculator
A musical note is a repeating pressure wave, and its wavelength tells you the physical distance occupied by one complete cycle as sound travels through air.
Run — free
Enter the note frequency in hertz and, if needed, adjust the speed of sound for your conditions. The calculator divides the speed of sound by frequency and returns the wavelength in metres and centimetres. It is useful for music acoustics, instrument experiments, room studies, speaker placement exercises, and science lessons. The browser calculation is free, while API requests use the published base price of $0.002 per successful item.
How frequency becomes a wavelength in air
Frequency describes how many complete pressure cycles a musical sound produces each second. It is measured in hertz, so a frequency of 440 Hz means that 440 cycles pass a fixed point every second. Wavelength describes the distance between matching points on consecutive cycles, such as one compression peak and the next. These quantities are connected by the speed at which sound travels. The formula is wavelength equals speed of sound divided by frequency. With the default air speed of 343 metres per second, concert A at 440 Hz has a wavelength of about 0.7795 metres, or 77.95 centimetres. Lower notes have longer wavelengths because fewer cycles must fill the distance sound covers during one second. Higher notes have shorter wavelengths because more cycles fit into that same distance. This calculator performs only that direct physical relationship. It does not identify a note name, estimate tuning temperament, model harmonics, or infer environmental conditions. Supply the frequency that matters to your problem, choose an appropriate sound speed, and interpret the returned length as one cycle of that frequency in air. The calculation is deterministic, so repeating the same inputs always gives the same result.
Choosing frequency and the speed of sound
Enter frequency in hertz as a positive finite number. You can obtain it from a tuner, spectrum analyser, signal generator, note-frequency table, or the specification of a test tone. Use the fundamental frequency when you want the wavelength associated with the perceived note, and enter a harmonic frequency separately when you want the wavelength of that partial. The default speed of sound is 343 metres per second, a commonly used approximation for ordinary indoor air near room temperature. Actual sound speed changes mainly with temperature and, to a smaller extent for many practical exercises, humidity and air composition. If a laboratory sheet, acoustics standard, or environmental calculation supplies another value, enter it in metres per second rather than accepting the default. Both inputs must be greater than zero. Zero or negative frequency does not describe a usable periodic musical wave for this calculator, and a nonpositive propagation speed cannot produce the requested physical length. Keep the units consistent: convert kilohertz to hertz before entry, and convert any speed stated in feet per second if you want an SI result. The output echoes the accepted frequency and speed, making it easier to spot an accidental unit conversion before using the wavelength in later work.
Reading and applying the calculated wavelength
The result includes wavelength in metres and centimetres, along with the frequency, speed of sound, and formula used. Metres are convenient for room acoustics and low musical notes, while centimetres make shorter wavelengths easier to compare with instrument parts, microphone spacing, or small experimental setups. A wavelength is not automatically the required length of a pipe, string, or resonator. Boundary conditions matter: an open pipe, a closed pipe, a vibrating string, and an acoustic cavity support different relationships between physical dimensions and modal wavelengths. Likewise, the direct distance between two loudspeakers is not a complete prediction of interference because phase, direction, reflections, and listener position also contribute. Use this value as the foundational length for one airborne cycle, then apply the appropriate acoustics model for the device or space you are studying. The deterministic API is suitable for worksheets, educational apps, tuning references, batch note tables, and repeatable test fixtures. Invalid input returns an explicit error instead of infinity or a misleading number, and failed validation is not a successful billable calculation. Interactive browser use is free; each successful API item uses the displayed base price of $0.002.
What you can do with it
Music acoustics lessons
Show how low and high pitches occupy different physical distances in air by comparing wavelengths for note frequencies.
Instrument and room experiments
Find the airborne wavelength to use as a starting point when studying resonance, standing waves, reflections, or spacing.
Frequency-table automation
Generate repeatable metre and centimetre values for note tables, educational software, lab reports, or automated checks.
FAQ
What formula calculates the wavelength of a musical note?
The calculator uses wavelength = speed of sound / frequency. Enter speed in metres per second and frequency in hertz to obtain metres.
Why does the calculator default to 343 m/s?
343 m/s is a common approximation for sound in air near room temperature. You can replace it when your environment or source specifies another value.
What is the wavelength of A4 at 440 Hz?
At 343 m/s, A4 has a wavelength of approximately 0.7795 metres, or 77.95 centimetres.
Does wavelength determine an instrument's exact dimensions?
No. Instrument dimensions also depend on boundary conditions, resonator type, end corrections, materials, and which vibration mode is used.
Is this musical-note wavelength calculator free?
The browser calculator is free. Successful API requests use KIT balance at the published base price of $0.002; invalid inputs are not charged.
For developers — API access
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.
API endpoint
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.
Call it from your stack
curl -X POST https://api.kit.forhosting.com/optics/wavelength-of-musical-note \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"frequency":440}'const res = await fetch("https://api.kit.forhosting.com/optics/wavelength-of-musical-note", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"frequency": 440
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/optics/wavelength-of-musical-note",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"frequency": 440
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/optics/wavelength-of-musical-note", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"frequency":440}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"frequency":440}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/optics/wavelength-of-musical-note", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"frequency": 440
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "optics.wavelength_of_musical_note",
"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.
Pricing
Published price — no tokens, no invented credits. A failed task is never charged.
Errors
| HTTP | Code | Meaning |
|---|---|---|
401 | unauthorized | Missing or invalid API key. |
402 | insufficient_balance | Your balance doesn't cover the task price. |
404 | unknown_type | That task type doesn't exist. |
429 | rate_limited | Too many requests. Use the webhook instead of polling. |