Baseball

Home run simulator

Pick an exit velocity, a launch angle and a ballpark fence. The simulator flies the ball through real air and shows whether it clears the wall, how far it travels and what altitude, heat and wind add.

Home run. The ball clears the fence with 0.9 ft to spare and comes down 408 ft from the plate.
Distance408ftwhere the ball would land at field level, 5.5 s after contact
At the fence
0.9ft
above the top of the wall
Peak height
93ft
Hang time
5.5s
Speed at landing
54mph
Landing angle
49°
Best launch angle
28.0°
longest fly at this exit speed and spin
Typical backspin here
2,229rpm
Nathan’s fit for this speed and angle

Same exit velocity, other launch angles

Launch angleDistancePeak heightHang time (s)Result
15°368 ft42 ft4.0In play
20°394 ft61 ft4.6In play
25°406 ft81 ft5.2Off the wall
28° (yours)408 ft93 ft5.5Home run
30°407 ft101 ft5.7Home run
35°399 ft121 ft6.1In play
40°382 ft140 ft6.4In play
45°357 ft158 ft6.7In play

Backspin is kept at your value in every row. In real swings it rises with launch angle.

Same swing, different air

ConditionsDistancePeak heightHang time (s)Result
Sea level, 21 °C (70 °F), calm408 ft93 ft5.5Home run
Cold night, 7 °C (45 °F)399 ft93 ft5.5In play
Hot day, 35 °C (95 °F)417 ft93 ft5.5Home run
1,580 m (5,200 ft), 21 °C439 ft93 ft5.4Home run
Wind out 16 km/h (10 mph)446 ft90 ft5.3Home run
Wind in 16 km/h (10 mph)363 ft96 ft5.6In play
  • Drag and lift follow Alan Nathan’s Trajectory Calculator (2016 version, fitted to Statcast batted balls): the distance table in that spreadsheet is reproduced to within 2 ft. Air is 50% humid; contact is 3 ft above the plate.
  • These are average distances. Real balls with the same exit speed and angle scatter by several metres because of seam orientation, sidespin and gusts. Constants checked on 2026-11-24.

What you are watching

A fly ball from the side, from home plate to the outfield fence, drawn to scale on a wide screen. You choose how the ball leaves the bat: exit velocity, launch angle and backspin. You choose the ballpark: how far the fence is and how high. And you choose the air: altitude, temperature and wind.

Drag the red arrow at the plate to change angle and exit velocity together, and watch the dashed line rise and fall against the fence. Press Swing to fly the ball. If it clears the wall the plate says so, and the read-out shows by how much. Earlier swings stay on screen as numbered grey lines.

Worked example

The default is a well-struck ball to straightaway centre: fence 122 m (400 ft) away and 2.4 m (8 ft) high, sea level, 21 °C (70 °F), no wind.

  • Exit velocity 169 km/h (105 mph), launch angle 28°, backspin 2,100 rpm
  • Peak height 28 m (93 ft), hang time 5.5 s
  • At the fence the ball is 0.23 m (9 in) above the top of the wall: a home run with nothing to spare
  • It would land 124 m (408 ft) from the plate, coming down at 49° and 88 km/h (54 mph)

Take 2 km/h off the exit velocity and the ball hits the wall 2 m below the top. Move the same swing to 1,580 m of altitude and it lands 134 m (440 ft) away.

The model

The ball is a point mass with gravity, drag and the lift produced by backspin. The coefficients are those of Alan Nathan’s Trajectory Calculator, which he fitted to the distances of batted balls tracked by Statcast in 2015:

a = g + K × v × (−Cd × v_vector + Cl × (spin axis × v_vector)), K = ρ·A ÷ 2m

Cd = 0.4105 × (1 + 0.0044 × (100 − v0)) × (1 + 0.2017 × S²) v0 = exit speed in mph Cl = 1 ÷ (2.32 + 0.4 ÷ S) S = r·ω ÷ v, with spin fading on a time scale of 25 s

ρ = 1.2929 × 273 ÷ (T + 273) × (760 × e^(−0.0001217 × h) − 0.3783 × RH × SVP ÷ 100) ÷ 760

The ball weighs 5.125 oz (145 g) and is 9.125 in (23.2 cm) around. T is the temperature in °C, h the altitude in metres, RH the relative humidity (50% here) and SVP the saturation vapour pressure. Contact is 3 ft above the plate.

