Advanced Ultrasonic Distance Calculator

Calculate target distance, pulse travel, and velocity. Use smart compensation, conversions, graphing, exports, and validation. Build faster, clearer, more confident ultrasonic measurement workflows today.

Ultrasonic Calculator Inputs

Air calculations use a practical approximation that adjusts sound speed for temperature and humidity. Solid and liquid presets use typical engineering reference values.

Example Data Table

Case Mode Medium Temperature TOF Angle Offset Reference Distance
Air target Pulse-Echo Air 20 °C / 50% 3000 µs 0 m 0.516 m
Angled scan One-Way Air 25 °C / 60% 1200 µs 10° 0.01 m 0.420 m
Water path Pulse-Echo Water 20 °C 800 µs 0 m 0.593 m
Steel inspection Pulse-Echo Steel 20 °C 100 µs 30° 0 m 0.258 m

Formula Used

Pulse-Echo Distance
Distance = (c × t) / 2
One-Way Distance
Distance = c × t
Air Speed Approximation
c ≈ 331.3 + (0.606 × T) + (0.0124 × RH)
Angle and Offset Correction
Perpendicular Distance = Beam Path × cos(θ)
Reference Distance = Perpendicular Distance + Sensor Offset

Here, c is sound speed, t is time of flight, T is temperature in °C, RH is relative humidity in percent, and θ is beam angle from the normal direction.

How to Use This Calculator

  1. Select whether you want distance, time, or sound speed.
  2. Choose the measurement mode: pulse-echo or one-way.
  3. Select a preset medium or enter a custom sound speed.
  4. Enter environmental conditions for air or water use cases.
  5. Provide time of flight, known distance, or both, depending on the selected calculation type.
  6. Apply beam angle and sensor offset when your setup is not perfectly normal or the sensing face is not your reference plane.
  7. Press Calculate to show the result above the form.
  8. Use the graph and export buttons to document the measurement.

Frequently Asked Questions

1. What is pulse-echo mode?

Pulse-echo mode sends a pulse to the target and listens for the return echo. The sound travels to the target and back, so the time path is doubled.

2. When should I use one-way mode?

Use one-way mode when separate transmitter and receiver positions are used, or when your system measures direct travel without a returning echo.

3. Why does temperature matter?

Temperature changes the speed of sound, especially in air. Even modest temperature shifts can introduce noticeable distance error over longer travel paths.

4. Why is humidity included for air measurements?

Humidity slightly changes air density and sound speed. The correction is smaller than temperature correction, but it can still improve repeatability in careful measurements.

5. What does beam angle correction do?

An angled beam travels farther than the perpendicular stand-off distance. The calculator converts beam path length into the shorter normal distance using the cosine relationship.

6. When should I use custom sound speed?

Use a custom value when your transducer, material, mixture, or calibration certificate gives a measured sound speed different from the listed presets.

7. What is sensor offset?

Sensor offset accounts for physical spacing between the sensing face and the real measurement reference point, such as a bracket edge or mounting plane.

8. How accurate are the results?

Accuracy depends on timing resolution, alignment, medium stability, transducer calibration, and environmental compensation. Treat results as engineering estimates unless validated against known references.

Related Calculators

torque to force calculatorpneumatic cylinder force calculatordynamic force calculatorstepper motor speed calculatorrobot speed calculatorforward kinematics calculatorservo motor torque calculatorlinear actuator force calculatoractuator stroke length calculatorrobot arm torque calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.