
Mann-Kendall Trend Test & Theil-Sen Slope Calculator
Free Mann-Kendall trend test calculator with Theil-Sen slope estimator. Compute S statistic, tie-corrected Var(S), continuity-corrected Z, p-value, and Kendall's tau in your browser.
Open toolCompute the **Hurst Exponent ($H$)**, multi-scale **Rescaled Range ($R/S$)** regression slope, **Fractal Dimension ($D = 2 - H$)**, and lag-1 autocorrelation ($\rho_1$) to classify any time series as **Mean-Reverting ($H < 0.5$)**, **Random Walk ($H \approx 0.5$)**, or **Trending ($H > 0.5$)**.
Enter the inputs, then select Calculate Hurst Exponent.
Result will appear here
The calculator divides your series of length $N$ into contiguous sub-windows of size $n$ ($4 \le n \le N$), computes the mean-adjusted cumulative range $R(n)$ divided by standard deviation $S(n)$ in each window, and fits $\log_{10}[R/S]$ vs. $\log_{10}(n)$.
R(n) = max_{1<=k<=n} sum_{i=1..k}(X_i - X_bar) - min_{1<=k<=n} sum_{i=1..k}(X_i - X_bar); H = Cov(log(n), log(R/S)) / Var(log(n))
Values are clamped to the theoretical (0.01, 0.99) open interval and reported alongside the OLS R² goodness-of-fit and lag-1 serial correlation.
Reference thresholds connecting the Hurst Exponent ($H$), Fractal Dimension ($D = 2 - H$), autocorrelation sign, and quantitative behavior.
| Hurst Exponent Range | Fractal Dimension (D = 2 - H) | Statistical Regime Classification | Time-Series & Trading Interpretation |
|---|---|---|---|
| **`0.00 < H < 0.45`** | `1.55 < D < 2.00` (Rough / Space-filling) | **Anti-Persistent (Mean-Reverting)** | Reversals dominate; deviations pull back toward the mean (pairs trading / Ornstein-Uhlenbeck) |
| **`0.45 <= H <= 0.55`** | `1.45 <= D <= 1.55` (Brownian trace) | **Random Walk / Brownian Noise** | Increments are uncorrelated (`E[R/S] ∝ n^0.5`); past moves do not predict future direction |
| **`0.55 < H < 1.00`** | `1.00 < D < 1.45` (Smooth / Persistent) | **Persistent (Trending / Long Memory)** | Positive long-range dependence; trends persist longer than random chance |
| **Default 16-Point Series (`raw`)** | `D = 1.0151` (`H = 0.9849`) | **Strong Persistent Trend (`H = 0.9849`)** | `log10(R/S)` scales linearly across `n = 4, 8, 16` (`R² = 0.9994`, `ρ₁ = +0.8129`) |
Evaluate any time series in three steps.
Paste your time series values separated by commas, spaces, or newlines.
Choose 'Analyze Direct Series Values' for stationary series/spreads, or 'First Differences' to analyze step-to-step changes.
Click Calculate Hurst Exponent to get H, D = 2 - H, regime classification, lag-1 autocorrelation, and the log-log R/S table.
Compare persistent trend behavior against oscillating mean-reverting increments.
Evaluating the 16-point rising sequence (10.2 to 20.7) yields H = 0.9849 and Fractal Dimension D = 1.0151 (Persistent / Trending), with lag-1 autocorrelation ρ₁ = +0.8129.
Switching Input Series Treatment to 'First Differences (ΔX_t)' differentiates the 16-point series into +0.6 / +0.8 steps, yielding H = 0.5343 (Random Walk / Brownian Noise band).
An alternating series like '10, -10, 10, -10, 10, -10, 10, -10' keeps cumulative range R(n) tightly bounded as n grows, producing a low Hurst Exponent (`H = 0.0100`, Anti-Persistent / Mean-Reverting).
Always read $H$ together with the log-log regression $R^2$ and lag-1 correlation.
The primary result displays the Hurst Exponent H (to 4 decimal places), the regime classification (Persistent / Trending, Random Walk, or Anti-Persistent / Mean-Reverting), and Fractal Dimension D = 2 - H.
The detailed audit prints the exact average R/S ratio at every sub-window scale n so you can verify scaling linearity.
Keep these statistical properties in mind when interpreting R/S estimates on short series.
On short series (N < 64), classical R/S slightly overestimates 0.50 (around 0.53–0.55 for white noise), which is why our regime classifier uses a 0.45 to 0.55 neutral band around 0.50.
Ensure all observations are sampled at uniform time intervals before running R/S analysis.

Free Mann-Kendall trend test calculator with Theil-Sen slope estimator. Compute S statistic, tie-corrected Var(S), continuity-corrected Z, p-value, and Kendall's tau in your browser.
Open tool
Detect multiple change points and regime shifts in a numeric time series using exact O(N^2) dynamic programming (BIC, AIC, or custom penalty) and CUSUM statistics.
Open tool
Calculate Dynamic Time Warping (DTW) distance and optimal alignment path between two time series in your browser. Supports absolute, squared, and root-squared costs plus Sakoe-Chiba window band.
Open toolChoose another tool for your next calculation, conversion, or text task.

Determine reaction order (0th, 1st, or 2nd) from time-concentration data by linearizing [A], ln[A], and 1/[A] vs. time t, comparing R² and RMSE, and calculating rate constant k and half-life.
Open tool
Calculate how long it takes to mow any lawn size by deck width, mowing speed, pass overlap, and turn/obstacle field efficiency.
Open tool
Calculate bottleneck cycle time, Takt time margin, hourly and shift throughput, line balance efficiency, flow efficiency, and Little's Law WIP from workstation times.
Open tool
Calculate hiking time from trail distance, elevation gain, elevation loss, base flat pace, and terrain difficulty using Naismith's Rule, Langmuir descent adjustments, and Tobler's function.
Open toolAnswers about using Hurst Exponent Calculator (Rescaled Range R/S, Regime & Fractal Dimension) and understanding its results.
A Hurst Exponent H between 0 and 0.5 (specifically H < 0.45) indicates an anti-persistent, mean-reverting series where high values are statistically likely to be followed by low values. H near 0.50 (0.45 to 0.55) indicates a memoryless Geometric Brownian Motion (random walk). H between 0.55 and 1.00 indicates a persistent, trend-reinforcing series with long-term positive autocorrelation.
For a self-affine time series trace, Benoit Mandelbrot showed that the box-counting Fractal Dimension D equals 2 - H (where 1 <= D <= 2). A smooth trending curve (H -> 1) has a fractal dimension near D = 1.0, whereas a jagged, space-filling mean-reverting series (H -> 0) approaches D = 2.0.
Rescaled Range (R/S) analysis measures the scaling of cumulative deviations from the mean, which assumes the input series is stationary. If you paste raw asset prices (which drift upward over time), analyze 'First Differences (ΔX_t)' so R/S measures the persistence of price changes; if you paste stationary spread levels, z-scores, returns, or hydrological inflows, use 'Direct Series Values'.
The calculator requires at least 8 observations so it can partition the series into multiple non-overlapping sub-blocks (e.g. n = 4, 8, 16...) and fit an ordinary least squares (OLS) slope of log10(R/S) against log10(n). In empirical finance and hydrology, 64 to 256+ observations provide tighter confidence intervals.
Choose another tool for your next calculation, conversion, or text task.