Cost, Tolerances & Reference

Coordinate Rotation Calculator

Rotate a coordinate around a chosen centre — the maths behind a rotated work offset or a tilted fixture. Enter the point, the rotation angle and the centre to get the new X and Y.

Input Parameters

Results

New X (mm)—
New Y (mm)—
Technical Sourcing Service

Let our engineers find the right factory for your specs. 100% Quality Guaranteed.

Request a Proposal →

Coordinate rotation transformation formula

Rotating a coordinate system is a fundamental operation in CNC programming -- from G68 coordinate rotation to transformed work offsets and 5-axis part positioning. This calculator applies the standard 2D rotation matrix.

Frequently asked questions

What is G68 coordinate rotation?

G68 is the Fanuc/Mazak G-code for rotating the work coordinate system. G68 X0 Y0 R45 rotates the XY plane 45 deg around the origin. Subsequent G01/G02/G03 moves are executed in the rotated frame. Cancel with G69. Haas, Okuma, and Siemens use similar commands.

How do I rotate around a point other than the origin?

First translate the point to the origin (subtract rotation centre coordinates), apply the rotation, then translate back (add rotation centre). This is equivalent to G68 X(xc) Y(yc) R(angle).

What is the difference between rotating coordinates and rotating the tool?

Coordinate rotation (G68) rotates the reference frame -- the tool stays perpendicular to the XY plane. Tool rotation (5-axis) tilts the tool relative to the part. They are fundamentally different operations with different G-code commands.

How to use this Coordinate Rotation Calculator

Enter the original X, Y coordinates and the rotation angle in degrees. The calculator gives the rotated coordinates. Use this to verify transformed toolpaths, check G68 rotations, or compute coordinates for parts mounted at an angle.

Common mistakes to avoid

Related CNC calculators

Continue with closely related tools from the machining calculator library.

Browse all free CNC machining calculators. Explore our carbide tooling resources for engineers and machinists.

Need carbide tooling for this operation?

Use the calculator freely. If the result points to a tooling or process problem, we can source the exact carbide tooling you need from vetted factories in China. Compare factory-direct pricing.

Before you buy: what the market actually charges

Before you commit to a spec, it helps to know what the market pays for it. These are real, publicly listed factory prices — not a quotation, and not a guess.

Carbide tooling for this calculation

We source the tool families below direct from vetted Chinese factories, matched to the material and tolerance you just worked out. Every batch ships with its material certificate and dimensional record.

Send your drawing for a 48-hour quotation → How our China sourcing works →

Global Engineering Directory

Explore more precision machining tools and calculators

ROTATING A COORDINATE SYSTEM? Coordinate conventions are a common source of misread drawings. See how to make a drawing unambiguous for a supplier.

Need a cutting-tool package for this job?

Tell us the part material, lot size, and target price. We’ll match a verified China factory and return a quotation within 48 hours.

Send Your Drawing → WhatsApp (Beijing 09:00–21:00) quote@carbide-tooling.com