MechSimulator

Projectile Motion Simulator

Trajectory • Range • Max Height • Time of Flight — Simulate • Explore • Practice • Quiz

Mode
Units
Display Controls
💡 Tip: click and drag from the launch point on the canvas to aim & set speed.
Angle
°
Velocity
m/s
Height
m
Gravity
Presets
Range
0.00 m
Max Height
0.00 m
Time of Flight
0.00 s
Impact Velocity
0.00 m/s
Launch Angle
45 °
Initial Velocity
30 m/s
📖 Learning panels
Σ Live equations — values substituted from current state
Velocity components — horizontal & vertical split
💡 What-if coach — insights from current values
User Guide — Projectile Motion Simulator
1 Overview

This free projectile motion calculator online lets you launch virtual projectiles at any angle and velocity, then watch the parabolic path unfold in real time on an interactive canvas. The simulator computes range, maximum height, time of flight, and impact velocity using standard kinematic equations. It supports three gravity environments (Earth, Moon, Mars), optional air resistance, elevated launch heights, an SI/Imperial unit toggle, undo/redo, and CSV/PNG export — making it a complete trajectory analysis tool.

Whether you are learning about velocity components, complementary launch angles, or the effect of drag on a projectile’s trajectory, this tool provides instant visual feedback backed by precise numerical readouts. No downloads or accounts required.

2 Setting the Scene
Projectile Motion simulator interface preview

The simulator loads in Simulate mode with a default launch angle of 45° and velocity of 30 m/s on Earth (g = 9.81 m/s²). The canvas shows the launcher, ground plane, and trajectory grid. Six readout cards display Range, Max Height, Time of Flight, Impact Velocity, Launch Angle, and Initial Velocity.

Switch between the four modes using the pill tabs: Simulate for hands-on launching, Explore for concept study, Practice for random calculation problems, and Quiz for timed multiple-choice questions. Use the SI / Imperial toggle in the top bar to switch every reading (distance, velocity, height) between metric and US customary units.

3 Running the Demo

Use either the slider or the [−] [input] [+] stepper next to each parameter to set Angle (0–90°), Velocity (5–100 m/s, auto-converted when Imperial is selected), and Height (0–50 m). Choose Earth, Moon, or Mars gravity. Toggle Air Resistance on to see how drag shortens range and breaks trajectory symmetry.

Press Shoot (or Space) to launch. The animation traces the trajectory in real time, and all readout cards update at impact. When Air Resistance is on, the readouts are computed with drag included, so they match the launched shot exactly. The Calculations button in the toolbar under the canvas opens a step-by-step modal proving the result. Previous trajectories remain as ghost trails for side-by-side comparison.

The Display Controls panel at the top-left of the canvas lets you hide Grid, Velocity vectors, Range/height markers, and Ghost trails to focus on a specific concept. Use the presets — Basketball Shot, Artillery, Golf Drive, Optimal 45° — to explore realistic scenarios.

4 Learning Panels, Export & Right-Click

Below the Simulate controls, the Learning panels section provides three collapsible cards: Live equations shows the range, height and time-of-flight formulas with your current values substituted in classical KaTeX notation; Velocity components breaks v into Vx and Vy0; and What-if coach generates plain-English insights about your shot.

Click CSV to download the full trajectory (x, y, Vx, Vy, t) as a spreadsheet, or PNG to save the canvas image with a watermark. Right-click anywhere on the canvas for a context menu with Export, Toggle Grid, and Reset options.

Keyboard shortcuts: Space or Enter = Shoot, R = Reset, ↑↓ = adjust angle ±1°, ←→ = adjust velocity ±1, Ctrl+Z = Undo, Ctrl+Shift+Z = Redo.

5 Explore Mode

Explore mode contains 12 concept cards sorted into three categories: Kinematics, Vectors, and Applications. Each card covers one topic — such as the range equation, velocity components, maximum height formula, or the effect of air resistance — with a definition, formula, and a worked numerical example.

This mode is ideal for building a solid conceptual foundation before attempting calculations. Use the category pills to filter topics, then click any card to open its detailed explanation.

6 Practice & Quiz

Practice mode generates unlimited random problems covering range, maximum height, time of flight, and velocity components. Enter your answer and press Check. If incorrect, the full step-by-step solution appears so you can identify your mistake. Your running score tracks accuracy across the session.

Quiz mode presents 5 randomised questions per session mixing conceptual and numerical problems. Topics span everything from trajectory symmetry to the independence of horizontal and vertical motion. A detailed score breakdown is displayed at the end of each quiz.

7 Tips & Best Practices
  • Fire at complementary angles (e.g., 30° then 60°) to verify they produce the same range but different heights and flight times.
  • Compare with and without air resistance to understand how drag reduces range and shifts the optimal angle.
  • Try Moon gravity to see how dramatically lower g increases range — the same launch on the Moon travels roughly six times farther.
  • Switch to Imperial when working with US textbook problems (ft, ft/s).
  • Open Show Calculations to step through the derivation in SI before checking your hand-worked answer.
  • The simulator works fully offline once loaded — ideal for classroom use without reliable internet.

Understanding Projectile Motion — Free Interactive Simulator

Projectile motion simulator showing a 45 degree launch at 30 m/s on Earth, real-time parabolic trajectory traced in green with peak height 22.9 m, horizontal range 91.6 m, and the impact point marked with a velocity vector
Real screenshot of the simulator firing at 30 m/s and 45° on Earth gravity. Range comes out to 91.6 m and peak height to 22.9 m, which match the worked example in the article below.

