Expected Goals Calculator

Track shot value using distance, angle, pressure, and assists. Review totals, averages, and quality bands. Turn raw attempts into sharper match evaluation decisions today.

Calculator Input

Use one stacked page, then enter shot rows for both teams. The calculator grid becomes three columns on large screens, two on smaller screens, and one on mobile.

Team A Panel

Format: distance, angle, body_part, assist_type, situation, big_chance, pressure, goalkeeper

Team B Panel

Allowed values include foot, head, other, throughball, cross, cutback, setpiece, openplay, counter, corner, freekick, penalty, yes, no, low, medium, high, normal, off_line, narrow.

Model Settings

Input reminder: use one shot per line. The first value is distance in meters. The second value is angle in degrees. Everything after that is a category.

Example Data Table

These rows match the calculator format and can be pasted into either shot box.

Distance Angle Body Part Assist Type Situation Big Chance Pressure Goalkeeper Example CSV Row
11 28 foot throughball openplay yes low off_line 11,28,foot,throughball,openplay,yes,low,off_line
18 38 head cross openplay no medium normal 18,38,head,cross,openplay,no,medium,normal
11 90 foot none penalty yes low normal 11,90,foot,none,penalty,yes,low,normal

Formula Used

This calculator uses a simplified logistic expected goals model. Each shot receives a scoring probability after combining distance, angle, body part, assist type, match situation, big chance status, defensive pressure, and goalkeeper position.

Base equation:

z = -1.95 - 0.08 × distance + 2.35 × (angle / 120) + body + assist + situation + big_chance + pressure + goalkeeper

xG = 1 / (1 + e^-z)

Adjusted xG = xG × competition_factor × venue_factor

The medium and high quality bands are controlled by the thresholds you choose. Actual goals are compared against total xG to show finishing overperformance or underperformance.

How to Use This Calculator

  1. Enter both team names and their actual goals.
  2. Paste one shot per line using the required comma-separated format.
  3. Set the home team, home boost, competition factor, and quality thresholds.
  4. Press the calculate button.
  5. Review total xG, average xG, best chance, finishing delta, and shot quality counts.
  6. Use the chart to compare cumulative chance creation across the match.
  7. Download the result summary as CSV or PDF if needed.

Frequently Asked Questions

1) What does expected goals measure?

Expected goals estimates how likely a shot is to become a goal. It judges chance quality, not just shot count, so better locations and cleaner situations usually produce higher values.

2) Is this calculator useful for full match review?

Yes. It helps compare both teams, find which side created better chances, and measure whether the final score matched underlying attacking quality.

3) Why do distance and angle matter so much?

Shots closer to goal and from wider central angles are typically easier to score. Those two factors strongly shape chance quality in most expected goals models.

4) Why include pressure and goalkeeper position?

These settings refine shot context. Tight pressure can reduce finishing quality, while an advanced goalkeeper can either narrow space or expose the goal depending on positioning.

5) Does a penalty always get high xG?

Usually yes. Penalties have strong conversion rates, so the model assigns them a large positive adjustment, making them one of the highest value shot types.

6) What is finishing delta?

Finishing delta is actual goals minus total xG. A positive number means a team scored above expectation, while a negative number means it finished below expectation.

7) Can I change the quality bands?

Yes. The medium and high thresholds are editable. That lets you define chance bands for your own reporting style, competition standard, or scouting process.

8) Is this the same as every professional data provider?

No. Professional providers use larger event datasets and proprietary tuning. This page offers a practical, transparent model for analysis, education, and quick comparison.

Related Calculators

points per possessionpass completion rateshot conversion rateplus minus rating

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.