StatsAI.bet

Evaluation

Log loss: scoring a forecast with a logarithm

Intermediate level2 min readPublished 2 Nov 2026

Log loss is the average negative natural logarithm of the probability a forecast gave to the outcome that happened. Lower is better: a correct 100% forecast scores 0, a constant 50% on a two-way question scores 0.693 and an even 1X2 forecast 1.099. Unlike the Brier score, log loss grows without limit when a confident forecast is wrong.

Contents
  1. Key terms
  2. Formula
  3. Example with four forecasts
  4. Log loss for 1X2
  5. Log loss or Brier score?
  6. Limitations
  7. Related guides
  8. Sources

Key terms

Log loss
Logarithmic loss, also called cross-entropy or the logarithmic score. It measures how surprised a forecast was by the outcome.
Probability of the outcome
The probability the forecast gave to what actually happened. If the forecast was p for “Yes” and the answer was “No”, it is 1 − p.
Natural logarithm
ln(1) = 0, and ln(p) gets more negative as p approaches 0. So −ln(p) grows the further the forecast was from the outcome.

Formula

FormulaLL = −(1 / N) × Σ ln(p of the observed outcome)

Example with four forecasts

Mathematical example

The same four forecasts as in the Brier score guide:

ForecastOutcomep of outcome−ln(p)
0.7010.700.3567
0.2000.800.2231
0.5500.450.7985
0.9010.900.1054
Total1.4837

1.4837 / 4 = 0.3709 → 0.371

A constant 50% forecast on the same four questions scores ln 2 = 0.693.

Log loss for 1X2

Mathematical example

Forecast 1 / X / 2 = 50% / 30% / 20%.

Match resultCalculationLog loss
1−ln 0.50.693
X−ln 0.31.204
2−ln 0.21.609

An even forecast of 33.3% for each outcome scores ln 3 = 1.099 whatever happens. A model that averages worse than that knows less than a random guess.

Log loss or Brier score?

Mathematical example
Penalty for one forecast (Brier as (p − outcome)² with one probability)
p of the observed outcomeLog lossBrier
0.900.10540.0100
0.700.35670.0900
0.500.69310.2500
0.301.20400.4900
0.102.30260.8100
0.014.60520.9801

The Brier score has an upper limit, log loss does not: a miss at 99% confidence costs 4.6, at 99.9% already 6.9. One such error can spoil the average of hundreds of good forecasts, so probabilities are often floored before scoring, for example at 1%.

Both scores reward an honest forecast: on average the best score goes to whoever states the probability they actually believe. Such a score is called a proper scoring rule.

Actual StatsAI performance

The AI model performance page computes log loss with probabilities floored at 1%. As of 31 October 2026, matches from 1 September to 31 October 2026:

Log loss, lower is better
MarketMargin-free oddsAI modelBase rate
1X20.9901.0471.068
Over/under 2.50.6680.6900.689

On 1X2 the AI model beats the base rate and the even 1.099, but margin-free odds do better still. The figures change daily on the AI model performance page.

Limitations

  • Log loss depends on the number of outcomes: 1X2 and two-way questions are not comparable, so only forecasts for the same market are compared.
  • Without a floor, one 0% forecast for an outcome that happens gives an infinite log loss.
  • On a small sample the gap between two forecasts may be chance.
  • A lower log loss does not mean profit at a bookmaker. This is statistics, not betting advice.