In sports, the Pythagorean theorem finds diagonal distances on fields, courts and pools. Its best-known use is in baseball: the bases form a square with 90 ft sides, so the catcher's throw from home plate to second base is 90√2 ≈ 127.3 ft. The same calculation works for softball diamonds, soccer pitches, football fields and pool tables.
Baseball: the throw from home plate to second base
The four bases in baseball sit at the corners of a square, 90 ft on each side. It looks like a diamond only because we usually see it corner-first, from behind home plate. Home plate, first base and second base form a right triangle with the right angle at first base, so the distance from home to second is its hypotenuse:
d= √902 + 902 = √16,200 = 90√2≈ 127.28 ftThe 0.28 ft left over is about 3.35 in, and the official rules list the distance as 127 ft 3⅜ in, which is 90√2 rounded to the nearest eighth of an inch. Because the triangle is isosceles, this is the 45-45-90 triangle shortcut: the diagonal of any square is its side times √2.
Example 1: how long does the throw take?
A catcher throws to second at 80 mph. Ignoring the arc and air resistance, how long is the ball in the air?
80 mph= 80 × 5,280 ft over 3,600 s ≈ 117.3 ft/st= 127.3 ft over 117.3 ft/s ≈ 1.09 sAbout 1.1 seconds, which is why a runner trying to steal second needs a big lead and a fast start. A real throw follows a slight arc; the physics page shows how speed and direction combine along a curved path.
Example 2: is the pitcher in the middle?
The front of the pitcher's plate is 60 ft 6 in from home plate. The center of the infield is halfway along the diagonal:
90√2 over 2 = 45√2 ≈ 63.64 ftNo. The pitcher's plate is about 3.1 ft in front of the center of the square, closer to home.
The throw from third base to first base runs along the other diagonal of the square, so it is also about 127.3 ft, and longer still when the fielder makes it from behind the bag. Groundskeepers use the same fact when they lay out a field: if both diagonals measure 127 ft 3⅜ in, the corners are square, the trick builders use for squaring foundations.
Softball and youth baseball diamonds
Smaller diamonds scale the same way: the home-to-second distance is always the base path times √2 ≈ 1.414. Fast-pitch softball and Little League baseball both use 60 ft base paths, and some adult slow-pitch leagues use 65 ft.
| Diamond | Base path | Home to second |
|---|---|---|
| Little League baseball, fast-pitch softball | 60 ft | 60√2 ≈ 84.9 ft |
| Some adult slow-pitch softball | 65 ft | 65√2 ≈ 91.9 ft |
| High school, college and professional baseball | 90 ft | 90√2 ≈ 127.3 ft |
A softball catcher's throw to second, about 84 ft 10¼ in, is roughly 42 ft shorter than a baseball catcher's. To try other sizes, the rectangle diagonal calculator works for any square or rectangle.
Soccer: pitch diagonals and penalty kicks
Soccer's Laws of the Game allow a range of pitch sizes: 90 to 120 m long and 45 to 90 m wide, with international matches restricted to 100–110 m by 64–75 m. Many professional stadiums use 105 m × 68 m. Running corner flag to corner flag on that pitch covers
√1052 + 682 = √15,649 ≈ 125.1 mThe smallest legal pitch, 90 m × 45 m, has a diagonal of about 100.6 m. The largest, 120 m × 90 m, has a diagonal of exactly 150 m, because 90-120-150 is the 3-4-5 triangle multiplied by 30.
Example 3: penalty mark to the post and the top corner
The penalty mark is 11 m from the center of the goal line, and the goal is 7.32 m wide and 2.44 m high. How far is it from the mark to the inside of a post, and to the top corner?
to the post= √112 + 3.662 ≈ 11.59 mto the top corner= √112 + 3.662 + 2.442 ≈ 11.85 mAbout 11.59 m and 11.85 m. The top corner uses the 3D version of the theorem. A shot at 25 m/s would reach it in about 11.85 ÷ 25 ≈ 0.47 s.
American football: the field's diagonal
An American football field is 100 yd (300 ft) between the goal lines, plus a 10-yd end zone at each end, for 120 yd (360 ft) in total. It is 53⅓ yd (160 ft) wide.
goal line to goal line= √3002 + 1602 = √115,600 = 340 ftincluding end zones= √3602 + 1602 ≈ 394.0 ftThe first answer comes out whole because 160-300-340 is the 8-15-17 triple multiplied by 20 (see Pythagorean triples). Corner to corner including the end zones is about 131.3 yd.
Passing plays use the same idea. A receiver 40 yd downfield and 15 yd to the side of the quarterback is √402 + 152 ≈ 42.7 yd away horizontally, so the pass travels farther than the 40 yd the play gains.
Swimming pools and pool tables
An Olympic-size pool is 50 m long and 25 m wide. Its surface diagonal is
√502 + 252 = √3,125 = 25√5 ≈ 55.9 mIf the pool is 2 m deep, the longest straight line inside it, from a top corner to the opposite bottom corner, is √502 + 252 + 22 ≈ 55.94 m. The depth adds only 4 cm, because a short leg barely changes the hypotenuse.
On a regulation 9-ft pool table, the playing surface is 100 in × 50 in, so the diagonal from corner pocket to corner pocket is √1002 + 502 = √12,500 ≈ 111.8 in. The theorem also helps with bank shots, through a mirror trick.
Example 4: a one-rail bank shot
Measure from one corner of the table. The cue ball is at (20, 20) in and the target ball at (80, 30) in, and you want to bank off the far long rail at y = 50. Reflecting the target in that rail puts its mirror image at (80, 70).
path length = √(80 − 20)2 + (70 − 20)2 = √6,100 ≈ 78.1 inThe ball travels about 78.1 in, found with the distance formula. The aiming point is where the straight line crosses the rail, at x = 20 + 60 × 30 over 50 = 56 in.
This is the ideal, frictionless version. Spin and the cushion's give change where a real ball rebounds, which is why players adjust by feel, but the mirror picture is the starting point.
Field and court diagonals at a glance
| Playing area | Dimensions | Diagonal |
|---|---|---|
| Baseball infield | 90 × 90 ft | 127.3 ft |
| Softball / Little League infield | 60 × 60 ft | 84.9 ft |
| Tennis court (doubles lines) | 78 × 36 ft | 85.9 ft |
| NBA basketball court | 94 × 50 ft | 106.5 ft |
| Soccer pitch (common pro size) | 105 × 68 m | 125.1 m |
| American football field, with end zones | 360 × 160 ft | 394.0 ft |
| Olympic swimming pool | 50 × 25 m | 55.9 m |
| 9-ft pool table (playing surface) | 100 × 50 in | 111.8 in |
Each diagonal is √length2 + width2, rounded to one decimal place; the Pythagorean theorem calculator shows the working for any pair of sides. For practice problems in this style, see the word problems page, and for applications beyond sport, what the Pythagorean theorem is used for.
The "Pythagorean expectation" is a different formula
Baseball fans also meet the word "Pythagorean" in statistics. The Pythagorean expectation, devised by the baseball writer Bill James around 1980, estimates what fraction of its games a team "should" have won from the runs it scored and allowed:
expected win % ≈ runs scored2 over runs scored2 + runs allowed2Example 5: expected wins
A team scores 800 runs and allows 650 in a 162-game season.
8002 over 8002 + 6502 = 640,000 over 1,062,500 ≈ 0.602, 0.602 × 162 ≈ 97.6The formula expects about 98 wins. If the team actually won 90 or 105, analysts would look at its record in close games for an explanation.
The name comes from the look of the formula: a sum of two squares in the denominator, just like a2 + b2. That resemblance reminded James of the Pythagorean theorem. There is no right triangle in the problem and no distance being measured; the formula is an empirical model that happens to fit real results well.
The exponent 2 is not special either. Later analysts found that an exponent of about 1.83 fits Major League Baseball slightly better (it gives about 96 wins for the team above), and the same idea has been adapted to other sports with very different exponents, much larger in basketball.
A geometric curiosityIf you do draw a right triangle with legs equal to runs scored and runs allowed, the expectation equals (runs scored over c)2, the square of the cosine of the angle beside the runs-scored leg. It is a cute coincidence, not the reason the formula works.
Frequently asked questions
How far is it from home plate to second base?
In high school, college and professional baseball it is 90√2 ≈ 127.3 ft, listed in the rules as 127 ft 3⅜ in. On a 60 ft diamond, used in Little League and fast-pitch softball, it is about 84.9 ft.
How is the Pythagorean theorem used in baseball?
The base paths meet at right angles, so any throw across the infield is the hypotenuse of a right triangle. Home to second and third to first are both 90√2 ft. Coaches, groundskeepers laying out a field, and broadcasters estimating throw times all rely on that number.
Why is it called the Pythagorean expectation?
Because its formula, runs scored squared divided by the sum of runs scored squared and runs allowed squared, contains a sum of two squares like a2 + b2. Bill James named it for that resemblance. It is a statistical estimate, not an application of the theorem.
How long is the diagonal of a soccer field?
It depends on the pitch, because the rules allow a range of sizes. On the common 105 m × 68 m professional pitch, corner flag to corner flag is about 125.1 m. Legal pitches range from about 100.6 m (90 × 45 m) to exactly 150 m (120 × 90 m) on the diagonal.
Is the pitcher's mound in the middle of the diamond?
Not quite. The front of the pitcher's plate is 60 ft 6 in from home plate, while the center of the infield square is half the diagonal, 45√2 ≈ 63.6 ft away. So the pitcher stands about 3 ft closer to home than the true center.
Keep exploring
- LearnThe 45-45-90 TriangleThe 45-45-90 triangle rules: why the sides are in the ratio 1 : 1 : √2, how to find a leg from the hypotenuse, the diagonal of a square, and worked examples.
- CalculatorsRectangle Diagonal CalculatorFree rectangle diagonal calculator. Enter any two of length, width and diagonal to get the third, plus the diagonal angle, square mode and full working.
- LearnThe Pythagorean Theorem in 3DThe Pythagorean theorem in 3D: find the space diagonal of a box or cube, d = √(l² + w² + h²), with an animated two-step proof, fit problems and 3D distance.
- TriplesPythagorean TriplesWhat Pythagorean triples are, the common ones to know (3-4-5, 5-12-13, 8-15-17…), how to generate and recognize them, and the patterns every triple shares.
- PracticePythagorean Theorem Word Problems15 Pythagorean theorem word problems from real life (ladders, TVs, ramps, ships, kites, roofs) with a 4-step strategy, a sketch for each and full solutions.
- Real-life usesWhat Is the Pythagorean Theorem Used For?What is the Pythagorean theorem used for? 17 real-life uses in building, screens, navigation, GPS, games, physics and sports, each with a worked calculation.