ForHosting KIT · Developer Utilities

Acoustic impedance calculator

The acoustic impedance calculator takes two properties of a medium — its density in kilograms per cubic metre and the speed of sound through it in metres per second — and returns the specific acoustic impedance Z = ρ·c in Rayls (pascal-seconds per metre).

● BetaFree · in your browser
Use it from WebAPIEmailTelegramApp soon

This single number tells you how much pressure a medium pushes back with when a sound wave moves through it, and it is the deciding factor in how much sound crosses a boundary between two materials and how much bounces back. It is a one-call answer to a computation that acoustics, ultrasound and audio engineering reach for constantly.

What acoustic impedance actually measures

Acoustic impedance is the acoustic analogue of electrical resistance: it relates the pressure a sound wave exerts to the particle velocity it produces in the medium. For a plane travelling wave the specific acoustic impedance reduces to a beautifully simple product, Z = ρ·c, where ρ is the density of the medium and c is the speed of sound in it. Dense, stiff media like steel have impedances in the tens of millions of Rayls, while air at room temperature sits around four hundred. That gap — five orders of magnitude — is why you cannot hear a conversation through a wall clearly, why ships are hard to detect with air-coupled sonar, and why a stethoscope chest piece must sit flush against skin. The acoustic impedance calculator computes this product directly from the two material properties you supply, validates that both are positive physical quantities, and returns the result in Rayls with the full working shown step by step.

How the computation works

You send a density and a sound speed, either as numbers or as numeric strings, and the endpoint coerces them to finite values within generous absolute limits. Both must be strictly positive: a zero or negative density means there is no medium to speak of, and a zero sound speed means the medium transmits no sound, so the calculator rejects those cases with a clear error rather than returning a misleading zero. The product ρ·c is then computed and rounded to a fixed number of decimal places so the answer is byte-stable across machines — the same input always produces exactly the same JSON, which matters when you cache results or compare outputs in a test suite. The response includes the impedance in Rayls along with its SI equivalent unit (Pa·s/m), the echoed and validated inputs, the formula used, and a human-readable message. There is no randomness, no clock, and no network call anywhere in the path, so the result is fully deterministic and safe to reproduce offline.

Where impedance matching decides everything

Whenever sound meets a boundary between two media, the fraction of energy reflected is governed by the ratio of their impedances: matched impedances transmit, mismatched ones reflect. Medical ultrasound exploits this — the gel smeared on skin exists solely to bridge the impedance gap between the transducer and the body, because without it nearly all the energy would reflect off the air gap. Sonar designers compare the impedance of seawater against hull materials, loudspeaker engineers match driver cones to air with horns, and noise-control specialists choose wall layers whose impedance transitions trap sound instead of passing it. Having a quick, trustworthy way to turn a datasheet's density and sound speed into Rayls is the first step in every one of those workflows. This capability runs on our global edge, keeps nothing after the call, and the very same code runs free in your browser on this page — you only pay, $0.002 per request, when you automate it through the API.

Design ultrasound coupling

Check the impedance gap between a transducer material, coupling gel and human tissue before choosing a matching layer.

Estimate reflection at a boundary

Compute the impedance of two media from their datasheets and feed the ratio into a reflection-coefficient estimate.

Teach acoustics with live numbers

Let students plug densities and sound speeds for air, water and steel and see Rayls values that explain why sound behaves so differently across them.

What does it cost?

$0.002 per request via the API. It is also free to run in your browser on this page.

What is a Rayl?

The Rayl is the unit of specific acoustic impedance, equal to one pascal-second per metre (Pa·s/m), or equivalently kg/(m²·s). It is named after Lord Rayleigh.

Why was my input rejected?

Both density and sound speed must be finite, strictly positive numbers. Zero, negative, missing or non-numeric values are rejected because they are not physical for this model.

Which impedance does this compute?

The specific acoustic impedance of the medium for a plane travelling wave, Z = ρ·c. It does not model the impedance of a particular geometry such as a pipe or horn.

What are typical values?

Air near 20 °C is about 413 Rayls (ρ ≈ 1.204 kg/m³, c ≈ 343 m/s), water around 1.48 million Rayls, and steel tens of millions.

Is my data stored?

No. The two numbers are processed and discarded; only the computed result is returned.

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/acoustic-impedance

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/acoustic-impedance \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"density":1.204,"sound_speed":343}'
{
  "density": 1.204,
  "sound_speed": 343
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "phys.acoustic_impedance",
  "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.

max_abs1000000000000
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 →