Every physics textbook proves that a projectile goes farthest when launched at 45 degrees. The proof is correct and the answer is wrong for nearly everything people actually throw. It assumes no air. Add drag to a baseball leaving the bat at 45 meters per second, and the best angle drops to about 41 degrees while the distance falls from 206 meters in a vacuum to about 118. A ping-pong ball’s best angle sinks to 37 degrees. Even without air, releasing the ball from shoulder height pulls the ideal angle below 45. A short simulation shows each effect separately, with the numbers it produced.
Where 45 degrees comes from
The vacuum result
With gravity as the only force and launch and landing at the same height, the range is R = v₀² sin(2θ) / g. The sine of twice the angle peaks when 2θ is 90 degrees, so θ is 45. At that angle the range is v₀²/g: 40.8 meters for a 20 m/s throw, 163 meters at 40 m/s.
What changes with air
NASA Glenn Research Center’s Flight Equations with Drag page puts it plainly: pure ballistic flight assumes weight is the only force, but a baseball or a soccer ball in flight generates a moderate amount of aerodynamic drag and is not strictly ballistic. Drag pushes against the ball’s direction of motion and grows with the square of its speed, so it takes the most from the fast early part of the flight, mostly horizontal speed for a low throw and a mix for a high one.

The model
Drag on a ball
NASA’s drag equation page states that drag equals the drag coefficient times the air density times half the velocity squared times the reference area. The simulation used sea-level air at 1.225 kg/m³ and stepped the ball’s position and velocity forward until it hit the ground:
import math
from scipy.integrate import solve_ivp
def flight_range(v0, angle_deg, m, d, Cd, h0=0.0, rho=1.225, g=9.81):
k = 0.5 * rho * Cd * math.pi * (d / 2)**2 / m
def f(t, y):
vx, vy = y[2], y[3]
v = math.hypot(vx, vy)
return [vx, vy, -k * v * vx, -g - k * v * vy]
def ground(t, y): return y[1]
ground.terminal, ground.direction = True, -1
th = math.radians(angle_deg)
s = solve_ivp(f, [0, 60], [0, h0, v0*math.cos(th), v0*math.sin(th)],
events=ground, max_step=0.01, rtol=1e-8)
return s.y_events[0][0][0]A bounded optimizer from SciPy then searched for the angle that gives the longest range.
The ball
Major League Baseball’s Official Baseball Rules, rule 3.01, require the ball to weigh not less than five nor more than 5¼ ounces and measure 9 to 9¼ inches around. The model used 145 grams. NASA’s drag on a baseball page gives a diameter of 2.9 inches (7.37 cm) and a drag coefficient of about 0.3 for a baseball, against about 0.5 for a smooth ball, because the stitches roughen the surface and change how air flows around it.
Results
Baseball, drag coefficient 0.3
| Launch speed | Vacuum range at 45° | Best angle with drag | Best range with drag | Range at 45° with drag |
|---|---|---|---|---|
| 20 m/s | 40.8 m | 43.8° | 35.0 m | 34.9 m |
| 30 m/s | 91.7 m | 42.6° | 67.5 m | 67.3 m |
| 40 m/s | 163.1 m | 41.3° | 101.3 m | 100.6 m |
| 45 m/s | 206.4 m | 40.7° | 117.6 m | 116.5 m |
The same size ball, smooth, drag coefficient 0.5
| Launch speed | Best angle | Best range |
|---|---|---|
| 20 m/s | 43.1° | 32.1 m |
| 30 m/s | 41.5° | 58.2 m |
| 40 m/s | 39.8° | 83.0 m |
| 45 m/s | 39.0° | 94.3 m |
What the tables show
Drag costs a lot of distance and only a little angle. At 45 m/s the baseball loses 43 percent of its vacuum range, but the best angle moves by only about four degrees, and throwing at 45 anyway costs barely a meter. The range curve is flat near its peak, so a few degrees either way hardly matter. Faster launches and draggier balls push the best angle lower, because a high, slow arc gives drag more time to work on the way down.
The arc is no longer symmetric
Drag also changes the shape of the path. In a vacuum, a 45 m/s ball at 45 degrees climbs to 51.6 meters, stays up 6.5 seconds, and comes down at the same speed and angle it went up, with the peak exactly halfway along the range. The simulated baseball at its best angle of 40.7 degrees peaked at 31.7 meters, landed after 5.1 seconds, and reached its highest point 65.2 meters out along a 117.6-meter flight, more than halfway. It came down at 27.5 m/s, well under its launch speed, and at a steeper 53.8 degrees below horizontal. That lopsided curve, a long shallow climb and a short steep fall, is the shape drag gives to any fast, light projectile.

