Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

Vector Components
(8.6603, 5)
x and y components
x-component 8.660254
y-component 5
Magnitude (r) 10
Angle (degrees) 30

What Is the Vector Components Calculator?

This tool resolves a two-dimensional vector given in polar form (a magnitude and a direction angle) into its rectangular x and y components. It is widely used in physics, engineering, navigation, and computer graphics whenever a force, velocity, or displacement needs to be broken down into perpendicular axes.

How to Use It

Enter the vector's magnitude (its length, \(r\)) and its direction angle (\(\theta\)). Choose whether the angle is measured in degrees or radians, then read off the x and y components. The angle is measured counterclockwise from the positive x-axis, the standard mathematical convention.

The Formula Explained

A vector of length \(r\) pointing at angle \(\theta\) projects onto the axes as:

$$V_x = r \cos\!\left(\theta\right), \quad V_y = r \sin\!\left(\theta\right)$$

The cosine gives the share of the length that lies along the horizontal axis, while the sine gives the share along the vertical axis. These two components, placed at right angles, recombine to form the original vector — confirming Pythagoras: \(\sqrt{x^2 + y^2} = r\).

Advertisement
Vector on x-y axes showing magnitude r at angle theta with x and y components as dashed legs of a right triangle
A vector's magnitude \(r\) and angle \(\theta\) resolve into components \(x = r\cos(\theta)\) and \(y = r\sin(\theta)\).

Worked Example

Suppose a force has magnitude \(r = 10\ \text{N}\) at \(\theta = 30°\). Then $$x = 10\cos(30°) = 10\cdot 0.86603 \approx 8.6603\ \text{N}$$ and $$y = 10\sin(30°) = 10\cdot 0.5 = 5\ \text{N}.$$ So the force vector is approximately \((8.66,\ 5.00)\).

Worked example vector of magnitude 10 at 30 degrees resolved into horizontal and vertical components
Worked example: a vector of magnitude 10 at 30° gives \(x \approx 8.66\) and \(y = 5\).

FAQ

Which direction is the angle measured from? Counterclockwise from the positive x-axis (standard math convention).

Can I use radians? Yes — switch the angle unit to Radians. For example, \(\theta = \pi/2 \approx 1.5708\) gives \(x = 0\), \(y = r\).

What if my angle is negative or over 360°? The trigonometric functions handle any angle, so negative and large angles work and simply wrap around the circle.

Last updated: