FireCADCalc

Radar and Ultrasonic Level from Time of Flight

Level in a tank from the echo time of a radar or ultrasonic level transmitter, with the speed of sound in air from temperature for ultrasonic devices.

Thermal power plantProcess steam and utilitiesRefinery and petrochemicalChemical and fertiliser

Inputs

Examples: Ultrasonic, 23 ms at 40 °C, 6 m tankRadar, 30 ns echo, 6 m tankUltrasonic, 10 ms at 0 °C, 3 m sump

Results

Wave speed used331.38m/s
Distance to the surface c t / 21.6569m
Level above the bottom1.3431m

Download PDF CSV Link to this result Compare another case

Log in to save calculations to your dashboard.

Worked example

Example: Ultrasonic, 23 ms at 40 °C, 6 m tank. The inputs, in the units selected above:

InputValue
DeviceUltrasonic in air (speed of sound at the temperature below)
Echo time (there and back)0.023000 s
Air temperature above the liquid (ultrasonic)40.000 °C
Distance from the sensor face to the tank bottom6.0000 m

Applying the formula below gives:

ResultValue
Wave speed used354.68 m/s
Distance to the surface c t / 24.0788 m
Level above the bottom1.9212 m

Open this example in the calculator and change any input.

Formula

\(d = \frac{c\, t}{2}, \quad L = H - d, \quad c_{air} = \sqrt{\gamma\, \frac{R}{M} T}, \quad \gamma = \frac{c_p}{c_p - R/M}\)

Variables

Symbol Meaning SI unit
\(\text{device}\) Device -
\(t\) Echo time (there and back) s
\(T\) Air temperature above the liquid (ultrasonic) K
\(H\) Distance from the sensor face to the tank bottom m
\(c\) Wave speed used m/s
\(d\) Distance to the surface c t / 2 m
\(L\) Level above the bottom m

Method and standards

Echo travel time.

Where it is used

  • Level transmitter checks.
  • Open channel and sump level.

Common mistakes

  • Ignoring the dead band near the sensor.
  • No temperature compensation for ultrasonic.

Assumptions and limits

  • Dry air for ultrasonic; clear echo. Solvent or water vapour in the headspace changes the speed of sound (often by several per cent); there is no input for it, so use a reference target or the instrument's compensation.

References

  • Time of flight d = c t / 2; speed of sound in dry air √(γ R T / M) with c_p from NIST Shomate data

Questions and answers

What level does a 23 ms ultrasonic echo give in a 6 m tank at 40 °C?

Sound travels about 355 m/s at 40 °C, so the surface is about 4.08 m down and the level about 1.92 m.

Why compensate temperature?

Speed of sound rises about 0.17 % per kelvin.

Is radar affected?

Hardly; it travels at the speed of light, only slowed slightly by dense vapours.

Method and article reviewed by FireCAD engineering on 12 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.

Related calculators

Free engineering calculators: every page computes in SI and converts to your units. Results are for engineering estimation; verify critical designs against the referenced standards.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.