CRPS calculator

Score a numeric forecast distribution and inspect how its cumulative probabilities compare with the observed outcome. Lower empirical CRPS is better on the same evaluation case.

Score one observed outcome.

Each ensemble member receives equal probability mass. Enter outcome values in the same units as the observation. Repeated values keep their repeated mass. All examples are fictional.

Use commas, spaces or new lines between members, with decimal points for fractions. Up to 1,000 members; every value must be between −1 billion and 1 billion. Results update as you type.

Empirical CRPS
3.25
Outcome units · lower is better
Mean absolute member distance
7
Pairwise spread term
3.75
Distance minus CRPS

4 members, each with mass 1/4. This scores the entered empirical distribution; it applies no finite-ensemble fair correction.

00.518.431.6Numeric outcome valueCumulative probability
Solid purple: forecast CDF. Dashed green: observed-outcome step. The interval table squares the vertical gap and multiplies by interval width to calculate CRPS.
All nonzero-width intervals; zero contributions are retained.
IntervalForecast CDFObserved stepContribution
[10, 20)0.2500.625
[20, 24)0.7502.25
[24, 30)0.7510.375

How to use the CRPS calculator

Enter the recorded numeric outcome and ensemble values in matching units. The forecast is the empirical distribution of those members, with mass 1/M per member. For four members 10, 20, 20 and 30, the repeated 20 has a combined mass of one half. Changing their order has no effect; deleting the duplicate changes the distribution.

The score updates as you type. Each row in the interval table multiplies the interval width by the squared difference between forecast CDF and observed step. Outside the forecast and observation range, both steps agree, so the contribution is zero. Calculations use floating-point arithmetic and displayed values are rounded.

Check the original example

With observation 24 and members 10, 20, 20 and 30, the contributions are 0.625, 2.250 and 0.375. Their sum is 3.25 outcome units. Mean absolute distance from the members is 7, and the equivalent pairwise spread term is 3.75.

Choose Point forecast to score a single member at 20: the result is 4, equal to absolute error against 24. Choose Wider distribution for 0, 20, 20 and 40: its score is 4.5. All three candidate distributions have mean 20. Extra spread does not automatically improve this realized score.

Choose the empirical interpretation deliberately

The scores reference distinguishes empirical and fair ensemble conventions. This tool evaluates the entered distribution with the empirical convention. Treating members as samples from a separate underlying distribution requires a different interpretation and suitable assumptions.

For the mathematical derivation, binary Brier equivalence and fair-estimator comparison, read the continuous ranked probability score guide. Reproduce the synthetic cases using the offline Python worksheet and scenario CSV.

Binary forecasts and numeric quantiles

The Binary example uses three zeros and seven ones with observation 1. Its score is 0.09, matching squared binary probability error for a 70% Yes forecast. A single member equal to 0.70 instead gives absolute error 0.30 against 1. These inputs describe different forecast distributions.

Use the Brier score calculator for a dataset of binary probabilities, and pinball loss for a specified numeric quantile. Do not treat a list of quantile values at different levels as equally weighted samples without choosing and explaining that approximation.

Compare the same cases and units

A single score does not establish calibration or future accuracy. To compare models across cases, score matching outcomes at matching forecast horizons, then average using a declared weighting rule. A different unit scale changes CRPS. A lower score also does not establish trading profit after executable prices and costs.

Reviewed . These are fictional numerical examples. Explore Alphascope predictions for event research and use walk-forward analysis to keep evaluation chronological.

Frequently asked questions

What inputs does this CRPS calculator accept?

One numeric observation and 1 to 1,000 numeric ensemble members. Each member has equal mass. Repeated values preserve their repeated mass. Inputs must share the same outcome units.

Does this calculator use a fair ensemble correction?

No. It scores the entered empirical distribution. It does not infer a latent distribution from random samples or apply the M-times-M-minus-one fair estimator.

Can I enter a Yes probability as one member?

A single 0.70 member is a point mass at numeric outcome 0.70. To represent a binary distribution with 70% mass at one using equal members, use seven ones and three zeros. For ordinary probability records, use the Brier calculator.

What happens when all members equal the observation?

The empirical distribution is a point mass exactly at the observed outcome, so CRPS is zero.