Vector Components Calculator

Break a vector into x and y components in one click.

Result

43.30
25.00

How it is calculated

The tool splits a vector, given by its length and direction, into horizontal and vertical parts. The magnitude is the length of the vector in any unit, and the angle is in degrees, measured counter-clockwise from the positive x-axis. It converts the angle to radians and computes x = magnitude × cos θ and y = magnitude × sin θ. Both are shown with two decimals in the same unit as the magnitude. Angles above 360 or below 0 are accepted and wrap around, so 390° behaves like 30° and −30° points below the x-axis. The sign of each component tells the quadrant, and the tool prints the components only, not a quadrant name. A negative magnitude is not rejected and simply flips both components.

Worked example

A force of 50 N acts at 30° above the horizontal. The x-component is 50 × cos 30° = 50 × 0.8660 = 43.30 N. The y-component is 50 × sin 30° = 50 × 0.5 = 25.00 N. As a check, √(43.30² + 25.00²) = 50, the original magnitude. If the same force pointed at 150°, the y-component would stay at 25.00 N, but x would become −43.30 N, since the vector then points up and to the left.

Try this example →

Common mistakes

  • Entering the angle in radians (for example 0.52) when the tool expects degrees. The result would be almost entirely in the x-direction.
  • Measuring the angle from the y-axis (the vertical) instead of from the x-axis. The cosine and sine then swap, and x and y come out reversed.
  • Dropping the negative signs. A component of −43.30 means the vector points left, and that sign matters when you add forces.
  • Using the compass angle for a bearing. A compass bearing is measured clockwise from north, so it has to be converted first.
  • Entering a negative magnitude to mean the opposite direction. This works mathematically, but it is clearer to add 180° to the angle.

About this calculator

Resolving a vector into its x and y components means splitting a single magnitude-and-angle description into two perpendicular pieces: horizontal (x = magnitude × cos θ) and vertical (y = magnitude × sin θ). This is the standard first step in nearly every mechanics problem, because forces, velocities and displacements are far easier to add together axis by axis than at arbitrary angles.

Physics students use component resolution to solve projectile motion, inclined-plane friction problems and equilibrium questions where several forces act at different angles — you cannot simply add two forces of 10 N and 15 N unless they point the same way, but you can always add their x-components together and their y-components together. Engineers rely on the same decomposition when analyzing truss loads, wind forces on a structure, or thrust vectors in aerospace design, and the reverse operation (recombining x and y back into magnitude and angle via the Pythagorean theorem and arctangent) is just as common.

Enter a vector’s magnitude and its angle from the x-axis, and this calculator returns the x and y components, rounded to two decimals; the signs of x and y tell you which quadrant the vector points into, so you can move straight to the next step of your problem.

Was this helpful?

You can pick up to 3 reactions.

Comments (0)

  • Be the first to comment.

Popular calculators

All Calculators