Free xG Calculator — Football Expected Goals & Shot Map

What is xG in football? Use our free expected goals calculator to find out. Click on the pitch to place shots, see how xG is calculated using a logistic regression model, and track your xG stats — total shots, goals, and cumulative xG. Export your xG shot map as a high-quality PNG.

0
Total Shots
0
Total Goals
0.00
Total xG

Shot Controls

Distance
Angle

Shot Log

Click on the pitch to place a shot

xG Calculator Features — Football Shot Analysis

Interactive xG Shot Map

Click anywhere on the football pitch to place shots. The xG calculator instantly computes distance to goal and shooting angle — visualize every chance on an interactive xG map with colour-coded shot markers.

How xG Is Calculated — Logistic Regression Model

Each shot is evaluated using a logistic regression xG model that considers distance, angle, body part (foot or header), and play type (open play, cross, free kick, penalty). Understand how expected goals are calculated and what makes a high-xG chance.

Export xG Data & Shot Charts

Download your complete xG shot map as a high-quality PNG image. Perfect for match analysis, xG stats reports, coaching presentations, and sharing football data on social media.

How to Calculate Expected Goals (xG)

1

Click on the Football Pitch

Select any shot location on the pitch canvas. The xG calculator automatically computes the distance to goal and the shooting angle based on goal post geometry.

2

Set Shot Details

Choose the body part (foot or header), play type (open play, cross, free kick, or penalty), and whether the shot was a goal or miss.

3

Calculate xG Per Shot

Click Calculate to compute the expected goals value for each shot. The xG model evaluates shot quality — higher xG means a better scoring chance. Green dots show goals, red dots show misses.

4

Analyse xG Stats & Export

Review your shot log with xG per shot, compare total goals vs total expected goals to find over/underperformance, and export the xG shot map as PNG for match reports.

xG Calculator — Frequently Asked Questions

What is xG in football?

xG (expected goals) is a football statistic that measures the quality of a scoring chance. It assigns a probability between 0 and 1 to each shot based on factors like distance from goal, shooting angle, body part, and type of play. An xG of 0.3 means the shot would be scored 30% of the time based on historical data. xG helps analysts, coaches, and fans evaluate whether a team is creating and converting chances effectively.

How is xG calculated?

xG is calculated using a logistic regression model. This calculator uses weighted factors: distance to goal (further = lower xG), shooting angle subtended by the goal posts (wider = higher xG), body part (headers receive a penalty), and play type (crosses and free kicks reduce xG). The model outputs a probability between 0.01 and 0.99. Penalties are assigned a fixed xG of 0.78 based on historical conversion rates.

How do I calculate expected goals with this tool?

Click anywhere on the football pitch to select a shot position. The calculator automatically computes distance and angle. Then choose the body part (foot/header), play type (open play, cross, free kick, penalty), and result (goal/miss). Click "Calculate & Plot Shot" to add it to your xG shot map. Repeat for every shot to build a complete match analysis.

What is a good xG per shot?

The average xG per shot in top European leagues is around 0.10 to 0.12. Shots with xG above 0.30 are considered high-quality chances — typically close-range efforts or penalties. A penalty has an xG of 0.78. Headers from crosses typically have lower xG (0.03-0.08) due to difficulty. Teams that consistently create shots with high xG per shot are generating quality chances.

What do the colours on the xG shot map mean?

Green dots represent goals and red dots represent misses. The size of each dot is proportional to the xG value — larger dots indicate higher-quality chances. This makes it easy to visually identify where the best scoring opportunities came from and whether they were converted.

Why does distance from goal reduce xG?

Shots from further away are statistically less likely to result in goals. The shooting angle narrows, the goalkeeper has more time to react, and there is more chance of deflection. The logistic regression model applies a negative weight to distance, reflecting this real-world pattern from thousands of historical shots across professional football leagues.

Is the xG calculator free to use?

Yes, this xG calculator is completely free with no signup required. Your shot data is automatically saved in your browser's local storage so it persists between visits. You can record, analyse, and export xG shot maps at no cost.

Can I export my xG shot map as PNG?

Yes, click the Export PNG button to download your complete xG shot map as a high-quality image. The export includes the football pitch, all plotted shots with xG values, and summary statistics. It's ideal for match analysis reports, coaching presentations, social media, and football blogs.

Need Player Stats & Radar Charts?

Track detailed player and team xG stats alongside goals per game, shot accuracy, pass accuracy, and more with our free football stats calculator. Visualise performance with interactive radar charts.

Try the Stats Calculator

Or create lineups with our Lineup Builder

Or annotate match footage with Football Video Analysis

xG Calculator — Free Expected Goals Calculator & Shot Map