Kestner Ratio Calculator

Equity curve

K-ratio (Kestner ratio)0.49
regression slope of the log equity curve, per period0.42%
standard error of that slope, per period0.11%
readingbelow 1.00 - the trend is small relative to the noise around it
How this was calculated
  1. Regress the logarithm of the cumulative equity curve against time; the slope is the trend growth per period and its standard error measures the wobble around that trend.
  2. Apply Kestner's formula: K = slope / (standard error x sqrt(periods)) = 0.42 / (0.11 x 7.75).
  3. The K-ratio is 0.49; dividing by sqrt(periods) stops a short, lucky run from scoring like a long, proven one.
  4. The K-ratio rewards smoothness as much as growth: two systems with the same return score differently if one earned it in a straight line and the other lurched. Conventions differ slightly between platforms, so compare K-ratios computed the same way.

The Kestner ratio - usually shortened to K-ratio - measures how steadily an equity curve grows. Regress the logarithm of cumulative returns against time; the regression's slope is the growth rate, and the standard error of that slope is the wobble around it. The K-ratio divides the first by the second, scaled by the square root of the number of periods: K = slope / (standard error x sqrt(periods)). A high K means a steep, clean trend; a low K means the trend is small compared with the noise around it.

This calculator implements that definition - Kestner's, as revised in his 2003 paper - and says so on the page, because the K-ratio has several published variants (the 1996 original and later restatements differ in the scaling), and K values are comparable only within one definition. The three worked examples: a noisy trend (slope 0.42% per period, standard error 0.11%, 60 periods) gives K = 0.49; a steadier one (0.85%, 0.09%, 120 periods) gives 0.86; a steep, clean one (1.20%, 0.06%, 36 periods) gives 3.33.

Enter the slope and its standard error from your equity curve's log-linear regression, plus the number of periods, and the calculator returns K with its reading. How to obtain the slope and standard error - and what K does and does not tell you - is covered below.

Worked examples

A noisy trend over 60 periods

(0.42 % · 0.11 % · 60)

K-ratio (Kestner ratio)0.49
regression slope of the log equity curve, per period0.42%
standard error of that slope, per period0.11%
readingbelow 1.00 - the trend is small relative to the noise around it

A steadier trend over 120 periods

(0.85 % · 0.09 % · 120)

K-ratio (Kestner ratio)0.86
regression slope of the log equity curve, per period0.85%
standard error of that slope, per period0.09%
readingbelow 1.00 - the trend is small relative to the noise around it

A steep, clean trend over 36 periods

(1.2 % · 0.06 % · 36)

K-ratio (Kestner ratio)3.33
regression slope of the log equity curve, per period1.20%
standard error of that slope, per period0.06%
readingaround 1.00 or above - a steady, low-noise trend

The formula, as defined here

Fit a straight line to the log of the equity curve against period number. The slope is the average log growth per period; the standard error of the slope measures how far the curve strays from that straight line. Then K = slope / (SE x sqrt(n)), where n is the number of periods. Verify the steep example by hand: slope 1.20%, SE 0.06%, n = 36: the denominator is 0.06 x 6 = 0.36, and 1.20 / 0.36 = 3.33.

The sqrt(n) scaling is the 2003 revision's contribution: it makes K grow with the length of a consistently trending record, rewarding duration as well as steadiness - the statistical logic is that a slope estimated over more periods is more certainly nonzero, and the K-ratio is, in structure, a t-like statistic for the trend. The noisy example shows the other end: 0.42 / (0.11 x sqrt(60)) = 0.42 / 0.852 = 0.49.

  • K = slope / (standard error of slope x sqrt(periods))
  • Steep clean trend: 1.20 / (0.06 x 6) = 3.33
  • Noisy trend: 0.42 / (0.11 x sqrt(60)) = 0.49
  • Definition used: Kestner's, as revised in 2003 - variants exist; compare like with like

Reading K

K below 1 means the trend is small relative to the noise around it - the equity curve's growth is not clearly distinguishable from a wobble. Both the noisy example (0.49) and the steadier one (0.86) sit below 1 despite positive slopes; the steadier system's slope is estimated over twice the periods with a smaller error, and K rises accordingly, but the trend-to-noise verdict is still 'not decisive'. K around or above 1 indicates a steady, low-noise trend, and values like 3.33 describe an equity curve that hugs its log-linear path closely while climbing steeply.

K says nothing about drawdown depth, tail risk or return level in isolation - a slow, metronomic strategy can post a fine K on modest returns, and a spectacular but lumpy record can post a mediocre one. It is a steadiness gauge for the growth path, designed by Lars Kestner for comparing trading systems' equity curves, and it should be read next to return and drawdown figures, not instead of them.

Slope / periodStd. errorPeriodsK-ratioReading
0.42%0.11%600.49Noisy trend
0.85%0.09%1200.86Steadier, still below 1
1.20%0.06%363.33Steep, clean trend

Getting the slope and standard error

From an equity curve: take the cumulative return series (or account equity), compute its natural logarithm at each period end, and run an ordinary least-squares regression of those log values on the period index 1, 2, 3, .... The regression slope and its standard error are standard outputs of any spreadsheet's LINEST function or statistics package. Use consistent periods - monthly throughout, say - because K depends on the period count and the per-period slope together.

