Actual-versus-Predicted Plot Calculator

Compare actual and predicted values, examine residuals, evaluate model accuracy, highlight outliers, apply tolerance bands, and export clear interactive regression reports instantly for analysis.

Calculation results

Waiting for data
Load sample data or enter your own values.

Data input

Files remain in your browser. Maximum size is 2 MB.
Recommended columns: Label, optional Group, Actual, then one or more prediction models.

Model, plot, and reference settings

Tolerance, outliers, and filters

Use zero to display every matching row.

Interactive plot

Click a plotted point to inspect its record.

Observation error table

Formula used

Residual = Actual − Predicted
Absolute Error = |Actual − Predicted|
Squared Error = (Actual − Predicted)²
Percentage Error = ((Actual − Predicted) / Actual) × 100
MAE = Σ|Actual − Predicted| / n
MSE = Σ(Actual − Predicted)² / n
RMSE = √MSE
R² = 1 − [Σ(Actual − Predicted)² / Σ(Actual − Mean Actual)²]
Adjusted R² = 1 − (1 − R²)(n − 1) / (n − p − 1)

How to use this calculator

  1. Paste rows or upload a CSV dataset.
  2. Keep one actual column and one prediction column.
  3. Add more prediction columns for model comparisons.
  4. Choose filters, tolerances, and outlier settings.
  5. Select a plot type and calculate results.
  6. Inspect points, tables, metrics, and warnings.
  7. Export the chart, data, or PDF report.

Example data structure

LabelGroupActualLinear ModelTree Model
H1Urban185000179000188500
H2Urban220000228000219500
H3Suburban265000254000269000

Interpretation guide

Points near the diagonal indicate accurate predictions. Points above it show overprediction. Points below it show underprediction.

Small residuals usually indicate better local accuracy. Systematic residual patterns reveal model bias. Large isolated errors may indicate outliers.

Use several metrics before selecting a model. R² alone can mislead. Error scale and business tolerance also matter.

Frequently asked questions

What does the diagonal line represent?

It represents perfect predictions where predicted values equal actual values.

What does a point above the line mean?

The model predicted a value greater than the observed value.

What does a point below the line mean?

The model predicted a value smaller than the observed value.

Which metric should I prioritize?

Choose metrics matching your error costs, units, and modeling objective.

Can I compare several models?

Yes. Add one prediction column for every model being compared.

How are zero actual values handled?

Percentage metrics omit zero actual values and display a warning.

Can outliers be excluded?

Yes. Select a detection method and exclude marked observations.

What is prediction bias?

It is the average predicted value minus the actual value.

Why use equal axis scaling?

Equal scaling prevents visual distortion around the perfect prediction line.

Is uploaded data sent to a server?

No. This calculator processes uploaded CSV data inside your browser.

Related Calculators

Regression Line PlotPolynomial Regression CurveResidual PlotResidual Distribution PlotQ-Q Plot of ResidualsScale-Location PlotLeverage PlotCook's Distance PlotPrediction Interval PlotPartial Regression Plot

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.