Simplify Your Workflow: Search MiniWebtool.
Add Extension
Home Page > Sports > Soccer > Soccer xG (Expected Goals) Calculator

Soccer xG (Expected Goals) Calculator

Estimate the Expected Goals (xG) value of any shot from its distance, angle, body part, and game situation. Our calibrated logistic model turns a shot location into a goal probability, draws the shooting angle on a top-down pitch, rates the chance quality, and shows a full step-by-step breakdown. Supports yards and meters.

Soccer xG (Expected Goals) Calculator
Quick examples — click to fill the form, then press Calculate:
How far out the shot is taken (straight ahead).
Sideways distance from the centre of the goal. Use 0 for central.
🥅 A penalty kick is taken from a fixed spot (12 yd, dead centre), so the distance and offset above are ignored and the xG is set to the historical penalty conversion rate of 0.76.

Embed Soccer xG (Expected Goals) Calculator Widget

About Soccer xG (Expected Goals) Calculator

The Soccer xG (Expected Goals) Calculator estimates the quality of a shot as a goal probability. Give it the shot's distance, sideways position, body part and game situation, and it returns an xG value between 0 and 1, draws the shooting angle on a top-down pitch, rates the chance, and shows the full calculation. It turns the vague question "was that a good chance?" into a single, comparable number.

What is xG (Expected Goals)?

Expected Goals (xG) is a measure of the quality of a goal-scoring chance. It is the probability that a given shot will be scored, expressed on a scale from 0 to 1. A shot worth 0.25 xG would, on average, be scored 25 times out of 100. xG has become the headline advanced metric in modern football because it tells you how good the chances were, not just how many goals happened to go in on the day.

The xG Formula

Most xG models use logistic regression. The shot's features are combined into a single score, and that score is converted to a probability with the logistic (sigmoid) function. This calculator uses two geometric features — the shooting angle and the distance — plus adjustments for body part and game situation.

Step 1 — Shooting Angle
$$\theta = \arctan\left(\frac{w \cdot x}{x^2 + y^2 - (w/2)^2}\right)$$
Step 2 — Model Score (Logit)
$$L = \beta_0 + \beta_1\,\theta + \beta_2\,d + \text{(body part)} + \text{(situation)}$$
Step 3 — Goal Probability
$$\text{xG} = \frac{1}{1 + e^{-L}}$$

Here w = 7.32 m is the goal width, x is the distance from the goal line, y is the sideways offset from the centre, and d is the straight-line distance to goal. The coefficients in this tool were calibrated by least-squares so the output matches typical professional shot outcomes.

Why Angle and Distance Both Matter

The two biggest drivers of xG are how far out the shot is and how wide the goal appears from that spot. The further away you are, the less likely you are to score. But two shots from the same distance can be very different chances: a player square in front of goal sees the whole net, while a player out by the byline sees only a thin sliver between the posts. That is why a shot from the corner of the six-yard box is so much harder than one from the penalty spot, even though they are a similar distance away.

Typical xG Values

Type of chanceApprox. xGMeaning
Penalty kick0.76Scored about three times out of four
Tap-in / close-range central0.40 – 0.70A golden chance
Six-yard box, central0.30 – 0.50A big chance
Penalty-spot range, central0.12 – 0.20A good chance in open play
Edge of the box, central0.05 – 0.08A half chance
Tight angle near the byline0.02 – 0.06A difficult, low-percentage shot
Long range (25 m+)0.01 – 0.03A speculative effort

What Affects a Shot's xG?

📏 Distance

The single strongest factor. xG falls steeply as the shot moves further from goal.

📐 Angle

How much of the goal is visible. Central shots have a wide angle; byline shots a narrow one.

🦵 Body Part

Foot shots are converted more often than headers from the same position.

Situation

Fast breaks and one-on-ones raise xG; free kicks and crowded set pieces lower it.

🥅 Penalties

Always taken from the same spot, so they get a fixed historical value of about 0.76.

