Relative Velocity Calculator
Free Relative velocity Calculator for kinematics. Enter variables to compute results with formulas and detailed steps. Free to use with no signup required.
Calculator
Adjust values & calculateInterpretation
Formula
Relative velocity of A with respect to B equals the vector difference of their velocities. In 1D, this is simple subtraction. In 2D, subtract each component separately then find the magnitude and direction of the resultant vector.
Last reviewed: December 2025
Worked Examples
Example 1: Highway Overtaking
Example 2: River Crossing Problem
Background & Theory
The Relative Velocity Calculator applies the following established principles and formulas. Physics is the fundamental natural science concerned with matter, energy, and the interactions between them. Classical mechanics, founded on Newton's three laws of motion, provides the framework for analyzing the motion of objects. The first law states that an object remains at rest or in uniform motion unless acted upon by a net external force. The second law quantifies this relationship: F = ma, where force equals mass times acceleration in SI units of newtons (N = kgยทm/sยฒ). The third law establishes that every action produces an equal and opposite reaction. Kinematics describes motion without reference to its causes. The four fundamental equations relate displacement s, initial velocity u, final velocity v, acceleration a, and time t: v = u + at, s = ut + ยฝatยฒ, vยฒ = uยฒ + 2as, and s = ยฝ(u + v)t. These assume constant acceleration and are foundational for solving projectile motion, free fall, and linear dynamics problems. Energy conservation underpins much of physics. Kinetic energy is KE = ยฝmvยฒ, where m is mass in kilograms and v is speed in meters per second. Gravitational potential energy is PE = mgh, where g โ 9.81 m/sยฒ near Earth's surface and h is height in meters. The work-energy theorem states that the net work done on an object equals its change in kinetic energy: W = ฮKE. Electricity and circuits rely on Ohm's law: V = IR, where voltage V is in volts, current I in amperes, and resistance R in ohms. Electrical power is P = IV = IยฒR = Vยฒ/R, measured in watts. Wave mechanics connects frequency f, wave speed v, and wavelength ฮป through f = v/ฮป, with frequency in hertz (Hz). Pressure is defined as force per unit area, P = F/A, in pascals (Pa = N/mยฒ). The ideal gas law PV = nRT links pressure, volume, moles n, the gas constant R = 8.314 J/(molยทK), and absolute temperature in kelvin. Gravitational force between two masses follows Newton's law of universal gravitation: F = Gmโmโ/rยฒ, where G = 6.674ร10โปยนยน Nยทmยฒ/kgยฒ is the gravitational constant.
History
The history behind the Relative Velocity Calculator traces back through the following developments. The history of physics spans over two millennia, beginning with the natural philosophy of ancient Greece. Aristotle (384โ322 BCE) proposed that all matter consisted of four elements and that objects moved toward their natural place, with heavier objects falling faster than lighter ones. While largely incorrect, his systematic approach to explaining nature dominated Western thought for nearly 2,000 years. The Scientific Revolution overturned Aristotelian physics. Galileo Galilei (1564โ1642) performed groundbreaking experiments on inclined planes and falling bodies, demonstrating that all objects fall with the same acceleration regardless of mass, and established the principle of inertia. His use of mathematics to describe motion was revolutionary. Isaac Newton synthesized these developments in his landmark Principia Mathematica (1687), laying out the three laws of motion and the law of universal gravitation. Newton's framework unified terrestrial and celestial mechanics, explaining planetary orbits with the same equations governing a falling apple. His calculus provided the mathematical language for expressing rates of change. The 19th century brought two major theoretical achievements. James Clerk Maxwell formulated his equations of electromagnetism between 1861 and 1862, unifying electricity, magnetism, and optics, and predicting the existence of electromagnetic waves traveling at the speed of light. Thermodynamics was developed by Carnot, Clausius, and Kelvin, establishing the laws governing heat, work, and entropy. The 20th century produced two revolutions that fundamentally altered the classical picture. Albert Einstein published the special theory of relativity in 1905, showing that space and time are not absolute but relative to the observer, and that mass and energy are equivalent via E = mcยฒ. His general theory of relativity in 1915 reinterpreted gravity as the curvature of spacetime. Simultaneously, quantum mechanics emerged from the work of Planck, Bohr, Heisenberg, and Schrรถdinger, revealing that at atomic scales energy is quantized and particles exhibit wave-particle duality. These developments culminated in the Standard Model of particle physics, which describes all known fundamental particles and three of the four fundamental forces.
Frequently Asked Questions
Formula
V_AB = V_A - V_B (1D) | V_rel = sqrt((VAx-VBx)^2 + (VAy-VBy)^2) (2D)
Relative velocity of A with respect to B equals the vector difference of their velocities. In 1D, this is simple subtraction. In 2D, subtract each component separately then find the magnitude and direction of the resultant vector.
Worked Examples
Example 1: Highway Overtaking
Problem: Car A travels at 110 km/h and Car B at 90 km/h in the same direction. What is the relative velocity of A with respect to B?
Solution: Both cars same direction:\nV_A = 110 km/h, V_B = 90 km/h\nV_AB = V_A - V_B = 110 - 90 = 20 km/h\nV_BA = V_B - V_A = 90 - 110 = -20 km/h\nCar A sees Car B receding at 20 km/h.\nCar B sees Car A approaching at 20 km/h.
Result: V_AB = 20 km/h (A overtaking B) | V_BA = -20 km/h (B sees A approaching)
Example 2: River Crossing Problem
Problem: A boat aims north at 5 m/s (Vy=5, Vx=0). River flows east at 3 m/s (Vx=3, Vy=0). What is the boat's velocity relative to the ground?
Solution: Boat velocity: V_boat = (0, 5) m/s\nRiver current: V_river = (3, 0) m/s\nGround velocity: V_ground = V_boat + V_river = (3, 5) m/s\nMagnitude: sqrt(9 + 25) = sqrt(34) = 5.831 m/s\nDirection: arctan(5/3) = 59.04 degrees from east
Result: Ground speed: 5.831 m/s at 59.0 degrees from east | Drift: 3 m/s eastward
Frequently Asked Questions
What is relative velocity?
Relative velocity is the velocity of one object as observed from the reference frame of another moving object. When you sit on a train moving at 80 km/h and watch another train passing at 100 km/h in the same direction, the other train appears to move at only 20 km/h relative to you. Mathematically, the relative velocity of object A with respect to object B is calculated as V_AB = V_A - V_B, where V_A and V_B are the velocities measured from a stationary reference frame. This concept is fundamental in classical mechanics and applies to all everyday scenarios. In special relativity, the formula changes for speeds approaching the speed of light, but for all practical purposes at terrestrial speeds, simple vector subtraction works perfectly.
How do you calculate relative velocity in two dimensions?
In two dimensions, relative velocity is calculated using vector subtraction. Each velocity is broken into x and y components: V_Ax, V_Ay for object A and V_Bx, V_By for object B. The relative velocity components are V_rel_x = V_Ax - V_Bx and V_rel_y = V_Ay - V_By. The magnitude of the relative velocity is found using the Pythagorean theorem: |V_rel| = sqrt(V_rel_x squared + V_rel_y squared). The direction is found using the arctangent: theta = arctan(V_rel_y / V_rel_x). Alternatively, if you know the speeds and directions (angles) of both objects, you first convert to components using V_x = V cos(theta) and V_y = V sin(theta), then apply the same subtraction method. This approach is essential for navigation, collision avoidance, and projectile analysis.
How is relative velocity used in real-world applications?
Relative velocity has numerous practical applications across engineering, transportation, and physics. In aviation, pilots calculate relative wind velocity to determine airspeed versus ground speed and to plan crosswind landings. In naval operations, relative velocity is used for collision avoidance and intercepting other vessels. In ballistics, the relative velocity between a projectile and its target determines impact energy. Traffic engineers use relative velocity to design safe merging lanes and calculate stopping distances. In sports like baseball and cricket, the relative velocity between the bat and ball determines hitting power. Astronomers use relative velocity measurements via Doppler shift to detect exoplanets and measure galaxy recession speeds. River crossing problems in physics also rely on relative velocity between the boat, river current, and the bank.
What is the difference between classical and relativistic velocity addition?
In classical mechanics, relative velocity is calculated by simple vector subtraction: V_AB = V_A - V_B. This works perfectly for everyday speeds but breaks down at velocities approaching the speed of light. Einstein's special relativity introduces a correction factor: V_rel = (V_A - V_B) / (1 - V_A x V_B / c squared), where c is the speed of light (approximately 300,000 km/s). At everyday speeds, the denominator is essentially 1, so the formulas agree. However, at high speeds, the relativistic formula ensures that no relative velocity can exceed the speed of light. For example, two spaceships approaching each other at 0.8c each would have a classical relative velocity of 1.6c, but the relativistic calculation gives 0.976c. Relative Velocity Calculator uses classical mechanics, which is accurate for all terrestrial applications.
How do I interpret the result?
Results are displayed with a label and unit to help you understand the output. Many calculators include a short explanation or classification below the result (for example, a BMI category or risk level). Refer to the worked examples section on this page for real-world context.
What inputs do I need to use Relative Velocity Calculator accurately?
Each field is labelled with the required unit (metric or imperial). Gather your source values before starting โ for example, a weight measurement in kilograms, a distance in metres, or a dollar amount โ and enter them exactly as measured. The formula section on this page lists every variable and explains what each represents.
References
Reviewed by Manoj Kumar, Mathematics Educator ยท Editorial policy