TOFD Flaw Depth Calculator

Calculate TOFD flaw depth, through-wall height and the expected lateral wave and back wall arrival times from PCS, velocity and time of flight.

The TOFD Flaw Depth Calculator turns the arrival time of a diffracted signal into the depth of the flaw tip below the scanning surface. It also sizes through-wall flaw height from the upper and lower tip signals, and predicts when the lateral wave and the back wall echo should arrive. It is for time-of-flight diffraction (TOFD) weld inspection. Set the probe spacing first with the TOFD PCS Calculator.

Who This Calculator Helps

  • TOFD technicians and Level II/III personnel: read a depth off the A-scan quickly, or check an instrument’s reading by hand.
  • Report reviewers and QA staff: verify a reported flaw depth or height from the recorded times, PCS and velocity.
  • Procedure writers and NDT engineers: see how errors in PCS, velocity or delay move the reported depth before they set tolerances.
  • Technicians setting up a scan: find where the lateral wave and the back wall echo should appear, so velocity and delay can be checked against the live signal.
  • Students and trainees: see how time, spacing and depth connect in a TOFD setup.

Typical Applications

  • Thick-wall weld inspection on pressure vessels and pipelines: locate where in the wall a diffracting tip sits.
  • Sizing planar flaws: subtract the upper tip depth from the lower tip depth to get the through-wall height.
  • Checking a scan setup: compare the expected lateral wave and back wall times with what the instrument shows, to confirm velocity and delay before reporting any depth.
  • Reviewing recorded data: recompute a depth by hand from the stored times when a result is questioned.

What Each Input Means and Why It Matters

  • Probe Center Spacing (PCS). The distance between the two probe index points. The tip is assumed to sit midway between them, so each probe is $S = PCS/2$ from the centerline. A larger PCS shifts every depth, and an error in PCS shows up directly in the reported depth (see the sensitivity table below).
  • Longitudinal Velocity. TOFD uses high-angle refracted longitudinal waves, so the velocity is the longitudinal (compression) velocity, in m/s. Entering the shear velocity, which is roughly half as large, gives a wrong result. Velocity is always in m/s, whichever length unit you choose.
  • Total Delay. The time between the transmit pulse and the sound entering the material. It covers both wedges and the instrument zero. The instrument starts timing at the transmit pulse, so this delay must be subtracted before depth is calculated. A small delay error produces a large depth error.
  • Measured Time of Flight. The arrival time of the diffracted signal on the A-scan, measured from the transmit pulse.
  • Upper and Lower Tip Times. For flaw height: the arrival times of the diffracted signals from the top and bottom of the flaw. The lower tip always arrives later.
  • Wall Thickness. Used only for the expected back wall arrival time.

The Formulas: Depth, Height and Arrival Times

With the tip on the centerline, the sound travels from the transmitter down to the tip and up to the receiver. Each leg is the hypotenuse of a right triangle with sides $S$ and $d$, so the total path is $2\sqrt{S^2 + d^2}$. Setting that equal to the velocity times the corrected time and solving for $d$:

$$ d = \sqrt{\left(\frac{c \cdot t}{2}\right)^2 - S^2}, \qquad t = t_{measured} - t_{delay}, \qquad S = \frac{PCS}{2} $$

Flaw height is the difference between the lower and upper tip depths:

$$ h = d_{lower} - d_{upper} $$

The expected arrival times, including the delay, are:

$$ t_{lateral} = \frac{PCS}{c} + t_{delay}, \qquad t_{backwall} = \frac{2\sqrt{S^2 + T^2}}{c} + t_{delay} $$

Where:

  • $d$ = depth of the diffracting tip below the scanning surface.
  • $c$ = longitudinal wave velocity.
  • $t$ = corrected time of flight (measured time minus total delay).
  • $S$ = half the probe center spacing.
  • $T$ = wall thickness.
  • $t_{delay}$ = total delay of both wedges plus the instrument zero.

To calibrate the delay on the lateral wave, a common approach is to read the measured lateral wave arrival and set $t_{delay} = t_{lateral,measured} - PCS/c$, treating the lateral wave as travelling at velocity $c$ between the index points. Check this against your procedure.

Diagram: Geometry Behind the Depth Formula

TOFD geometry showing transmitter, receiver, probe center spacing PCS, half spacing S, flaw tip depth d and the two equal path legs PCS S S T R lateral wave back wall flaw tip d c·t/2
Transmitter T and receiver R sit a distance S either side of the centerline. The two dashed legs are equal, each of length c·t/2. Depth d follows from the right triangle formed by S, d and one leg.

Step-by-Step Calculation Example

A 25 mm wall is scanned with a PCS of 60 mm, a longitudinal velocity of 5900 m/s and a total delay of 2.0 µs. These are the default values in the calculator above.

  1. Convert the velocity: $c = 5900\text{ m/s} = 5.9\text{ mm/µs}$. Half the spacing is $S = 30\text{ mm}$.
  2. Depth of a tip arriving at 13.4 µs. Corrected time $t = 13.4 - 2.0 = 11.4\text{ µs}$. One leg is $c \cdot t/2 = 5.9 \times 11.4 / 2 = 33.63\text{ mm}$. $$d = \sqrt{33.63^2 - 30^2} = \mathbf{15.20\text{ mm}}$$
  3. Flaw height from two tips (13.4 µs and 14.6 µs). The lower tip has $t = 12.6\text{ µs}$, so one leg is $37.17\text{ mm}$ and $d = \sqrt{37.17^2 - 30^2} = 21.95\text{ mm}$. $$h = 21.95 - 15.20 = \mathbf{6.75\text{ mm}}$$
  4. Expected arrivals: the lateral wave is at $60/5.9 + 2.0 = \mathbf{12.17\text{ µs}}$ and the back wall at $2\sqrt{30^2 + 25^2}/5.9 + 2.0 = \mathbf{15.24\text{ µs}}$. Flaw signals are normally found in the 3.07 µs between them.

