fX Engineers Explore the community

Quant Engineering

Simple returns vs log returns

Two ways to measure the same price change. Each one is correct in a place the other is wrong, and mixing them up quietly corrupts a whole analysis.

· 7 min read

What is it?

Given a price Pt−1P_{t-1} yesterday and PtP_t today, there are two standard ways to say how much it moved.

The simple return is the fraction you gained:

Rt=Pt−Pt−1Pt−1=PtPt−1−1R_t = \frac{P_t - P_{t-1}}{P_{t-1}} = \frac{P_t}{P_{t-1}} - 1

The log return is the natural logarithm of the price ratio:

rt=ln⁡ ⁣(PtPt−1)=ln⁡(1+Rt)r_t = \ln\!\left(\frac{P_t}{P_{t-1}}\right) = \ln(1 + R_t)

They measure the same event. They do not behave the same way.

Why does it exist?

Because two different things need to be easy, and no single definition makes both easy.

Adding across time is easy with log returns. Two periods of simple returns compound:

1+R0→2=(1+R1)(1+R2)1 + R_{0\to2} = (1 + R_1)(1 + R_2)

Take logs and the product becomes a sum:

r0→2=r1+r2r_{0\to2} = r_1 + r_2

A ten-year log return is just the sum of the daily ones. That single property is why almost all time-series modelling - volatility, autocorrelation, GARCH, anything assuming normality - is done on log returns.

Adding across assets is easy with simple returns. A portfolio’s return is the weighted average of its holdings’ simple returns:

Rp=∑iwiRiR_p = \sum_i w_i R_i

There is no equivalent for logs. ln⁡\ln of a sum is not the sum of ln⁡\lns, so log returns do not aggregate across a portfolio. Averaging your assets’ log returns to get a portfolio return is simply wrong, and it is a mistake that survives review because the number it produces looks plausible.

The rule I use: logs down the time axis, simple across the asset axis.

How does it work?

For small moves the two are nearly identical, because ln⁡(1+x)≈x\ln(1+x) \approx x when xx is small. For large moves they diverge badly, and the divergence is not symmetric.

import numpy as np

for R in [0.001, 0.01, 0.05, 0.20, -0.20, -0.50]:
    r = np.log1p(R)
    print(f"simple {R:+.3f}   log {r:+.4f}   gap {r - R:+.4f}")
simple +0.001   log +0.0010   gap -0.0000
simple +0.010   log +0.0100   gap -0.0000
simple +0.050   log +0.0488   gap -0.0012
simple +0.200   log +0.1823   gap -0.0177
simple -0.200   log -0.2231   gap -0.0231
simple -0.500   log -0.6931   gap -0.1931

Note np.log1p(R) rather than np.log(1 + R). For tiny returns - intraday, or high-frequency - floating point loses precision computing 1 + R before the log; log1p is built to avoid exactly that.

Two consequences worth internalising:

  • A simple return can never go below −100%-100\%, so a log return can never go above… nothing, but it goes to −∞-\infty as price goes to zero. Log returns are unbounded below, which is a more honest representation of ruin.
  • −50%-50\% then +50%+50\% does not get you back. In logs it is obvious: −0.693+0.405=−0.288-0.693 + 0.405 = -0.288, a 25% loss. The asymmetry that people find counter-intuitive in percentages is just addition in logs.

And the one that catches everyone:

r = np.array([0.01, -0.02, 0.015])       # daily log returns
total_simple = np.expm1(r.sum())         # correct: back to a simple return
mean_daily    = r.mean()                 # a mean LOG return

r.mean() is the average log return, which is a geometric mean of price ratios - not the arithmetic average of the daily percentage gains. If you quote it as “average daily return, 0.17%” you have quietly said something different from what your reader will hear.

Where is it actually used?

  • Volatility. Annualising with σ252\sigma\sqrt{252} assumes returns add across time - only true in logs.
  • Any model with a normality assumption. Prices cannot be normal (they are non-negative); log returns can be approximately normal, which is where geometric Brownian motion comes from.
  • Backtest P&L and performance reporting. These are portfolio-level and go in simple returns. Convert with R=er−1R = e^{r} - 1 at the end, not in the middle.
  • Risk aggregation across a book. Simple returns, weighted.

The mistake is almost never in the formula. It is using a quantity computed one way in a place that assumes the other.

Going deeper

  • Tsay §1.1 works through multi-period returns and dividend adjustments properly.
  • Try it yourself: build a series of daily prices, compute the terminal wealth two ways, and prove to yourself that summing simple returns overstates it.

Sources

  • Analysis of Financial Time Series, 3rd ed. - Tsay, §1.1
  • Quantitative Risk Management - McNeil, Frey, Embrechts, §2.1
Found an error in this?

Use the contact and involvement page to find the current ways to share a correction. Corrections are credited on the page - they are the most welcome messages I get.

More in Quant Engineering

Or see the whole Quant Engineering track.

Previous note

What actually is a Python variable?

It is not a box that holds a value. Getting this wrong is behind a whole family of bugs that look like magic.