The Cylindrical to Cartesian Converter converts Cylindrical to Cartesian and returns x, y, z coordinates from radius, angle, and height.
Report an issue
Spotted a wrong result, broken field, or typo? Tell us below and we’ll fix it fast.
About the Cylindrical to Cartesian Converter
Cylindrical coordinates are a natural fit for rotational or pipe-like systems. They describe a point by its distance from an axis, its angle around that axis, and its height. Many models, however, still need Cartesian coordinates to compute distances and directions in straight lines.
This Converter bridges that gap. Enter your inputs for radius r, angle θ, and height z. The tool calculates x and y on the horizontal plane and preserves z. You get a clean result, formatted for maths, coding, or engineering notes.
For students and professionals, this reduces errors and saves time. You see how the formula works, and you can trace each step. That makes it easier to debug calculations and document your workflow.

The Mechanics Behind Cylindrical to Cartesian
Cylindrical coordinates use a radial distance r, an angle θ around the z-axis, and a vertical value z. Converting to Cartesian requires projecting r onto the x-y plane with basic trigonometry.
- r measures how far the point is from the z-axis in the horizontal plane.
- θ measures the rotation around the z-axis, usually from the positive x-axis.
- z is the same in both systems; it represents height or depth along the vertical axis.
- x is found by the adjacent projection: x = r cos(θ).
- y is found by the opposite projection: y = r sin(θ).
Think of a right triangle in the x-y plane. The hypotenuse has length r. Its angle with the x-axis is θ. The x and y legs follow directly from cosine and sine. The vertical dimension z does not change.
Cylindrical to Cartesian Formulas & Derivations
The core formula connects a circular sweep to straight-axis coordinates. It follows from the unit circle and scalar projections in the plane. Each formula converts one piece of your point.
- x = r cos(θ)
- y = r sin(θ)
- z = z
- Derivation sketch: In the x-y plane, the unit direction at angle θ is (cos(θ), sin(θ)). Scaling by r gives (r cos(θ), r sin(θ)).
- If θ is in degrees, convert first: θ(rad) = θ(deg) × π/180.
These expressions assume the standard right-handed coordinate system. The angle is measured counterclockwise from the positive x-axis. If your system uses a different zero-angle or a clockwise direction, adjust the formula or the sign of θ accordingly.
Inputs, Assumptions & Parameters
The Converter accepts common cylindrical inputs and optional settings. Enter values, choose angle units, and select the precision you need. Your result mirrors these choices.
- Radius r: nonnegative real number, in length units (e.g., meters).
- Angle θ: real number, in degrees or radians; pick the correct unit.
- Height z: real number, same length unit as r.
- Angle orientation: standard counterclockwise from +x (default), or custom if your convention differs.
- Precision: number of decimal places for the output result.
Typical ranges: r ≥ 0, θ unbounded due to periodicity, and z is any real value. When r = 0, the point lies on the z-axis; x and y should both be 0 regardless of θ. If your inputs mix units, convert them first. Using degrees without converting to radians in the formula is a common source of error.
Step-by-Step: Use the Cylindrical to Cartesian Converter
Here’s a concise overview before we dive into the key points:
- Enter the radius r in your chosen length unit.
- Enter the angle θ and select degrees or radians to match your input.
- Enter the height z using the same length unit as r.
- Confirm the orientation convention matches your problem statement.
- Choose the output precision for the x, y, and z result.
- Click Convert to run the formula and view the result.
These points provide quick orientation—use them alongside the full explanations in this page.
Real-World Examples
Robotics arm positioning: A rotational joint places a tool at r = 0.45 m, θ = 135°, z = 0.20 m. Convert the angle to radians for the formula, then compute x = r cos(θ) and y = r sin(θ). You get x ≈ −0.318 m, y ≈ 0.318 m, and z = 0.20 m. This locates the tool in the workspace for collision checks and path planning. What this means: the tool is in the second quadrant, 45 degrees above the negative x-axis, at a height of 0.20 m.
Pipe inspection mapping: A scanner inside a cylindrical tank records a point at r = 3.2 ft, θ = −30°, z = −1.5 ft. Convert θ to radians and apply the formula: x ≈ 2.771 ft, y ≈ −1.600 ft, and z = −1.5 ft. The negative y and z indicate a point below the midplane and rotated clockwise from +x. What this means: the defect is in the fourth quadrant and below the reference elevation.
Assumptions, Caveats & Edge Cases
The conversion relies on a consistent angle reference and a right-handed axis set. The formulas assume standard maths conventions. Deviations need adjustments before you interpret the result.
- Angle zero at +x and positive rotation counterclockwise are assumed.
- When r = 0, x and y should be exactly zero; θ becomes irrelevant.
- Numerical rounding can hide very small components; consider precision.
- Angles outside [0, 2π) or [0°, 360°) still work due to periodicity.
- Hardware sensors may report θ clockwise; use θ -> −θ if needed.
Be consistent with units across r and z. If you read angles from encoders in ticks, convert to radians or degrees first. When values are near machine precision, cross-check with higher precision to avoid misleading zeros.
Units & Conversions
Units matter because the formula assumes consistent length units for r and z, and the correct angle unit for θ. Mixing centimeters with inches, or degrees with radians, distorts the result and can misplace your point.
| Quantity | Common units | Conversion to SI base |
|---|---|---|
| Angle | rad ↔ deg | 1 rad = 180/π deg; 1 deg = π/180 rad |
| Length | cm ↔ m | 1 cm = 0.01 m |
| Length | mm ↔ m | 1 mm = 0.001 m |
| Length | in ↔ m | 1 in = 0.0254 m |
| Length | ft ↔ m | 1 ft = 0.3048 m |
Use the table to convert all inputs before running the formula. Pick one length unit and stick with it. For angles, convert degrees to radians if you are using calculators that expect radians in trigonometric functions.
Common Issues & Fixes
Most errors come from mismatched angle units or sign conventions. The second common source is mixing inches with meters, or centimeters with meters. A small mismatch leads to large placement errors.
- If your y value is flipped, check whether your angle increases clockwise; use θ -> −θ.
- If x and y look too small, verify that θ is in radians when using sin and cos.
- If only one component is off by a factor of 100, check length unit conversions.
- If r = 0 but x or y is not zero, clear any rounding noise and re-evaluate.
When in doubt, test with known points. For θ = 0 and r = 1, the result should be (1, 0, z). For θ = 90° and r = 1, the result should be (0, 1, z) if using degrees and standard orientation.
FAQ about Cylindrical to Cartesian Converter
Do I need to convert degrees to radians before using the formula?
Yes, if your calculator or code uses trigonometric functions that expect radians. Convert θ(deg) to θ(rad) = θ × π/180 first.
What happens when r is zero?
The point lies on the z-axis. Both x and y are zero, and θ has no effect on the result.
Which angle direction does the Converter assume?
It assumes counterclockwise rotation from the positive x-axis in a right-handed system. If your source uses clockwise, replace θ with −θ.
Can I use negative angles or angles larger than 360°?
Yes. The functions sin and cos are periodic, so the result is correct. You may normalize θ for readability if you like.
Cylindrical to Cartesian Terms & Definitions
Cylindrical coordinates
A 3D coordinate system that represents a point by radius r, angle θ around the z-axis, and height z.
Cartesian coordinates
A 3D coordinate system that represents a point by x, y, and z distances along perpendicular axes.
Radius r
The nonnegative distance from the point to the z-axis measured in the x-y plane.
Angle θ
The rotation from the positive x-axis in the x-y plane; measured in degrees or radians.
Height z
The vertical component of a point’s position; it is unchanged by the conversion.
Right-handed system
A coordinate convention where x, y, and z follow the right-hand rule, with positive rotation counterclockwise about the z-axis.
Projection
The component of one vector onto another; here, r projects onto x and y via cosine and sine.
Normalization
Adjusting an angle to a standard range, such as [0, 2π) or [0°, 360°), without changing the point’s location.
References
Here’s a concise overview before we dive into the key points:
- Wolfram MathWorld: Cylindrical Coordinates
- Wikipedia: Cylindrical coordinate system
- OpenStax Calculus, Volume 3: Cylindrical and Spherical Coordinates
- NIST Digital Library of Mathematical Functions: Trigonometric Functions
- NIST: SI Units and Prefixes
These points provide quick orientation—use them alongside the full explanations in this page.