ForHosting KIT · Developer Utilities

Closed pipe fundamental frequency calculator

This closed pipe fundamental frequency calculator finds the lowest resonant frequency of an ideal air column with one end closed and the other end open.

● BetaFree · in your browser
Use it from WebAPIEmailTelegramApp soon

Enter the speed of sound and the pipe length in compatible units, and the calculator applies speed divided by four times length. The result includes the fundamental frequency, the corresponding wavelength, the normalized inputs, and the formula used. It is useful for acoustics exercises, instrument estimates, laboratory planning, and quick engineering checks where an ideal quarter-wave model is appropriate.

Understand the quarter-wave model

A pipe closed at one end and open at the other supports a displacement node at the closed boundary and a displacement antinode near the open boundary. The shortest standing-wave pattern that satisfies those boundary conditions occupies one quarter of a wavelength inside the idealized air column. Therefore the fundamental wavelength is four times the pipe length, and frequency is the speed of sound divided by that wavelength: f = v/(4L). This calculator applies exactly that relationship. It does not calculate the higher odd resonances, choose an end condition, or infer environmental properties. That narrow scope makes the result easy to inspect and suitable for a direct check of textbook work. The model treats the stated pipe length as the effective acoustic length. In a physical pipe, the pressure and displacement patterns extend slightly beyond the open end, so a measured resonance may differ unless an end correction has already been included in the length. Use the output as an ideal fundamental rather than a promise of exact behavior from every real tube.

Choose compatible inputs and interpret the result

Enter a positive speed of sound and a positive pipe length. The most familiar combination is metres per second for speed and metres for length, which produces frequency in reciprocal seconds, or hertz. Compatible alternative units also work mathematically: centimetres per second paired with centimetres still produces hertz. Do not mix metres per second with a length entered in centimetres unless you first convert one of them. At ordinary indoor conditions, 343 m/s is often used as an approximate speed of sound in dry air, but temperature, humidity, gas composition, and pressure conditions can affect the appropriate value. Supplying the speed explicitly lets you use a value matched to your situation instead of hiding an environmental assumption. The response repeats both inputs, reports the fundamental wavelength as 4L, and gives the fundamental frequency. A longer pipe lowers the frequency in inverse proportion: doubling length halves the result. A higher sound speed raises frequency in direct proportion: increasing speed by two percent increases the calculated fundamental by two percent.

Apply the calculation responsibly

Use this calculator when the air column is reasonably represented by one rigid closed end, one open end, uniform cross-section, and negligible losses. It is well suited to teaching demonstrations, approximate stopped-pipe design, resonance-tube experiments, and validation of calculations in code or spreadsheets. For laboratory comparisons, record how the pipe length was measured and how the sound speed was obtained. Then compare observed peaks with the ideal result while considering open-end correction, temperature gradients, bore shape, wall compliance, and measurement uncertainty. A pipe that is open at both ends follows a half-wave fundamental and needs a different equation, so verify the boundary conditions before using this result. The same warning applies to cavities, conical bores, side holes, and coupled resonators, whose effective acoustic geometry may not match a simple cylinder. The API charges $0.002 per request and returns deterministic JSON, making it convenient for repeatable automated checks. Invalid, missing, zero, negative, or non-finite inputs are rejected rather than producing a misleading number.

Check an acoustics exercise

Verify the quarter-wave fundamental obtained from a stated sound speed and closed-open air-column length.

Plan a resonance-tube experiment

Estimate the lowest resonance before selecting a microphone, signal range, or data-acquisition setup.

Estimate a stopped pipe

Relate a target low frequency to the ideal acoustic behavior of a pipe with one closed end.

What equation does the calculator use?

It uses f = v/(4L), where v is sound speed and L is the effective length of the closed-open air column.

What units should I use?

Use compatible units. Metres per second with metres gives frequency in hertz; centimetres per second with centimetres does too.

Why is the wavelength four times the pipe length?

The fundamental standing wave has a node at the closed end and an antinode at the open end, spanning one quarter wavelength.

Does this include open-end correction?

No. The formula treats pipe_length as the effective acoustic length. Apply an appropriate correction before submitting the length if your model requires one.

How much does an API request cost?

Each API request costs $0.002.

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/optics/closed-pipe-fundamental

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/optics/closed-pipe-fundamental \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"speed_of_sound":343,"pipe_length":0.5}'
{
  "speed_of_sound": 343,
  "pipe_length": 0.5
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "optics.closed_pipe_fundamental",
  "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.

Read the full KIT documentation →