PhysicsIntermediate2D simulation~15 min

Projectile Motion

Throw a ball, kick a football or fire a water jet and it follows a graceful curved path. That curve is the result of two simple motions happening at once. Aim the cannon, choose a planet, and see how angle, speed and gravity decide how high and how far a projectile travels.

Ready to launch Drag the cannon barrel to aim · click the path to inspect
t = 0.0 s
45
20
0

Height of the cannon above the ground.

Gravity

Key

  • Horizontal velocity vₓ
  • Vertical velocity v_y
  • Earlier shots (up to 5)
Range
—
Flight time
—
Max height
—
vₓ now
—
v_y now
—
Predicted range (no air)
—

Velocity components over time

Horizontal and vertical velocity of the projectile plotted against time.

    How to use this simulator

    1. Set the launch: choose the angle, speed and height with the sliders, or drag the cannon barrel to aim.
    2. Press Start to fire. The ball stops automatically when it lands, and its path stays on screen for comparison.
    3. The dashed purple curve and triangle show the predicted path and landing point without air resistance.
    4. Watch the velocity arrows on the ball and the graph: the horizontal part stays the same while the vertical part changes steadily.
    5. Change gravity or switch on air resistance and fire again to compare. Up to five earlier shots are kept.
    6. Click a point on the path to see its time and position. Reset clears all shots and restores the defaults.

    What is projectile motion?

    A projectile is any object that is launched and then moves only under the influence of gravity (and, in real life, air resistance). Once it leaves the cannon, nothing pushes it forward any more. Its path, called thetrajectory, is a parabola when air resistance can be ignored.

    Two independent motions

    The key idea, first described clearly by Galileo, is that horizontal and vertical motion are independent of each other:

    • Horizontally, there is no force (without air), so the projectile moves at a constant speed vₓ = v cos θ.
    • Vertically, gravity gives a constant downward acceleration g. The vertical velocity starts at v sin θ, decreases to zero at the top, and then grows in the downward direction.

    Because the two motions are independent, a ball fired horizontally from a cliff hits the ground at the same moment as a ball simply dropped from the same height — the horizontal speed does not change how quickly it falls.

    Formulas

    For launch speed v, angle θ above horizontal, launch height h and gravitational acceleration g:

    x(t) = v·cos θ · t y(t) = h + v·sin θ · t − ½·g·t²

    On level ground (h = 0):

    Flight time T = 2v·sin θ / g Range R = v²·sin 2θ / g Max height H = v²·sin²θ / 2g

    With a launch height, the flight time is T = (v sin θ + √((v sin θ)² + 2gh)) / g. The simulator uses this to place the predicted landing triangle.

    Launch angle and range

    On level ground without air resistance, 45° gives the greatest range, and complementary angles such as 30° and 60° give exactly the same range (one flat and fast, one high and slow). Launching from a height changes this: the best angle becomes slightly less than 45°, because the ball already has extra time to travel as it falls.

    Air resistance

    Real projectiles push air out of the way, which creates a drag force opposite to their motion. For fast-moving balls, drag grows roughly with the square of speed. Drag slows the projectile both horizontally and vertically, so the range and maximum height shrink, the descent becomes steeper than the climb, and the best launch angle drops below 45°. Switch on air resistance and compare with the dashed no-air prediction.

    Key terms

    Trajectory
    The path a projectile follows through space.
    Velocity components
    The horizontal (vₓ) and vertical (v_y) parts of the velocity, found with cosine and sine of the launch angle.
    Range
    The horizontal distance travelled before landing.
    Apex
    The highest point of the trajectory, where vertical velocity is zero.
    Acceleration due to gravity (g)
    About 9.81 m/s² on Earth, 1.62 m/s² on the Moon, 3.71 m/s² on Mars and 24.8 m/s² on Jupiter’s cloud tops.
    Drag
    The resistive force from air or another fluid, acting opposite to the direction of motion.

    Real-world applications

    • Sports: basketball shots, long jump and shot put all involve choosing a good launch angle and speed. Athletes usually launch below 45° because they release from a height and must fight air resistance.
    • Engineering and safety: fountain designers, firefighters aiming hoses and engineers planning debris zones use projectile equations.
    • Space exploration: engineers account for lower gravity when planning how rovers and astronauts move rocks or equipment on the Moon and Mars.
    • Forensics: investigators reconstruct trajectories to work out where an object was thrown from.

    Common misconceptions

    • “A force keeps pushing the ball forward.” After launch, only gravity (and drag) act. The forward motion continues because of inertia, not a force.
    • “At the top, the ball stops.” Only the vertical velocity is zero; the ball still moves horizontally.
    • “Heavier objects fall faster.” Without air resistance, all objects have the same acceleration g regardless of mass.
    • “45° is always best.” Only on level ground with no air resistance.

    What the model simplifies

    The ball is treated as a point with no spin, so effects such as the curve of a spinning football (the Magnus effect) are left out. Gravity is treated as constant and the ground as flat. Air resistance uses one fixed drag coefficient, roughly that of a tennis ball, and assumes still air with no wind.

    Key takeaways

    • Projectile motion is two independent motions: constant velocity horizontally and constant acceleration vertically.
    • Without air resistance, the trajectory is a parabola and 45° gives the maximum range on level ground.
    • Range is proportional to v² and inversely proportional to g.
    • Air resistance shortens the path, makes it asymmetric and lowers the best launch angle.

    Knowledge check

    Projectile Motion: test your understanding

    Answer each question to get instant feedback and an explanation. Use the simulator to check your thinking.

    7 questions3 basic2 intermediate2 advanced

    0 of 7 answered

    1. Q1BasicIgnoring air resistance, what happens to a projectile’s horizontal velocity during its flight?
      Show answer

      Answer: B. It stays constant

      With no air resistance there is no horizontal force, so the horizontal velocity never changes. In the graph, the vₓ line is perfectly flat.

    2. Q2BasicAt the highest point of its path, a projectile’s vertical velocity is…
      Show answer

      Answer: C. zero

      At the top the projectile stops rising and is about to fall, so v_y = 0 for an instant. It is still moving horizontally, so its total speed is not zero.

    3. Q3BasicOn level ground with no air resistance, which launch angle gives the greatest range?
      Show answer

      Answer: B. 45°

      Range R = v² sin(2θ)/g is largest when sin(2θ) = 1, which happens at θ = 45°. Try 30° and 60° — they give the same range.

    4. Q4IntermediateTwo balls are launched at the same speed, one at 30° and one at 60°. Ignoring air, how do their ranges compare?
      Show answer

      Answer: C. They land at the same place

      Complementary angles (adding to 90°) give the same value of sin(2θ), so the ranges are equal. The 60° ball flies higher and stays in the air longer.

    5. Q5IntermediateThe same launch is repeated on the Moon, where gravity is about one-sixth of Earth’s. Ignoring air, the range becomes…
      Show answer

      Answer: B. about 6 times longer

      Range on level ground is R = v² sin(2θ)/g, so it is inversely proportional to g. Dividing g by about 6 multiplies the range by about 6.

    6. Q6AdvancedWhen air resistance is switched on, how does the shape of the path change?
      Show answer

      Answer: B. It becomes lopsided: the descent is steeper than the climb

      Drag removes horizontal speed throughout the flight, so the projectile covers less ground on the way down than on the way up. The path is no longer a symmetric parabola, and the best angle for range drops below 45°.

    7. Q7AdvancedA ball is thrown horizontally from a 20 m cliff at 10 m/s on Earth (g ≈ 9.8 m/s²). About how long until it lands?
      Show answer

      Answer: B. 2.0 s

      Vertical motion is independent of horizontal motion: 20 = ½ · 9.8 · t², so t = √(40/9.8) ≈ 2.0 s — the same time as a ball simply dropped from the cliff.

    References and further reading

    1. Ling, S. J., Sanny, J., & Moebs, W. (2016). University Physics Volume 1, Section 4.3: Projectile Motion. OpenStax. openstax.org (opens in a new tab)
    2. Urone, P. P., & Hinrichs, R. (2020). College Physics 2e, Section 3.4: Projectile Motion. OpenStax. openstax.org (opens in a new tab)
    3. NASA Glenn Research Center. Drag Equation. Beginner’s Guide to Aeronautics. grc.nasa.gov (opens in a new tab)
    4. NASA. Planetary Fact Sheet (surface gravity values). nssdc.gsfc.nasa.gov (opens in a new tab)

    This simulator is a simplified educational model. Found an error? Let us know. See our educational disclaimer.