In games of association football, teams compete to score the most goals during the match. A goal is scored when the ball passes completely over a goal line at either end of the field of play between two centrally positioned upright goal posts 24 feet (7.32 m) apart and underneath a horizontal crossbar at a height of 8 feet (2.44 m) — this frame is itself referred to as a goal. Each team aims to score at one end of the pitch, while preventing their opponents from scoring at the other end. Nets are usually attached to the goal frame to catch goalscoring balls, but the ball is not required to touch the net.

Rules

Rules concerning goal scoring are described in Law 10 of the Laws of the Game:

As with other cases of the ball travelling out of the field of play, all of the ball must cross all of the line, otherwise play continues. A goal is credited to the team attacking the goal scored upon, regardless of which team actually caused the ball to enter the goal. A ball entering a goal from the action of a player defending that goal is called an own goal.

If the ball hits the frame of the goal and remains in play, play continues. Goals can be scored going in off the goal frame.

Even if serious foul play unambiguously prevents a goal from being scored, the referee cannot award a goal unless the ball enters the goal as described above; i.e., there is no provision for awarding a goal akin to the penalty try in rugby football or the goaltending offence in basketball (although such a provision did once exist, as described below).

A goal cannot be scored directly from a dropped ball, indirect free kick or a throw-in. Should the ball go into the opponents' goal from these without first being touched by another player, play is restarted with a goal kick. A player cannot score an own goal directly from any restart of play (other than a penalty kick); in that case a corner kick would be awarded. Both of these situations, especially the latter, are exceedingly rare.

As a result of rule-changes introduced in 2019, it is not possible to score an attacking goal with the hands or arm.  If a goalkeeper throws the ball directly into the opponent's goal from his/her own penalty area, no goal is awarded: instead a goal-kick is awarded to the defending side.  If the ball goes directly into the opponent's goal from the hands or arm of a player in any other circumstances, the handling is penalised as a handball offence (even if it was unintentional, or would otherwise have been legal). It remains possible to score an own goal with the hands or arm.

If a player or team official is illegally on the field of play when that person's team scores a goal, the goal is disallowed, with a direct free kick being awarded to the opposing side.

After a goal is scored, play is restarted with a kick-off by the side which conceded the goal.

Deciding whether a goal has been scored

Most goals are relatively unambiguous, as the ball will usually strike the net attached to the goal structure indicating that it has passed over the goal line as described above. Occasionally, however, situations occur where it is difficult for officials to tell if the ball completely crossed the goal line before a rebound, save, or clearance from the goal area. Additionally, even if the ball crosses the goal line as required, a goal may be disallowed if the attacking team commits an infringement of the Laws of the Game, such as the offside offence or a foul.

As with all other decisions on the Laws of the Game, the referee is the final authority as to whether a goal is scored. The match referee is advised by assistant referees, whose view across the pitch from the sidelines may in some cases be more useful in determining whether the ball crossed the goal line or whether the attacking team committed an infringement.

Goals incorrectly awarded or disallowed due to mistakes in determining if the ball crossed the line are referred to as ghost goals. The goal net was one of the earliest tools employed to aid match officials in determining whether a goal was scored. Introduced in the 1890s, the goal net provides a simple way to help determine whether the ball passed on the correct side of the goal posts and crossbar. Although not mandated by the Laws of the Game, goal nets are now ubiquitous across most levels of organised football. Since 2012, goal-line technology has been used at the highest levels of professional football; it employs a system of cameras and/or sensors to provide the referee with a discreet signal when the ball has crossed the goal line. The video assistant referee was added in 2018 after years of trials; this is an additional assistant referee who constantly monitors video footage of the match and is empowered to advise the referee if he/she makes "clear and obvious errors" in matters, including in the awarding of goals.

Attribution of goals
The Laws make no mention of attributing goals to individual players. Nevertheless, goals are almost always attributed to individuals, that player being the one who provided the final action causing the goal to be scored. Generally, this is the last player to touch the ball, notwithstanding inconsequential deflections such as failed attempts at a save. Should a player cause a goal to be scored against their own team, the goal is recorded as an own goal.

The authority on attributing goals varies between competitions. The Premier League in England has a dedicated Dubious Goals Committee for resolving attribution disputes.

For an individual player, scoring multiple goals in a game is considered a notable achievement. In association football, a hat-trick refers to the uncommon feat of scoring three goals in a single game. Awards exist for individual players who score the most goals in some competitions, such awards are often called the "Golden Boot".

Goal celebrations

Players will typically celebrate scoring a goal with team mates, occasionally putting on elaborate displays for the crowd. The Laws allow this, but mandate that celebration must not be "excessive".

Quantity of goals
On average, only a few scores occur per game in association football.