Two practical cautions. First, the regression must be on the log of the cumulative curve, not on period returns - regressing returns against time answers a different question. Second, K inherits the record's survivorship and window choices; the same system over a different window gives a different K, so report the window with the number.

  • Regress ln(equity) on period index; slope and its SE are the inputs
  • Consistent period length throughout the record
  • Report the window with K - it is window-dependent

Variants and comparability

Kestner introduced the ratio in 1996 and revised the definition in 2003; secondary sources variously implement the original, the revision, or simplified forms that drop the sqrt(periods) term or annualize differently. The result is that a 'K-ratio' quoted without its definition is not a comparable number - a system can score differently under two variants with no error anywhere.

This page implements the 2003 revised form - slope / (SE x sqrt(periods)) - and states it in the formula section and here, so that values computed on this page can be compared with each other and with any source using the same definition. When a publication's K values matter to a decision, confirm its formula before comparing.

Practitioners often annualize or compare K values across systems trading at the same frequency, and the sqrt(periods) term is exactly what makes cross-length comparison meaningful: without it, a longer record would mechanically dilute the statistic. With it, a system that holds its trend for 120 periods, like the 0.86 example, earns credit for duration as well as steadiness - while the 36-period 3.33 example shows that a short, exceptionally clean trend can still outscore it. Both effects are intended by the 2003 definition this page implements.

Definition discipline: this page's K = slope / (SE x sqrt(periods)) (Kestner 2003). The worked examples - 0.49, 0.86, 3.33 - are computed on that definition; other variants give different numbers for the same equity curves.

Why the logarithm?

The regression is run on the log of the equity curve for two reasons. First, compounding is multiplicative: a strategy growing at a roughly constant percentage rate traces a curve, but its logarithm traces a straight line - and the K-ratio's whole design is to measure deviation from a straight line. On the raw curve, a perfectly steady compounder would bend upward and register phantom 'noise'; on the log curve it is the ideal the statistic rewards. Second, log differences are symmetric: a 10% gain and a 10% loss are equal-magnitude log steps in opposite directions, so the steadiness measure treats up and down wobbles even-handedly.

The slope that comes out is the per-period log growth rate, which is why the worked examples quote slopes like 0.42% and 1.20% per period - small percentages whose compounding over the window produces the equity curve being graded.

  • Constant percentage growth is a straight line in log space
  • Log steps treat gains and losses symmetrically
  • Slope = per-period log growth (0.42%, 0.85%, 1.20% in the examples)

K-ratio beside Sharpe, Sortino and Calmar

The standard risk-adjusted measures divide return by a volatility or drawdown quantity: Sharpe uses the standard deviation of returns, Sortino only the downside deviation, Calmar the maximum drawdown. The K-ratio divides by something different - the standard error of the equity curve's trend - so it grades the path's smoothness rather than the returns' dispersion. Two systems with identical Sharpe ratios can have very different K values if one compounds in a straight line and the other lurches between flat spells and jumps.

That distinctness is the K-ratio's niche in system evaluation, particularly for trend-following and systematic strategies whose equity curves are the object of interest. It is also its limitation: a smooth path to a mediocre return scores well, so K belongs in a panel with return, drawdown and Sharpe-type figures - the worked examples' readings ('below 1: trend small versus noise') are one panel member's testimony, not a verdict on a strategy.

  • Sharpe/Sortino grade return dispersion; Calmar grades drawdown; K grades path smoothness
  • Same Sharpe, different K: lurching versus straight-line compounding
  • Use K in a panel of measures, never as a standalone verdict

FAQs

What is the Kestner ratio (K-ratio)?

A steadiness measure for an equity curve: the slope of the log equity curve's regression line divided by the standard error of that slope times the square root of the number of periods. High K means steep, steady growth; low K means the trend is small next to the noise.

How is the K-ratio calculated?

K = slope / (SE x sqrt(n)). With a slope of 1.20% per period, a standard error of 0.06% and 36 periods: K = 1.20 / (0.06 x 6) = 3.33. This page uses Kestner's 2003 revised definition.

What is a good K-ratio?

Around or above 1.00 indicates a steady, low-noise trend. Below 1.00 - like the worked examples at 0.49 and 0.86 - the trend is small relative to the noise around it, however positive the slope is.

Where do the slope and standard error come from?

From an OLS regression of the natural log of the cumulative equity curve on the period number. Any spreadsheet (LINEST) or statistics package reports the slope and its standard error directly.

Why are there different K-ratio definitions?

Kestner's 1996 original was revised in 2003, and secondary sources implement different versions - some drop the sqrt(periods) scaling. Values are comparable only within one definition, which is why this page states its formula explicitly.

Does the K-ratio measure risk?

Not directly. It measures the steadiness of the growth path - trend versus wobble - and says nothing about drawdown depth or tail risk. Read it alongside return and drawdown measures.

Sources

Related calculators

Accounting Rate of Return Calculator
Accounting rate of return of a project from its cost, salvage value, life, revenue and cash expenses, on both the initial and the average investment, with the depreciation and average profit shown.
Cash-on-Cash Return Calculator
The leveraged yield on the cash you actually put into a rental: annual cash flow after debt service, divided by down payment plus closing and rehab — not by the property price.
Expected Return Calculator
The weighted average return of a three-asset portfolio: each asset's expected return weighted by its share of the portfolio.