G-Code & CNC Calculators

G-Code & CNC

G-Code & CNC Calculators

Feed per rev, backlash, canned cycles, arc corrections, and program size estimates.

Feed Per Revolution
IPR = Feed Rate / RPM
Result
—
in/rev
Backlash Steps
Steps = Backlash / Step Size
Result
—
steps
Arc Feed Correction
F_arc = F × (R / r_tool)
Result
—
IPM
Canned Cycle Z Depth
Z = Clearance + Depth + Tip
Result
—
in
Program Size Estimate
Lines ≈ Path / Step × Axes
Result
—
lines
Radius Compensation
Offset = Tool Dia / 2
Result
—
in
Spiral Feed Rate
Feed = RPM × CL × Flutes
Result
—
IPM
G99 Feed/Rev
F = IPM / RPM
Result
—
in/rev
How to Use These Calculators

These calculators cover the numbers behind G-code programs. Feed per revolution and the G99 feed per revolution calculator convert between the units a control expects, and arc feed correction adjusts the feed on curved moves, where the edge and the tool center travel at different rates.

Canned cycle Z depth, radius compensation, backlash steps, and program size estimate help prepare and check a program before it reaches the machine. Spiral feed rate supports circular and helical moves. Always prove a new program with a dry run or single block before cutting a part.

Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.