
By a neck
Racing Origin
The phrase originates from horse racing, where a 'neck' is the literal margin of victory. 
Close Competitions
Use 'by a neck' to describe very close competitions, not just races, to emphasize how narrow the win was. 
Figurative Use
The phrase is often used figuratively, meaning it's not about actual physical distances. 