ADX (Average Directional)

Calculate ADX (Average Directional) instantly with the exact formula and a worked example.

ADX (Average Directional)

+DI
−DI
Previous period ADX
Period N
ADX
22.8095
Calculate ADX (Average Directional) instantly with the exact formula and a worked example.
DX
33.33
Trend strength
Weak trend
Direction
+DI above: upward

This calculator performs one update of J. Welles Wilder’s Average Directional Index: from the current +DI and −DI and the previous ADX it returns the new ADX, the raw DX and a plain-language read on trend strength.

How the calculation works

Wilder introduced ADX in New Concepts in Technical Trading Systems (1978). The first step is the directional index, DX = |+DI − −DI| ÷ (+DI + −DI) × 100. The more one side dominates the other, the higher DX.

DX is then smoothed with Wilder’s method: ADX = (previous ADX × (N − 1) + DX) ÷ N, an exponential average with weight 1/N. The standard period is 14. Enter the current bar’s +DI and −DI (from your charting platform), the prior ADX and N.

The output shows DX, the new ADX, a strength label — ADX ≥ 25 trending, 20–25 weak trend, below 20 no trend — and direction: +DI above −DI signals upward pressure, otherwise downward.

Worked example

Defaults: +DI = 30, −DI = 15, previous ADX = 22, N = 14. DX = |30 − 15| ÷ 45 × 100 = 33.33. ADX = (22 × 13 + 33.33) ÷ 14 ≈ 22.81, a weak-trend reading, with +DI above −DI pointing up. If DX stays around 33 for a few more bars, ADX will keep climbing toward 25.

Things to keep in mind

  • ADX measures strength, not direction. A rising ADX with −DI on top means a strengthening downtrend.
  • Because of double smoothing, ADX lags. A turn down from high levels usually signals a slowing trend, not necessarily a reversal.
  • The very first ADX is the simple average of the first N DX values; after that the recursive formula used here applies.
  • The 20 and 25 thresholds are conventions, not laws — traders tune them by market and timeframe. Nothing here is investment advice.

More about: ADX (Average Directional)

What it calculates

The “ADX (Average Directional)” calculator computes ADX from 4 parameters: +di, −di, previous period adx, period n.

Used by investors to estimate returns, project savings, and analyze a portfolio.

Example calculation

With parameters +DI = 30, −DI = 15, Previous period ADX = 22, Period N = 14 the result is 22.81.

How to use

  1. Enter +di, −di, previous period adx and period n — each field above is adjustable with a slider.
  2. ADX is calculated automatically as you type.
  3. Check the worked example below to see the formula applied to real numbers.
  4. Copy the result or bookmark this calculator.

Related calculators

FAQ

Where do +DI and −DI come from?
Any DMI/ADX indicator on a charting platform shows them. By hand, they are smoothed +DM and −DM divided by smoothed Average True Range, times 100.
Which period should I use?
Wilder used 14. Shorter periods react faster but are noisier; longer ones are smoother and slower.
What does an ADX above 50 mean?
An exceptionally strong trend. Readings that high are relatively rare and sometimes come before momentum fades.
Why doesn’t my result match my platform exactly?
Platforms differ in how they seed the first smoothed values and how much history they load, so small differences are normal.

More calculators in this category

Explore related free tools

Carried InterestHurdle RatePE Vintage Year IRRPIC Ratio (Paid-In Capital)DPI / RVPI / TVPIHurdle vs Catch-UpRecovery Rate (Defaulted Bonds)LGD (Loss Given Default)PD (Probability of Default)Expected Loss (PD × LGD × EAD)Carry TradeCurrency Exposure