How Time Maps to Depth, and How Errors Spread

Time and depth are not linear. Same setup as above (PCS 60 mm, 5900 m/s, delay 2.0 µs):

Measured timeDepth
12.4 µs6.42 mm
12.8 µs10.73 mm
13.4 µs15.20 mm
14.4 µs20.93 mm
15.2 µs24.83 mm

Between 12.4 and 12.8 µs the depth changes by about 10.8 mm per µs. Between 14.4 and 15.2 µs it changes by about 4.9 mm per µs. A small timing error therefore matters much more near the surface.

Effect of an error in one input on a tip measured at 13.4 µs (true values: PCS 60 mm, 5900 m/s, delay 2.0 µs, true depth 15.20 mm):

Input errorReported depth
PCS 58 mm instead of 60 mm17.03 mm
PCS 62 mm instead of 60 mm13.04 mm
Velocity 5800 m/s instead of 5900 m/s13.89 mm
Velocity 6000 m/s instead of 5900 m/s16.42 mm
Delay 1.5 µs instead of 2.0 µs18.23 mm
Delay 2.5 µs instead of 2.0 µs11.57 mm

A delay error of only 0.5 µs moves the depth by about 3 mm here, which is why velocity and delay should be confirmed before any depth is reported.

Practical Field Notes

  • Use the longitudinal velocity. TOFD relies on refracted longitudinal waves in pitch-catch mode. A shear velocity, roughly half as large, gives a wrong depth, or no solution at all.
  • Prove velocity and delay first. Compare the expected lateral wave and back wall times with the live signal. If both are off by the same amount, suspect the delay. If the gap between them is off, suspect velocity or PCS.
  • Delay errors are expensive. In the example, 0.5 µs of delay error changes the depth by about 3 mm. Calibrate it, do not estimate it.
  • Near-surface depths are the least certain. The time-to-depth curve is steep there, so small timing or PCS errors become large depth errors.
  • The lateral wave hides what is just under the surface. Signals that arrive close to the lateral wave fall in the dead zone it masks, so very shallow flaws can be missed.
  • Measure PCS between index points, not wedge edges. The index points are where the sound actually leaves and enters the part.

Limitations & Assumptions

  • The tip is assumed to lie on the centerline midway between the probes. A flaw offset from the centerline gives an apparent depth that differs from the true depth.
  • Flat plate, constant velocity, straight-line paths.
  • The lateral wave is treated as travelling at the longitudinal velocity between the index points when estimating delay.
  • Beam spread, wedge geometry, mode conversion and the shape of the signal are not modelled.
  • Depth accuracy depends on how well PCS, velocity and delay are known. Acceptance criteria, scan plans and required accuracy come from your code and procedure. ISO 10863 describes the TOFD technique and is the usual reference. Use the edition your procedure specifies.

Engineering reference only. This calculator supports planning and review. It does not replace a qualified TOFD procedure, calibration or the judgement of a certified inspector.

Frequently Asked Questions (FAQ)

What is the formula for TOFD flaw depth?

With the tip on the centerline between the probes, $d = \sqrt{(c \cdot t/2)^2 - S^2}$, where $c$ is the longitudinal velocity, $t$ is the measured time minus the total delay, and $S$ is half the probe center spacing.

Why does TOFD use the longitudinal wave velocity?

TOFD uses high-angle refracted longitudinal waves in pitch-catch mode, and the signals it measures travel as longitudinal waves. Using the shear velocity, which is about half as large, gives wrong depths.

How do I find the total delay?

The delay covers both wedges and the instrument zero. A common approach is to read the lateral wave arrival on the A-scan and subtract $PCS/c$ from it. Check the method against your procedure.

Why is depth so sensitive near the surface?

Near the surface a large change in depth produces only a small change in arrival time, so a small timing or PCS error becomes a large depth error. Deeper in the wall the relationship straightens and the error shrinks.

How is flaw height calculated in TOFD?

Convert the arrival times of the upper and lower tip signals to depths with the same formula, then subtract: $h = d_{lower} - d_{upper}$.

Does this work for flaws that are not on the centerline?

Not exactly. The formula assumes the tip is midway between the probes. For an offset flaw, the calculated depth is only an apparent depth.

References

The depth formula on this page is the Pythagorean relationship described in the second source, written with the delay correction. The sensitivity tables were calculated from the formulas on this page.

Input Parameters

Result

0

Updates in real-time as you type

Corrected Time (t)
-
Measured time minus the total delay.
One-Leg Path Length (c·t/2)
-
Length of the path from one probe index point to the tip.
Result Note
-

Current Inputs

Length Unit:0
Probe Center Spacing (PCS):0
Longitudinal Velocity [m/s]:0
Total Delay [µs]:0
Measured Time of Flight [µs]:0
Upper Tip Time [µs]:0
Lower Tip Time [µs]:0
Wall Thickness:0