How to use this calculator
Measure empirical prediction-interval coverage and average width from actual values and matching lower and upper bounds.
- Enter Actual observed values, Prediction interval lower bounds, Prediction interval upper bounds, Nominal interval coverage (%). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How this calculation works
Prediction interval evaluation considers whether observed values fall inside their forecast bounds and how wide those intervals are. This calculator reports empirical coverage, average interval width, and the difference between observed and nominal coverage.
Inputs and units
actuals— Actual observed values- Evaluation targets in chronological or matching row order.
lower— Prediction interval lower bounds- One lower bound for each matching actual value.
upper— Prediction interval upper bounds- One upper bound for each matching actual value; each must be at least its lower bound.
nominal— Nominal interval coverage (%)- Target coverage level declared when the prediction intervals were generated.
Formula
PICP = covered observations ÷ number of observations. MPIW = mean of (upper bound − lower bound).
Method
Pair each actual value with the lower and upper bounds for that same observation. Coverage counts an observation when actual is between both bounds, inclusive. Mean width averages upper minus lower across all pairs.
Worked example
For actuals 100, 120, 90, 110, 140 with lower bounds 90, 115, 80, 100, 125 and upper bounds 110, 125, 100, 120, 135, four of five observations are covered. PICP is 80%, average interval width is 16 units, and the gap to a 90% target is −10 percentage points.
Assumptions and limits
Coverage and width describe a held-out evaluation sample; they do not create prediction intervals or guarantee future calibration. Compare samples and nominal coverage levels consistently, and consider sample size and dependence between observations.
Frequently asked questions
What does PICP measure?
It is the fraction of evaluated observations contained between their matching lower and upper prediction bounds.
Why report interval width too?
Wide intervals can attain high coverage while providing less precise information; width gives a complementary measure of sharpness.
Does a sample PICP prove future calibration?
No. It is an empirical result for the entered evaluation sample.
How do I use the Prediction Interval Coverage and Width Calculator?
Enter Actual observed values, Prediction interval lower bounds, Prediction interval upper bounds, Nominal interval coverage (%). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Prediction Interval Coverage and Width?
For actuals 100, 120, 90, 110, 140 with lower bounds 90, 115, 80, 100, 125 and upper bounds 110, 125, 100, 120, 135, four of five observations are covered. PICP is 80%, average interval width is 16 units, and the gap to a 90% target is −10 percentage points.
Reference: Peer-reviewed prediction-interval coverage and mean-width evaluation definitions. See our calculation methodology.