An analysis of several years' results from several English leagues found that 1–0 was the most common result, occurring in approximately 20% of games.

History

Before 1863
In English traditional football, the object of the game was typically to convey a ball into a specified area, or to touch a specific object (the area or object often being called the "goal") defended by the opposing team.  This feat might itself be called a "goal"; alternative names such as "inn" were also in use.  The game might be decided by a fixed number of goals (e.g. first goal scored wins or best of three) or be played for a fixed period of time.

In the more formalised football games of English public schools and universities, the object was typically to kick the ball between goal-posts guarded by the opposition.  This might be required to be above a crossbar (as in the game of football played at Rugby School), below a bar or other object (as in the Sheffield Rules of 1862) or at any height (as at Shrewsbury School).

The 1863 FA Rules
The size and type of goals were among the first questions decided by the Football Association (FA).  At its second meeting, on 10 November 1863, the FA agreed on the following three resolutions:

 The goals should be defined by two upright posts without any tape or bar across them.
 That a goal should be scored whenever the ball was kicked between the goalposts or over the space between them.
 That the goal-posts be 8 yards apart.

The next meeting, on 17 November, added the further condition that a goal could not be scored when the ball was "thrown, knocked or carried" between the posts.

These points were reflected in the first draft of the Laws of the Game created by FA secretary E. C. Morley.  Morley's proposal met with objections expressed in correspondence from J. C. Thring of Uppingham School, and also from William Chesterman of Sheffield F. C., principally on the grounds that it would be difficult to judge whether a ball that went above the height of the posts should count as a goal; Thring correctly predicted that a crossbar "w[ould] be adopted in the end".  Nevertheless, this feature of the game was preserved in the Association's first published set of laws, which read:

Subsequent developments

Introduction of tape / crossbar 

At the first revision of the FA rules, in 1866, a tape was introduced between the posts at a height of 8 feet, with a goal counting only if the ball went below this tape.  According to a contemporary newspaper report of the meeting: 

In 1875, after a proposal by Queen's Park FC, the laws allowed the option of using either a crossbar or tape. At the International Football Conference of December 1882, it was decided to require a crossbar;  this change was introduced into the Football Association's laws in 1883.

The dimensions of the goal (8 yards wide and 8 feet high) have remained unchanged since 1866.

Use of hands to score a goal
The original FA laws of 1863 disallowed a goal when the ball was "thrown, knocked on, or carried",  even if the handling was otherwise legal. In 1882, a change in the laws, introduced by Nicholas Lane Jackson of Finchley FC and Morton Betts of Old Harrovians FC, made it possible to score an own goal by use of the hands.

In 1962, a change introduced by the Scottish Football Association permitted a goal-keeper to score a goal by throwing the ball into the opposing goal from his own penalty area. This innovation was heavily criticised in some quarters. In 1974, a further change to the laws allowed a goal to be scored when the ball was handled unintentionally by an attacker. In 2019 both of these changes were reversed:

 it was specified that a goalkeeper cannot score against the opposing team by throwing the ball directly into goal from his/her own penalty area.  Should the ball go into the opponents' net in these circumstances, a goal-kick is awarded to the defending team.
 it was made a handball offence for a player to "score in the opponents’ goal directly from their hand/arm, even if accidental, including by the goalkeeper"

Goal awarded for handball by opposition
The original laws of the game, in 1863, specified no punishments for infringements of the rules.  In 1872, the indirect free kick was introduced as a punishment for handball.  This indirect free-kick was thought to be an inadequate remedy for a handball which prevented an otherwise-certain goal.  From a meeting of the Sheffield Football Association in February 1879, we have the following report: After a "long and noisy discussion", the change was rejected.

At the 1881 meeting of the Football Association, a similar proposal was introduced by J. Arnall and J. B. Clayton of the Birmingham Football Association, but it was likewise rejected.  Such a law was finally approved the next year, to become part of the FA's laws for the 1882-83 season: 
This goal, which was similar to today's penalty try in rugby, survived as part of the game for only one season.  At the International Football Conference of December 1882, it was decided to remove this law from the 1883-84 season.  One commentator wrote that the rule "was the means of causing the referee a very awkward point to decide at times, and we all know the duties of the referee are heavy enough without this; and, further, the penalty, in my opinion, is too great [...]  A free kick [...] is quite sufficient".

Goal scored from set-piece

The laws have at various times restricted the ability to score from a set piece situation (such as a free kick or corner-kick). If the ball goes into the goal directly from such a restart but the laws do not permit the awarding of a goal, depending on which team performed the set piece a goal kick or corner kick is awarded.

Summary

See also
 Determining the Outcome of a Match (association football)

Notes

References

 

Scoring (association football)
Association football terminology
Laws of association football