Retraction Settings Calculator
Finds the recommended retraction distance for your extruder type, nozzle size, and filament material. Use it when eliminating stringing, oozing, or blobs between printed features.
About this calculator
Retraction pulls filament back into the nozzle during travel moves to stop oozing. The ideal distance depends on three key factors: extruder type, nozzle diameter, and material. Direct-drive extruders sit close to the nozzle and need only 1.5–2.0 mm of retraction, while Bowden setups require 4.5–5.5 mm to compensate for the slack in the long PTFE tube. Material matters too — PLA retracts less than ABS or PETG because it is less runny when molten. The formula scales this baseline by (nozzle_diameter / 0.4) so that larger nozzles, which hold more molten plastic, retract proportionally more. For example, a direct-drive printer with PLA and a 0.4 mm nozzle yields: 1.5 × (0.4 / 0.4) = 1.5 mm. Excessive retraction causes grinding and jams; too little causes stringing.
How to use
Example 1 — Direct drive, PLA, 0.4 mm nozzle: Retraction = 1.5 × (0.4 / 0.4) = 1.5 mm. Example 2 — Bowden, ABS, 0.6 mm nozzle: Retraction = 5.5 × (0.6 / 0.4) = 5.5 × 1.5 = 8.25 mm. Example 3 — Bowden, PETG (other), 0.4 mm nozzle: Retraction = 5.0 × (0.4 / 0.4) = 5.0 mm. Use these as starting points and fine-tune in 0.5 mm increments while printing a stringing test tower until ooze disappears without causing jams.
Frequently asked questions
What retraction distance should I use for a direct drive vs Bowden extruder?
Direct-drive extruders mount the motor directly above the hotend, so there is minimal filament path between the drive gear and melt zone. This means 1–3 mm of retraction is usually sufficient. Bowden extruders have a PTFE tube that can be 300–700 mm long, introducing elasticity and slack that requires 4–7 mm of retraction for standard setups. Using Bowden-style retraction distances on a direct-drive printer will cause grinding and heat creep, so always match the setting to your actual hardware.
How does filament material affect the optimal retraction distance setting?
Material viscosity and stringing tendency drive retraction requirements. PLA is relatively stiff and less prone to oozing, so it needs the least retraction. ABS runs hotter and flows more freely, requiring slightly more. PETG is notorious for stringing due to its high melt adhesion and low viscosity, often needing retraction fine-tuning beyond any formula. Flexible filaments like TPU should use near-zero retraction because their elasticity absorbs the pull before it reaches the melt zone. Always start with the calculated value and adjust based on a physical stringing test.
Why does too much retraction cause clogs and jams in 3D printing?
Pulling filament back too far drags semi-molten material up into the cooler portion of the heatbreak, where it can solidify and create a partial blockage. This is especially problematic with all-metal hotends that lack a PTFE liner, since PLA degrades quickly when held at temperature in the heatbreak zone. Over-retraction also causes the extruder gear to grind into the filament, creating dust that accumulates inside the hotend. Keeping retraction within the recommended range — and avoiding retraction speeds above 45 mm/s for most materials — prevents these failure modes.