Vector Components Calculator
Enter a vector's magnitude and angle to find its x and y components.
Result
How it is calculated
Enter the vector's magnitude and its direction angle measured from the positive x-axis, counter-clockwise, with the unit option set to degrees (default) or radians. The tool resolves it into two perpendicular parts:
x = magnitude × cos(θ) and y = magnitude × sin(θ)
If the unit is degrees the angle is first converted with θ(rad) = degrees × π / 180. Results are rounded to four decimals and carry the same unit as the magnitude. Angles beyond 90° simply change the signs: x turns negative in the second and third quadrants, y in the third and fourth. Negative angles (clockwise) and angles above 360° are accepted.
Worked example
A force of 50 N acts at 30° above the horizontal. Convert: 30° = 0.5236 rad. Then x = 50 × cos 30° = 50 × 0.8660 = 43.3013 N and y = 50 × sin 30° = 50 × 0.5 = 25.0000 N. At 150° instead, the tool gives x = −43.3013 and y = 25.0000: same height, pointing to the left.
Common mistakes
- Leaving the unit on degrees when the angle is in radians (or the reverse). 30 read as radians gives x = 7.7126 and y = −49.4016 instead of 43.3013 and 25.
- Measuring the angle from the y-axis or from the nearest axis, not from the positive x-axis. A bearing of 30° from north is 60° in this convention.
- Swapping the formulas, so that cos is used for the vertical part. That is correct only when the angle is measured from the vertical.
- Ignoring the signs of the result for angles in the second, third and fourth quadrants.
- Putting a negative number in the magnitude to indicate direction, which flips both components; keep the magnitude positive and use the angle for direction.
About this calculator
Any two-dimensional vector can be broken down into its horizontal (x) and vertical (y) components using basic trigonometry: given a magnitude |V| and a direction angle θ measured from the positive x-axis, the components are Vx = |V| × cos(θ) and Vy = |V| × sin(θ). This decomposition is the foundation of vector algebra, since components in the same direction can be added or subtracted directly, unlike vectors at arbitrary angles.
Resolving vectors into components is a core skill in physics coursework covering forces, velocity, and projectile motion, as well as engineering fields like structural analysis and mechanics, where a single force or displacement at an angle needs to be split along perpendicular axes before it can be combined with other forces or used in equilibrium equations.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
Components shine when several vectors act together. Resolve each one, add all the x values and all the y values separately, then find the resultant with Pythagoras. A 50 N force at 30 degrees and a 20 N force at 90 degrees give x = 43.3013 and y = 45, so the resultant is about 62.45 N at roughly 46.1 degrees. What problem are you resolving: forces, velocities or displacements?