Baseball

Home run simulator

The short answer

Choose exit velocity, launch angle and a fence distance. The ball flies through realistic air and you learn if it clears the wall, how far it travels and how much altitude, heat and wind help.

What happened

Home run. It clears the fence by 0.9 ft and lands 408 ft from home plate.
Distance408 ftfield-level touchdown point, 5.5 s after the bat meets the ball
At the fence
0.9 ft
above the top of the wall
Peak height
93 ft
Hang time
5.5 s
Speed at landing
54 mph
Landing angle
49 °
Best launch angle
28.0 °
longest fly at this exit speed and spin
Typical backspin here
2,229 rpm
Nathan’s fit for this speed and angle

Same exit velocity, different 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

Every row uses your backspin figure. On a real swing, backspin goes up as launch angle does.

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 come from Alan Nathan’s Trajectory Calculator (2016 version, fitted to Statcast data); we match its distance table within 2 ft. Humidity is 50%, and contact happens 3 ft over the plate.
  • Treat these as averages. Real balls hit at the same speed and angle land several metres apart, thanks to seam position, sidespin and wind gusts. Constants checked 2026-11-24.

Look around

Step up to the plate

You’re looking from the side, home plate on the left and the outfield wall on the right, to scale on a wide screen. Contact is set with exit velocity, launch angle and backspin. The park is set by how far away the fence is and how tall. Then there’s the weather: elevation, temperature, wind.

Drag the red arrow at the plate and angle and speed change together while a dashed path rises or falls against the wall. Swing sends the ball. Get over the fence and the plate says so, and the readout gives the margin. Previous swings are kept as numbered grey lines.

A swing worked through

Starting point: a well-hit ball to straightaway centre, with the fence 122 m (400 ft) out and 2.4 m (8 ft) high, at sea level, 21 °C (70 °F) and in still air.

  • Leaves the bat at 169 km/h (105 mph), 28° up, spinning back at 2,100 rpm
  • Apex 28 m (93 ft), flight time 5.5 s
  • Over the wall by 0.23 m (9 in), so it’s a home run but only just
  • With no wall, touchdown comes 124 m (408 ft) out, falling at 49° and 88 km/h (54 mph)

Lose 2 km/h of exit speed and it hits the wall 2 m below the top. Keep the swing as it is and play at 1,580 m elevation, and it lands 134 m (440 ft) from the plate.

The model

Treat the ball as a single point pushed by gravity, drag and the lift from backspin. Its coefficients were fitted by Alan Nathan, for his Trajectory Calculator, to the distances of batted balls that Statcast tracked 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 is 5.125 oz (145 g) and 9.125 in (23.2 cm) around. In the density formula T is in °C, h is height above sea level in metres, RH is relative humidity (fixed at 50%) and SVP is saturation vapour pressure. Contact happens 3 ft over the plate.

Does it match? Nathan’s spreadsheet carries a grid of distances: exit speeds 80 to 115 mph, launch angles 15° to 40°. Every one of its 48 entries is reproduced here to within 2 feet. His 100 mph, 30° entry is 385.3 ft and 5.44 s in the air; the simulator says 384.3 ft and 5.44 s.

Distance by speed and angle

Feet travelled at 78 °F and sea level, with the usual backspin for each angle (source: 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

One more mph is worth about 5 feet, which is why hitters look at exit velocity before anything else.

Honest limits

  • Measured, then fitted by Nathan: drag and lift coefficients for the average ball. Real distances scatter widely around them, he notes, because balls differ in drag and because the wind is seldom known.
  • Simulated here: the flight, in a single vertical plane pointed at the bit of fence you set. Sidespin is missing; it hooks or slices balls toward the foul lines and cuts distance a little.
  • Assumed: wind of the same strength at all heights, 50% humidity, an ordinary dry ball at normal temperature.
  • Missing: the bat. You type in exit velocity and launch angle; they aren’t produced by a swing.

Fence presets are generic outfield layouts. None of them is a real ballpark.

Using the readout

Distance is the landing spot at field level, as if the wall weren’t there. At the fence gives the height of the ball’s underside relative to the top of the wall when it arrives, and a plus sign means it cleared. Best launch angle is whichever angle goes furthest for your speed and spin. Typical backspin here shows what Nathan expects a real batted ball to carry at your speed and angle. If you change launch angle a lot, copy it into the backspin field.

The second table puts the same swing through six different atmospheres. Want a puzzle? The Thin air challenge asks you to find the altitude, heat and wind that carry a 100 mph ball over a 400-foot fence.

Questions people ask

What distance does a 100 mph batted ball cover?
Pick the best angle, stay at sea level and 70 °F, and you land near 380 feet (116 m). Nathan's calculator, built on Statcast data, shows 385 feet for 100 mph at 30° when it's 78 °F. At 110 mph and the same angle it's about 438 feet.
Which launch angle is best for hitting a homer?
Aim for 25° to 30° when you square one up. The model's longest 105 mph fly leaves at 28°, though the top is wide and flat: 24° to 32° all finish within 1.5 m of it. Below 20° it's a line drive, and it simply runs out of height before the wall.
Does a ball really travel further in Denver?
Yes. Same contact, about 7% more at 1,580 m (5,200 ft). Example, a 100 mph ball hit at 28°: it goes 381 feet near the coast and 409 feet in the mountains, an extra 28. The air is around 17% thinner, so there's less drag slowing the ball.
Do hot days help the ball carry?
A little. Warm air is thinner, and Nathan's analysis of real games puts the gain near 0.33 feet per degree Fahrenheit. Run the default 105 mph ball in the model: 399 feet at 45 °F, 417 feet at 95 °F, which works out at 0.35 feet per degree.
How much can the wind change a home run?
Quite a bit. Say a steady 10 mph (16 km/h) breeze hits the default fly ball: with it, the ball goes 38 feet further; against it, 45 feet shorter. Wind in a real stadium swirls and shifts with height, so don't bank on these as exact.
How much spin is normal on a fly ball?
About 2,000 to 2,500 rpm when the launch angle is home-run territory. Nathan fitted Statcast data and got around 2,100 rpm at 100 mph and 28°, with more spin as angle and speed rise. Backspin lifts the ball and lengthens the flight; the default ball hangs for 5.5 seconds.
What exit velocity does a home run take?
Straightaway at 400 feet over an 8-foot wall, with 70 °F air at sea level, you want roughly 105 mph at 28°. In a 330-foot corner about 92 mph is enough. Thinner air, a hot day or a tailwind all lower the bar.

Where the numbers come from

  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 to try