🧱 Defensive Pressure

Full professional models also use defender positions and goalkeeper location, which this tool simplifies.

How to Use This Calculator

  1. Choose your units and distance: Pick yards or metres and enter how far the shot is from the goal line.
  2. Enter the sideways offset: Type how far the shot is from the centre of the goal. Use 0 for a shot directly in front.
  3. Pick body part and situation: Choose foot or header, and the game situation — open play, fast break, one-on-one, free kick, set piece or penalty.
  4. Click Calculate: See the xG value, the chance-quality rating, the shooting-angle cone on the pitch diagram, how it compares to a penalty, and the full step-by-step breakdown.

Frequently Asked Questions

What is xG (Expected Goals)?

xG, or Expected Goals, is a statistic that measures the quality of a goal-scoring chance. It is the probability that a shot will result in a goal, on a scale from 0 to 1, based on factors such as distance to goal, the angle to the goalposts, the body part used and the game situation. A shot with an xG of 0.30 would be expected to be scored about 30 times out of 100.

How is xG calculated?

xG is calculated with a statistical model, usually logistic regression, trained on thousands of historical shots. The model takes shot features like the shooting angle and distance to goal, combines them into a single score, and converts that score into a probability between 0 and 1 using the logistic (sigmoid) function. Our calculator uses coefficients calibrated so the output matches typical professional shot outcomes.

What is a good xG value for a shot?

Most shots have a low xG. A long-range effort is often below 0.05, a shot from the edge of the box is around 0.05 to 0.08, a chance inside the six-yard box can be 0.3 to 0.5 or higher, and a penalty is about 0.76. Any single shot above roughly 0.3 is considered a big chance.

Why does shot angle matter so much in xG?

The angle is how wide the goal appears from the shot location. A central shot sees the full width of the goal, while a shot from a tight angle near the byline sees only a sliver of goal to aim at. Two shots can be the same distance from goal but have very different xG values purely because of the angle, which is why a shot from the corner of the six-yard box is far harder than one straight in front.

Why is a penalty always about 0.76 xG?

A penalty is taken from a fixed spot, 12 yards out and dead centre, with no defenders in the way. Because every penalty is essentially identical, xG models do not compute its geometry. Instead they assign penalties their long-run historical conversion rate, which is roughly 76 percent in professional football.

Why is the xG of a header lower than a foot shot?

Headers are converted less often than foot shots from the same position because they are harder to direct and generate less power, and they usually come from crosses into a crowded box. xG models account for this by lowering the probability for headers, which is why this calculator reduces the xG when you select header instead of foot.

Additional Resources

Reference this content, page, or tool as:

"Soccer xG (Expected Goals) Calculator" at https://MiniWebtool.com/soccer-xg-expected-goals-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: May 31, 2026

Related MiniWebtools:

Soccer:

Top & Updated:

