How the simulator works
This is a simplified projectile model of a batted baseball. It uses the same physics ideas that MLB's Statcast system measures â exit velocity, launch angle, and spray direction â to estimate where a ball would land in a typical major-league park.
The physics
- Exit velocity is the speed of the ball as it leaves the bat, in miles per hour. Elite MLB hitters reach 110+ mph on their hardest-hit balls.
- Launch angle is the vertical angle of the ball's path, in degrees. Home runs cluster between roughly 25° and 35°.
- Spray direction is the horizontal angle from center field. Negative values point toward left field, positive toward right.
The model integrates the trajectory with gravity (9.81 m/s²) and a simple quadratic air-drag term. It does not model spin, wind, altitude, or park-specific wall heights â those vary widely across MLB stadiums. Treat the result as a teaching tool, not a prediction of any specific player or park.
What the readout means
- Distance â the horizontal distance the ball travels before landing at ground level.
- Hang time â how long the ball is in the air.
- Peak height â the highest point of the trajectory.
- Wall clearance â how far past (or short of) a 400-foot center-field wall the ball lands along its spray line.
Frequently asked questions
What exit velocity do I need for a home run?
In this model, roughly 95+ mph at a 28° launch angle to center field clears a 400-foot wall. Real MLB home runs vary widely because of park dimensions, wall height, wind, and spin.
Why doesn't the ball go straight?
The spray direction rotates the launch vector around the vertical axis, so the ball travels along a diagonal path relative to the field. The distance readout is measured along that diagonal.
Is this a real MLB prediction?
No. It is a physics demonstration. It does not use real player data, real park dimensions, or real weather. Use it to build intuition about how exit velocity and launch angle combine.
What is a good launch angle?
Home runs cluster around 25°â35°. Below 20° the ball tends to stay low; above 40° it becomes a high fly ball that often stays in the park.