UT decibel calculator: dB gain, amplitude ratio and screen height

Compare echo amplitudes and calculate a gain adjustment. Choose your own reference screen height; 80% full-screen height (FSH) is the editable example here.

Method checked against Olympus, Ultrasonic Flaw Detection Tutorial (2021), “Decibel,” p. 72 on 17 Oct 2026. A calculation aid for study and estimating, not a substitute for the listed equipment's documentation or the AHJ.

Results update as you type. Use positive amplitude magnitudes in matching units. Screen readings must be above 0% and at most 100% FSH, within your instrument's calibrated linear range.

Two amplitudes → dB difference

+6.0206 dB for A2 relative to A1.

dB → ratio and screen height

A2 / A1 = 1.995262

Ideal resulting height: 159.621% FSH.

Screen height → dB relative to reference

Uses Href from the panel above. Compare both echoes at the same gain and display scale.

Signal relative to reference: -6.0206 dB.

How many dB from X% to Y%?

Required gain change: +12.0412 dB. Add gain.

How to work an amplitude problem

Identify the reference first. Put the compared echo in the numerator and the reference echo in the denominator. Divide matching units before taking the base-10 logarithm, then multiply by 20. A ratio greater than one gives a positive result. To reverse the calculation, divide the signed dB value by 20 and raise 10 to that power.

For positive amplitude magnitudes A1 and A2 in matching units, use:

  • ΔdB = 20 × log10(A2 / A1).
  • Amplitude ratio A2 / A1 = 10^(ΔdB / 20).

The amplitude equation is published in Olympus, Ultrasonic Flaw Detection Tutorial (2021), “Decibel,” printed p. 72. Positive ΔdB means A2 is higher; negative means lower. This tool compares amplitudes, not acoustic power. The factor for a power ratio would be 10.

Screen-height conversions

On a calibrated linear A-scan, substitute height for amplitude. Evident, 3.5 Display Formats describes the A-scan's amplitude axis. The following are algebraic applications of the amplitude formula:

  • Signal relative to reference: ΔdB = 20 × log10(Hsignal / Href).
  • Height after a signed change: Hnew = Href × 10^(ΔdB / 20).
  • Gain from current X% to target Y%: G = 20 × log10(Y / X).

Use heights in percent FSH throughout. A signal's difference from a reference and the gain needed to bring it to that reference have opposite signs. Zero height has no finite logarithmic result; a clipped echo is not a valid amplitude reading.

Worked example: 20% signal, 80% reference

At unchanged gain, a 20% FSH echo relative to an 80% FSH reference is 20 × log10(20 / 80) = −12.0412 dB. To raise that same echo from 20% to 80%, add 20 × log10(80 / 20) = +12.0412 dB, a fourfold amplitude change.

Doubling amplitude is 6.0206 dB; exactly +6 dB gives a ratio of 1.995262. Starting from 80% FSH, that predicts 159.621% FSH, above a conventional 100% display. Reduce gain and remeasure rather than use a clipped peak. These are fictional calculation examples, not exam items.

Calculated dB reference table

This original table is generated from the equations above using an 80% FSH reference. Values are rounded for display.

Amplitude ratio and ideal height relative to 80% FSH
ΔdBA2 / A1Height (% FSH)
-200.10008.000
-120.251220.095
-60.501240.095
01.000080.000
+61.9953159.621 (off scale)
+123.9811318.486 (off scale)
+2010.0000800.000 (off scale)

Assumptions and use limits

Compare echoes at the same gain, scale and receiver settings. Gain predictions assume a linear, unsaturated response and unchanged coupling. They do not correct beam spread, attenuation, transfer losses or reflector geometry. An amplitude ratio alone does not establish flaw size or acceptability. The 80% reference is an example, not a required procedure setting.

Related UT tools

Calculate refraction and critical angles with Snell's law, then calculate skip distance and beam travel.

Sources

Checked 17 October 2026. No code-book text, tables, figures or exam items are reproduced.

Practice UT Level II fundamentals

Use the free diagnostic to find topics that need more study.

Take the free NDT Level II diagnostic

By the Angle Beam editorial team. Report an error.

Add this calculator to your site

Copy this HTML with its attribution link. The frame scrolls to show the calculator and explanation; no external script is needed.