G-Code Speed & Feedrate Calculator

Convert mm/s print speeds to G-code feedrate (mm/min) values

Ad placeholder (leaderboard)

G-code expresses speed as a feedrate in millimetres per minute, but slicers and humans think in millimetres per second. This tool converts cleanly between the two and can also time a linear move, which is handy when reading or debugging raw G-code.

How it works

The conversion is a single factor of 60 (seconds per minute):

Feedrate (mm/min) = speed (mm/s) x 60

Speed (mm/s) = feedrate (mm/min) / 60

So a slicer print speed of 60 mm/s is written as F3600 in the G-code, and an F4800 you spot in a file is 80 mm/s.

Move duration uses distance over speed:

Duration (s) = distance (mm) / speed (mm/s)

This is exact for steady-state moves and ignores acceleration, so very short segments run slightly slower in reality.

Worked example

You set 80 mm/s outer walls in your slicer:

  • Feedrate = 80 x 60 = 4800 mm/min, written F4800
  • A 25mm wall segment takes 25 / 80 = 0.3125 s at that speed

Reading the reverse: a travel move tagged F9000 is 9000 / 60 = 150 mm/s.

Notes

  • The F value persists across lines until changed, so slicers emit it only when speed changes.
  • Travel moves use the same convention, usually at a higher feedrate than printing moves.
  • Use the duration figure to sanity-check segment timing; acceleration makes short moves slower than the ideal.

All conversions run locally in your browser.

Ad placeholder (rectangle)