HomePhysics › Projectile Motion Calculator

Projectile Motion Calculator

Computes time of flight, horizontal range, maximum height and impact speed for a projectile launched at a given speed and angle from an optional initial height, ignoring air resistance (closed-form kinematics).

When to use

You need where and when a thrown, kicked or fired object lands on level ground, or its peak height, from launch speed and angle (and launch height).

Do not use when: Air drag is significant (golf balls, bullets, shuttlecocks), the landing point is higher than the launch point, or the object is simply dropped (use free-fall).

Formula

vx = v·cos θ, vy = v·sin θ; time_of_flight = (vy + √(vy² + 2·g·h0)) / g; range = vx × time_of_flight; max_height = h0 + vy² / (2g); time_to_max_height = vy / g; impact_speed = √(v² + 2·g·h0)

Point projectile, no drag, uniform g, level landing surface; the time of flight is the positive root of h0 + vy·t − ½·g·t² = 0.

Inputs

ParameterTypeUnitRequiredDescription
initial_speed_m_snumberm/syesInitial speed in metres per second. Range: ≥ 0
angle_degreesnumber°yesAngle above the horizontal in degrees (0 = horizontal, 90 = straight up). Range: ≥ 0, ≤ 90
initial_height_mnumbermdefault 0Height of the launch point above the landing level, in metres. Range: ≥ 0
gravity_m_s2numberm/s²default 9.80665Local gravitational acceleration. Default is standard gravity g_n = 9.80665 m/s² (Moon ≈ 1.62, Mars ≈ 3.72, Jupiter ≈ 24.8). Range: > 0, ≤ 10000

Outputs

OutputTypeUnitDescription
time_of_flight_snumbersTime until the projectile returns to the landing level.
range_mnumbermHorizontal distance travelled at landing.
max_height_mnumbermPeak height above the landing level (includes the launch height).
time_to_max_height_snumbersTime at which the vertical velocity is zero: v·sin θ / g.
horizontal_velocity_m_snumberm/sConstant horizontal component v·cos θ.
initial_vertical_velocity_m_snumberm/sVertical component at launch v·sin θ.
impact_speed_m_snumberm/sSpeed at landing: √(v² + 2·g·h0).

Example

20 m/s at 45° from ground level: {"initial_speed_m_s":20,"angle_degrees":45}{"time_of_flight_s":2.8842,"range_m":40.7886,"max_height_m":10.1972,"time_to_max_height_s":1.4421,"horizontal_velocity_m_s":14.1421,"impact_speed_m_s":20}

30 m/s at 30° from 10 m height: {"initial_speed_m_s":30,"angle_degrees":30,"initial_height_m":10}{"time_of_flight_s":3.6222,"range_m":94.1072,"max_height_m":21.4718,"impact_speed_m_s":33.1079}

GET https://tttkmbb.com/api/v1/calculate/projectile-motion?initial_speed_m_s=20&angle_degrees=45

Machine access

Sources

FAQ

Which angle gives the maximum range?

45° when launching from ground level; the optimum is lower than 45° when launching from a height and higher when the target is above the launch point.

How realistic is the no-drag result?

Good for dense, slow objects (shot put, thrown stones). For a golf ball or bullet the real range can be far shorter than the calculated value.

Related calculators