Check. Nathan’s spreadsheet contains a table of distances for exit speeds from 80 to 115 mph and launch angles from 15° to 40°. This simulator reproduces all 48 values to within 2 feet. For 100 mph at 30° he gives 385.3 ft and 5.44 s of hang time; the simulator gives 384.3 ft and 5.44 s.

Distance by exit velocity and launch angle

Distances in feet at 78 °F and sea level, with typical backspin for each angle, from Nathan’s calculator:

Exit velocity 20° 25° 30° 35°
90 mph 296 323 333 329
95 mph 324 351 359 352
100 mph 353 379 385 376
105 mph 382 408 412 399
110 mph 412 437 438 422

Each extra mph of exit velocity is worth about 5 feet of distance. That is why exit velocity is the first number hitters look at.

What is assumed

  • Fitted to measurements, by Nathan: the drag and lift coefficients. They describe the average ball. He notes that real distances scatter considerably around these values because individual balls differ in drag and because wind is rarely known.
  • Modelled: the flight, in a vertical plane. The ball goes straight to the part of the fence you describe. Sidespin, which makes balls hook or slice toward the foul lines and shortens them a little, is left out.
  • Assumed: steady wind at all heights, 50% humidity, a ball at normal temperature and dryness.
  • Not modelled: the bat. Exit velocity and launch angle are inputs here, not results of a swing.

The fence presets describe generic outfield shapes. They are not the dimensions of any particular ballpark.

Reading the results

Distance is where the ball would come down at field level if nothing stood in its way. At the fence is the gap between the bottom of the ball and the top of the wall when the ball gets there: positive means over. Best launch angle is the angle with the longest distance for your exit velocity and spin. Typical backspin here is Nathan’s estimate of the spin a real batted ball carries at your speed and angle, a useful value to copy into the backspin field when you change the launch angle a lot.

The second table moves your swing through six kinds of air. Try the challenge Thin air: find a combination of altitude, heat and wind that carries a 100 mph ball over a 400-foot fence.

Frequently asked questions

How far does a ball hit at 100 mph travel?
About 380 feet (116 m) at the best launch angle, at sea level and 70 °F. Alan Nathan's Trajectory Calculator, fitted to Statcast batted balls, gives 385 feet for 100 mph at 30° on a 78 °F day. A ball hit at 110 mph at the same angle travels about 438 feet.
What is the best launch angle for a home run?
Between 25° and 30° for most hard-hit balls. At 105 mph the longest fly in this model comes at 28°. The curve is flat near the top: anything from 24° to 32° is within 1.5 m of the maximum. Below 20° the ball is a line drive that runs out of height before the fence.
How much further does the ball fly in Denver?
About 7% at 1,580 m (5,200 ft) for the same contact. In this model a 100 mph fly ball at 28° travels 381 feet at sea level and 409 feet at that altitude, 28 feet more. The air is about 17% thinner, so drag takes less speed away.
Does temperature affect home run distance?
Yes. Warm air is thinner. Nathan's analysis of game data puts the effect at about 0.33 feet of fly ball distance per degree Fahrenheit. In this model the default 105 mph ball flies 399 feet at 45 °F and 417 feet at 95 °F, which is 0.35 feet per degree.
How much does wind help or hurt?
A lot. A steady 10 mph (16 km/h) wind blowing straight out adds 38 feet to the default fly ball, and the same wind blowing in takes 45 feet away. Wind in a real ballpark swirls and changes with height, so treat these as upper estimates.
How much backspin does a fly ball have?
Roughly 2,000 to 2,500 rpm at home run launch angles. Nathan's fit to Statcast data gives about 2,100 rpm for 100 mph at 28°, rising with launch angle and exit speed. Backspin creates lift that keeps the ball up longer: the default ball stays in the air 5.5 seconds.
What exit velocity do you need to hit a home run?
To clear an 8-foot fence 400 feet from the plate at sea level and 70 °F, about 105 mph at 28°. A 330-foot corner needs about 92 mph. Altitude, heat or a wind blowing out lower those numbers.

Sources

  1. Nathan AM. Baseball Trajectory Calculator (version of 20 August 2016), The Physics of Baseball, University of Illinois
  2. Nathan AM. The effect of spin on the flight of a baseball. American Journal of Physics 76(2), 2008, pp. 119–124
  3. Nathan AM. The "carry" of a fly ball (analysis of home runs, 2009 season)
  4. Major League Baseball. Official Baseball Rules, Rule 3.01 (the ball) and Rule 2.01 (field layout); glossary: field dimensions

More simulators