Calculate X and Z compensation values for CNC lathe turning operations. Generate correct G41/G42 offsets for radii, chamfers, and tapered surfaces.
For CNC lathe G41/G42 tool path correction. Results update in real time.
CNC lathe programmers specify tool position using the theoretical sharp tip of the insert. But real inserts have a radius — typically 0.2 to 2.4 mm. When cutting straight diameters or faces, this radius makes no difference. The moment you cut a chamfer, radius, or taper, the actual cutting point shifts along the radius, and the programmed sharp-tip path no longer matches the actual cut surface. The mismatch can be 0.2 mm or more — enough to scrap a precision part.
Nose radius compensation (G41/G42 in ISO code) adjusts the tool path by the nose radius so the actual cutting edge follows the programmed contour. This calculator computes the X and Z compensation values for any combination of nose radius, surface angle, and cutting direction.
The cutting point on a round-nose insert moves along the nose radius as the surface angle changes. For a surface at angle α from the spindle axis:
ΔX = 2 × R × (1 − cos α) (diametral)
ΔZ = R × (1 − sin α)
Where R is the nose radius and α is the surface angle (0° for turning, 90° for facing). For a 45° chamfer with a 0.8 mm nose radius: ΔX = 0.47 mm, ΔZ = 0.23 mm. Without compensation, the chamfer would be undersized by nearly half a millimeter in diameter.
G42 activates cutter radius compensation with the tool to the right of the programmed path. For OD turning (tool cutting on the front of the part, moving left to right), use G42. For ID boring (tool cutting on the back wall, moving left to right), use G41 — the tool is to the left of the cut. Getting this backward doubles the compensation error instead of correcting it.
Most CAM systems handle G41/G42 automatically. For manual programming, a simple rule: G42 for OD operations, G41 for ID operations. The calculator above defaults to OD/Direction and shows the correct G-code for your setup.
The "virtual tool tip" — the intersection point of the tool's two theoretical straight edges — is a mathematical convenience that exists nowhere on the actual tool. Every insert has a radius that connects the side and front cutting edges. The virtual tip sits inside the radius, offset from the actual cutting edge by (R × √2) in both X and Z. When you program using the virtual tip without compensation, every angled surface is machined undersize.
This offset is constant for a given nose radius, which is why G41/G42 only needs to know the radius value in the tool offset register. The control calculates the compensation geometrically based on the instantaneous surface angle of the programmed path.
For convex radii (external corners), the compensation increases the tool path radius by the nose radius. For concave radii (internal corners), the path radius decreases by the nose radius. Both cases produce the correct part profile — but the internal case is more critical because insufficient compensation causes the tool to gouge the internal corner.
On internal radii, always verify that the compensated path radius is positive. If the nose radius exceeds the programmed corner radius, the control cannot maintain the contour and generates an error or a sharp corner. A 0.8 mm nose radius cannot reproduce a 0.5 mm internal corner — the smallest programmable internal radius equals the nose radius plus a safety margin.
When turning a taper, the uncompensated error has both X and Z components that vary with the taper angle. The error in the X direction is most critical because it's doubled (diametral measurement). A 10° taper with a 1.2 mm nose radius produces a diametral error of approximately 0.02 mm — negligible for most work. A 60° taper with the same radius produces a 0.6 mm error — catastrophic for any precision fit.
The tool's approach direction also matters. Right-hand tools with the cutting edge oriented toward the headstock behave differently in compensation than left-hand tools. Tools with a 90° approach angle (standard OD turning) use the compensation values shown in this calculator; tools with 45° or 75° approach angles require modified values.
Standard insert nose radii are 0.2, 0.4, 0.8, 1.2, 1.6, and 2.4 mm. The smallest radius that can produce a given internal corner is equal to the corner radius. For external corners, there is no lower limit — any nose radius can produce any external corner, though larger radii require more compensation.
For general turning, a 0.8 mm nose radius offers the best balance of edge strength, surface finish capability, and compensation range. For finishing work requiring precise internal radii under 1.0 mm, switch to a 0.4 mm radius insert. The Surface Roughness Calculator helps quantify the surface finish trade-off when switching to a smaller nose radius.
What is nose radius compensation in CNC turning? It's the adjustment of the programmed tool path to account for the insert's nose radius. Without it, angled surfaces (chamfers, radii, tapers) are cut undersize by an amount proportional to the nose radius and the surface angle.
When do I use G41 vs G42? G42 (tool right of contour) for OD turning. G41 (tool left of contour) for ID boring. On most lathes, OD roughing and finishing use G42. Facing and back-turning may reverse the direction depending on tool orientation.
How much error does a 0.8 mm nose radius cause on a 45° chamfer? Approximately 0.47 mm in diameter (X) and 0.23 mm in length (Z). This calculator shows the exact values for your specific parameters.
Can I skip compensation for small chamfers? For chamfers under 0.5 mm wide with tolerances of ±0.1 mm, the uncompensated error may be acceptable. For any chamfer over 0.5 mm or any chamfer with a tolerance tighter than ±0.05 mm, compensation is required to hold the dimension.
Does tool holder orientation affect compensation values? Yes. Standard OD turning with a right-hand tool (cutting toward the headstock) uses the values shown here. Left-hand tools, back-turning tools, and tools with non-standard approach angles require different compensation vectors. Most CAM systems handle these variations automatically.
How does nose radius compensation interact with tool wear? As the nose radius wears, the effective radius increases, and the compensation becomes progressively less accurate. When tool wear causes the actual radius to change by more than 0.05 mm, the compensated path no longer produces the correct profile. This is detectable as a gradual shift in chamfer dimensions or corner radii over the life of the insert.
For inserts with consistent nose radius tolerances, check our High-Performance End Mills