Projectile motion describes an object moving through the air under gravity alone, tracing a parabolic path. This free simulator lets you launch projectiles at any angle and speed, then computes range, maximum height, and time of flight from the standard kinematic equations, with optional air resistance and lunar or Martian gravity.

What is the range formula for projectile motion?

For a projectile launched from ground level with initial velocity v at angle θ, the horizontal range is R = v²·sin(2θ) / g. The maximum range on flat ground occurs at 45°, because sin(2×45°) = 1. Complementary angles such as 30° and 60° produce the same range but with different heights — the lower angle gives a flatter, faster path and the higher angle a taller, slower arc.

Key Projectile Motion Equations (Featured Snippet)

QuantityFormula (SI)Symbol & Unit
Range (ground launch)R = v²·sin(2θ) / gR, m
Maximum heightH = v²·sin²(θ) / (2g)H, m
Time of flight (ground)T = 2v·sin(θ) / gT, s
Time to peaktp = v·sin(θ) / gtp, s
Horizontal velocityVx = v·cos(θ)Vx, m/s
Vertical velocityVy = v·sin(θ) − g·tVy, m/s
Impact speed (from height)vf = √(v² + 2gh)vf, m/s
Drag force (with air)Fd = ½·Cd·ρ·A·v²Fd, N

How do you calculate maximum height and time of flight?

The maximum height reached by a projectile is H = v²·sin²(θ) / (2g). At this point, the vertical velocity component becomes zero while the horizontal component continues unchanged. The time of flight for a ground-level launch is T = 2v·sin(θ) / g. When launching from height h, the time of flight increases because the projectile has farther to fall, and the range increases accordingly.

Why are horizontal and vertical motion independent?

The horizontal velocity Vx = v·cos(θ) remains constant throughout the flight (in the absence of air resistance), while the vertical velocity Vy = v·sin(θ) − gt changes linearly due to gravitational acceleration. Because gravity acts only vertically, the two motions evolve independently — a bullet fired horizontally and one dropped from the same height strike the ground at exactly the same time. The impact velocity follows from the Pythagorean theorem on the final velocity components.

How does air resistance change the trajectory?

In reality, air resistance (drag) significantly affects projectile trajectories. The drag force Fd = ½·Cd·ρ·A·v² acts opposite to the velocity vector, reducing both range and maximum height while breaking the symmetry of the parabolic path. The optimal launch angle shifts below 45° when drag is present. This simulator lets you toggle air resistance on and off to compare ideal and realistic trajectories side by side.

The 45-Degree Myth — What Textbooks Get Right and Wrong

Every physics textbook tells you the same thing. Maximum range on flat ground happens at 45°. That part is true. The trouble is, in real life almost nothing is launched from flat ground in still air with zero drag, so the 45° answer is right for almost nothing you actually care about.

Three situations break the rule in ways worth pausing on:

So when a student asks me “is 45° really the best?”, the honest answer is: only in the idealised problem. Beyond the textbook, every real projectile lives in a corrected regime where geometry, drag, and launch height all shift the optimum.

A Worked Example to Sanity-Check the Simulator

Pick a stone launched from ground level at 25 m/s and 30°. Take g = 9.81 m/s², no air drag. Before you read on, predict the range. Most students guess too high.

QuantityCalculationResult
Horizontal launch velocity Vx25·cos30° = 25·0.86621.65 m/s
Vertical launch velocity Vy25·sin30° = 25·0.512.5 m/s
Time to peak (Vy = 0)Vy/g = 12.5/9.811.27 s
Total flight time T2·1.272.55 s
Maximum height HVy²/(2g) = 156.25/19.627.96 m
Range RVx·T = 21.65·2.5555.2 m
Range shortcutv²sin(2θ)/g = 625·sin60°/9.8155.2 m ✓

That stone goes about as far as a tennis court is long. Not 100 metres, not 200. Worth keeping in mind when a problem asks for the range of a 30 m/s shot from a hand catapult.

Three Things Students Get Wrong, Every Year

Marking projectile-motion problems for a few years gives you a feel for the standard traps. These three appear over and over:

  1. Confusing velocity components. A surprising number of students write “range = v·t” using the full launch speed instead of the horizontal component. The horizontal component is v·cosθ, and it is the only part that moves the projectile sideways.
  2. Forgetting that 30° and 60° have the same range. Both give sin(2θ) = sin60° = 0.866, so on flat ground their ranges match. The high arc takes longer and goes higher; the low arc gets there faster and stays lower. Same horizontal distance.
  3. Mixing up signs in the air-drag formula. Drag opposes velocity. On the way up it slows the rise; on the way down it slows the fall. The trajectory becomes asymmetric: the downslope is steeper and shorter than the upslope, breaking the parabola.

Where Projectile Motion Actually Lives in Engineering

Books I Reach for When Teaching This

How do I use this projectile motion simulator?

In Simulate mode, adjust angle, velocity, and height using sliders or steppers, then press Shoot to watch the projectile trace its trajectory. Switch between Earth, Moon, and Mars gravity, toggle Air Resistance, or flip to Imperial units. Open Show Calculations for a step-by-step derivation in SI. Use Explore mode for 12 concept cards, Practice for unlimited random problems, and Quiz for 5-question timed assessments.

Explore Related Simulators

If you found this Projectile Motion simulator helpful, explore our Escape Velocity simulator, Newton’s Laws simulator, Friction simulator, Wind Tunnel simulator.