Random Name PickerRandom PickerInstagram User ID LookupFPS ConverterLine CounterSort NumbersRelative Standard Deviation CalculatorImage ResizerMAC Address GeneratorBatting Average CalculatorRemove SpacesFacebook User ID LookupRandom Truth or Dare GeneratorERA CalculatorFeet and Inches to Cm ConverterWord to Phone Number ConverterMAC Address LookupSun, Moon & Rising Sign Calculator 🌞🌙✨Slope and Grade CalculatorPercent Off CalculatorMP3 LooperSum Calculator📷 OCR / Image to TextBitwise CalculatorRandom IMEI GeneratorAudio SplitterInvisible Text GeneratorRoman Numerals ConverterRandom Superpower GeneratorAI Text HumanizerWord Ladder GeneratorRandom Credit Card GeneratorVertical Jump CalculatorSHA256 Hash GeneratorNumber of Digits CalculatorRandom Quote GeneratorHalfway Date CalculatorLog Base 10 CalculatorMerge VideosWAR CalculatorRandom Birthday Generator⬛ Aspect Ratio CalculatorSalary Conversion CalculatorCm to Feet and Inches ConverterMaster Number CalculatorRandom Fake Address GeneratorSaturn Return CalculatorPhone Number ExtractorRandom Activity GeneratorRandom Meal GeneratorOPS CalculatorFile Size ConverterOn Base Percentage CalculatorNumber to Word ConverterIP Subnet CalculatorRandom Writing Prompt GeneratorText FormatterSquare Root (√) CalculatorRandom Poker Hand GeneratorCompound Growth CalculatorSlugging Percentage CalculatorYouTube Channel StatisticsCaffeine Overdose CalculatorBinary to Gray Code ConverterLove Compatibility CalculatorDecimal to BCD ConverterRandom Loadout GeneratorRandom Movie PickerVideo to Image ExtractorBCD to Decimal ConverterOctal CalculatorBattery Life CalculatorMercury Retrograde CalendarLeap Years List🖱️ Click CounterCompare Two StringsStair Calculator📅 Date CalculatorFirst n Digits of PiConnect the Dots GeneratorCM to Inches ConverterRemove Accent🎰 Gacha Pity CalculatorSHA512 Hash GeneratorAdd Text to ImagePercent Growth Rate CalculatorWeight Loss CalculatorPER CalculatorGray Code to Binary ConverterRandom Object GeneratorLottery Number GeneratorBingo Card GeneratorAdd Prefix and Suffix to TextImage CompressorImage SplitterOutlier CalculatorCoin FlipperAstrological Element Balance CalculatorSmall Text Generator ⁽ᶜᵒᵖʸ ⁿ ᵖᵃˢᵗᵉ⁾Arc Length CalculatorVideo CompressorNumber ExtractorTime Duration CalculatorDay of the Year Calculator - What Day of the Year Is It Today?Quotient and Remainder CalculatorWhat is my Lucky Number?Diff CheckerMultiple Fraction CalculatorFlip VideoList of Prime NumbersProportion CalculatorRandom Emoji GeneratorWhat is my Zodiac Sign?Acreage CalculatorWord Scramble GeneratorIP Address to Hex ConverterBcrypt Hash Generator / CheckerMandelbrot Set ExplorerAngel Number CalculatorBreak Line by CharactersLongest Day of the YearURL ExtractorRandom Line PickerRandom Time GeneratorCone Flat Pattern (Template) GeneratorModulo CalculatorTessellation GeneratorName Number CalculatorBinary to BCD ConverterDay of Year CalendarAI Language DetectorEmail ExtractorDNS LookupRandom Chess Opening Generator🔍 Plagiarism CheckerVideo SplitterMiter Angle CalculatorWHIP CalculatorAntilog CalculatorMD5 Hash GeneratorLunar Calendar ConverterYouTube Tag ExtractorCrossword Puzzle MakerRandomize NumbersRemove Leading Trailing SpacesMartingale Strategy CalculatorRandom Chord GeneratorDMS to Decimal Degrees ConverterIs it a Prime Number?Steel Weight CalculatorAdjust Video SpeedAI Punctuation AdderLong Division CalculatorRandom Number PickerMolarity CalculatorFirst n Digits of eCollage MakerPercentile CalculatorShort Selling Profit CalculatorArctan2 CalculatorJulia Set GeneratorRandom User-Agent GeneratorHeight Percentile CalculatorBolt Torque CalculatorHypotenuse CalculatorMorse Code GeneratorBroken Link CheckerRandom Tournament Bracket GeneratorColor InverterRandom Group GeneratorBonus CalculatorFraction CalculatorHTML CompressorMultiplication CalculatorRounding CalculatorAI ParaphraserPregnancy CalendarYouTube Earnings EstimatorName RandomizerRandom Name GeneratorRatio to Percentage CalculatorBirth Day of the Week CalculatorBoiling Point CalculatorMAC Address AnalyzerPizza Value CalculatorDestiny Number CalculatorSocial Media Username CheckerPVIF CalculatorPVIFA CalculatorGrade CalculatorField Goal Percentage CalculatorSquare Numbers ListHebrew Calendar ConverterLife Path Number CalculatorDue Date CalculatorBoxing Punch Power CalculatorTaco Bar Calculator🎲 Loot Drop Probability CalculatorSort Lines AlphabeticallyHex to BCD ConverterBCD to Binary ConverterBCD to Hex ConverterMedian CalculatorStandard Error CalculatorList RandomizerAverage CalculatorReverse VideoRemove Audio from VideoActual Cash Value CalculatorScientific Notation to Decimal ConverterLog Base 2 CalculatorRoot Mean Square CalculatorSum of Positive Integers CalculatorSHA3-256 Hash GeneratorAI Sentence ExpanderLbs to Kg ConverterHex to Decimal ConverterConvolution CalculatorRandom String GeneratorAmortization CalculatorMarkup CalculatorDecimal to Hex ConverterInstagram Font GeneratorSocial Media Image Size GuideTikTok Money CalculatorTwitter/X Character CounterTwitter/X Timestamp ConverterYouTube Watch Time CalculatorTwitch Earnings CalculatorYouTube Shorts Monetization CalculatorFacebook Ad Cost CalculatorSocial Media ROI CalculatorSocial Media Post Time OptimizerCTR CalculatorROAS CalculatorInfluencer ROI CalculatorForce CalculatorAcceleration CalculatorVelocity CalculatorMomentum CalculatorProjectile Motion CalculatorKinetic Energy CalculatorPotential Energy CalculatorWork and Power CalculatorDensity CalculatorPressure CalculatorIdeal Gas Law CalculatorFree Fall CalculatorTorque CalculatorHorsepower CalculatorDilution CalculatorChemical Equation BalancerStoichiometry CalculatorPercent Yield CalculatorEmpirical Formula CalculatorTitration CalculatorMole/Gram/Particle ConverterIrregular Polygon Area CalculatorFrustum CalculatorTorus Calculator3D Distance CalculatorGreat Circle Distance CalculatorCircumscribed Circle (Circumcircle) CalculatorInscribed Circle (Incircle) CalculatorAngle Bisector CalculatorTangent Line to Circle CalculatorHeron's Formula CalculatorCoordinate Geometry Distance CalculatorVolume of Revolution CalculatorSurface of Revolution CalculatorParametric Curve GrapherRiemann Sum CalculatorTrapezoidal Rule CalculatorSimpson's Rule CalculatorImproper Integral CalculatorL'Hôpital's Rule CalculatorMaclaurin Series CalculatorPower Series CalculatorSeries Convergence Test CalculatorInfinite Series Sum CalculatorAverage Rate of Change CalculatorInstantaneous Rate of Change CalculatorRelated Rates SolverOptimization Calculator (Calculus)Gradient Calculator (Multivariable)Divergence CalculatorCurl CalculatorLine Integral CalculatorSurface Integral CalculatorJacobian Matrix CalculatorNewton's Method CalculatorRREF Calculator (Row Echelon Form)Matrix Inverse CalculatorMatrix Multiplication CalculatorDot Product CalculatorCross Product CalculatorVector Magnitude CalculatorUnit Vector CalculatorAngle Between Vectors CalculatorNull Space CalculatorColumn Space CalculatorCramer's Rule CalculatorMatrix Diagonalization CalculatorQR Decomposition CalculatorCholesky Decomposition CalculatorMatrix Power CalculatorCharacteristic Polynomial CalculatorBayes' Theorem CalculatorF-Test / F-Distribution CalculatorHypergeometric Distribution CalculatorNegative Binomial Distribution CalculatorGeometric Distribution CalculatorExponential Distribution CalculatorWeibull Distribution CalculatorBeta Distribution CalculatorSpearman Rank Correlation CalculatorFisher's Exact Test CalculatorContingency Table CalculatorOdds Ratio CalculatorROT13 Encoder/DecoderAtbash Cipher ToolVigenère Cipher ToolPronunciation IPA ConverterHemingway-Style Readability EditorSentence Length Variance AnalyzerWord Frequency AnalyzerBusiness Days CalculatorAdd Business Days to DateDate Pattern GeneratorHow Long Until CalculatorHow Long Ago CalculatorBirthday Across Cultures CalculatorHijri Calendar ConverterInsulin Sensitivity Factor CalculatorCarb-to-Insulin Ratio CalculatorLean Body Mass to Strength CalculatorOne-Mile Walk Test (Rockport) CalculatorCooper 12-Minute Run CalculatorFFMI CalculatorAPGAR Score CalculatorGlasgow Coma Scale CalculatorWells Score Calculator (DVT/PE)Tennis Score TrackerSoccer xG (Expected Goals) CalculatorCricket Run Rate CalculatorRugby Points CalculatorRace Time PredictorSwimming SWOLF CalculatorYoga Pose Hold TimerFishing Knot Strength CalculatorBike Gear Ratio CalculatorClimbing Grade ConverterWine Pairing SuggesterStandard Drink CalculatorCaffeine Half-Life TrackerSpice Substitution FinderDietary Restriction Recipe FilterMarinade Time CalculatorFermentation Time CalculatorSmoking Wood Pairing GuideFreelance Project Pricing CalculatorSaaS Pricing CalculatorSubscription Cost TrackerSide Hustle ROI CalculatorRemote Work Savings CalculatorCoffee Habit Cost CalculatorGym vs Home Workout Cost CalculatorLunch Cost CalculatorWealth Growth Visualizer1031 Exchange CalculatorRental Yield CalculatorCash-on-Cash Return CalculatorBRRRR Method CalculatorSection 8 Rent CalculatorRoommate Rent SplitterAirbnb Pricing OptimizerStatute of Limitations CalculatorSentence Reduction CalculatorSales Tax Nexus CheckerPatent Filing Fee CalculatorTrademark Class FinderWill Asset Distribution CalculatorWorkers' Compensation CalculatorStopping Distance CalculatorTrip Cost SplitterVehicle Weight Distribution CalculatorTrailer Tongue Weight CalculatorTire Tread Wear CalculatorEngine Compression Ratio CalculatorHeadlight Beam Distance CalculatorCat Litter Box CalculatorAquarium Heater Wattage CalculatorBird Cage Size CalculatorReptile Habitat UVB CalculatorPet Travel Crate Size FinderHorse Hay CalculatorCrochet Hook Size ConverterKnitting Needle Size ConverterKnitting Pattern CalculatorCross-Stitch Floss CalculatorQuilt Binding CalculatorOrigami Paper Size CalculatorPottery Clay Shrinkage CalculatorBeading Pattern CalculatorResin Casting Volume CalculatorEmbroidery Thread Length CalculatorHiking Pace Calculator (Naismith's Rule)Backpacking Food Weight CalculatorTent Footprint Size CalculatorSleeping Bag Temperature Rating GuideKnot Tying Reference ToolStar Visibility CalculatorTide Time CalculatorSun Position CalculatorReynolds Number CalculatorBernoulli Equation CalculatorHeat Transfer CalculatorThermal Expansion CalculatorSpecific Heat Capacity CalculatorGear Ratio Calculator (Mechanical)Pulley System CalculatorHydraulic Cylinder Force CalculatorBelt Length CalculatorCloset Capsule CalculatorStorage Unit Size CalculatorMoving Box Quantity CalculatorGift Card Tip CalculatorGas vs Electric Cost ComparisonPrint Cost CalculatorHair Dye Mixing CalculatorLaundry Detergent Dosage CalculatorDishwasher Load OptimizerTile Grout CalculatorPaint Color Mixing CalculatorFlashcard Spaced Repetition SchedulerLearning Curve CalculatorCornell Notes GeneratorVocabulary Quiz GeneratorLanguage Learning Hours to Fluency CalculatorCollege Cost CalculatorScholarship ROI Calculator