Light balls and heavy balls
Mass matters as much as shape
How much drag slows a ball depends on the drag force divided by the ball’s mass. Two extremes make the point. A ball the size of a baseball made of solid steel, about 1.65 kg using steel’s density of roughly 7,850 kg/m³, thrown at 40 m/s with the smooth-ball drag coefficient, had a best angle of 44.3 degrees and a range of 148 meters, close to the vacuum’s 163. A ping-pong-sized ball of 40 mm and 2.7 grams with a drag coefficient of 0.5, thrown at only 15 m/s, had a best angle of 37.0 degrees and a range of 7.8 meters against 22.9 in a vacuum. The light ball lost two-thirds of its range at a speed most people could manage by hand.
Terminal velocity tells the story
A quick way to judge whether drag will matter is to compare launch speed with terminal velocity, the speed at which drag equals weight. For the modeled baseball it works out to about 42.6 m/s. A batted ball leaving at 45 m/s starts out faster than it could ever fall, so drag dominates the first part of the flight. A shot put or a steel ball has a terminal velocity far above any human throw, which is why the textbook result works for heavy objects and fails for light ones.
Launch height changes it too
No air required
Most throws and kicks don’t start at ground level. With no drag at all, releasing a ball at 20 m/s from 1.8 meters up, roughly shoulder height for an adult, moved the best angle to 43.8 degrees and the range to 42.5 meters. From 2.0 meters it was 43.7 degrees and 42.7 meters. A higher release gives the ball extra time in the air for free, so a flatter angle that spends more speed on horizontal travel wins.
Effects that add up
Release height and drag both push the best angle lower, and for a batted ball they stack. Running the baseball model again with contact 1 meter above the ground, a reasonable bat height, gave a best angle of 42.2 degrees and 68.3 meters at 30 m/s, and 41.0 degrees and 102.0 meters at 40 m/s, each a little lower and a little longer than the ground-level runs. The pattern holds across every case simulated here: the only way to get the classic 45 degrees back is to remove the air and launch from the ground.

What the model leaves out
Spin and lift
A struck baseball usually spins, and backspin creates lift, an upward force from the spinning ball deflecting air. Lift can carry a ball farther and changes the best angle again. This model includes drag only, so it describes a ball with no spin, such as a knuckleball or a ball thrown without rotation, more closely than a home run.
A drag coefficient that changes with speed
NASA’s baseball page explains that the drag coefficient isn’t fixed: it falls as the airflow around the ball turns turbulent, and the stitches make that happen at lower speeds than on a smooth ball. It gives the Reynolds number for a 100 mph baseball as about 220,000. A full model would let the coefficient vary along the flight. The constant values here are reasonable round numbers, enough to show the direction and rough size of each effect.
Trying it
The function above runs in a fraction of a second per throw. It needs only NumPy-free standard math plus SciPy, and the ground-hit event stops the integration at the exact moment the ball returns to height zero, so the reported range doesn’t depend on the time step. Tightening the tolerance further changed the ranges by less than a centimeter in spot checks. Changing the mass, diameter and drag coefficient to match a soccer ball, a golf ball or a water balloon shows how quickly the 45-degree rule breaks for each one.
Sources
- NASA Glenn Research Center, “Flight Equations with Drag”: https://www1.grc.nasa.gov/beginners-guide-to-aeronautics/flight-equations-with-drag/
- NASA Glenn Research Center, “Drag Equation”: https://www1.grc.nasa.gov/beginners-guide-to-aeronautics/drag-equation/
- NASA Glenn Research Center, “Drag on a Baseball”: https://www1.grc.nasa.gov/beginners-guide-to-aeronautics/drag-on-a-baseball/
- Major League Baseball, “Official Baseball Rules, 2026 Edition”: https://mktg.mlbstatic.com/mlb/official-information/2026-official-baseball-rules.pdf
