To calibrate Klipper pressure advance, print a square tuning tower with the test factor for your extruder. Measure the height with the cleanest corners, multiply it by the factor, and save the value. Run RESTART to clear the tower settings before applying a filament override or verifying at normal speeds.
What does pressure advance fix?
Pressure advance (PA) compensates for nozzle pressure lag as the print head changes speed. Klipper pushes extra filament during acceleration and pulls it back during deceleration. That reduces corner blobs and ooze while keeping total extrusion the same. Klipper’s pressure advance guide
Marlin calls its equivalent feature linear advance. See Klipper vs Marlin for the firmware comparison.
What should you calibrate before pressure advance?
Start with a working printer, a calibrated extruder rotation_distance, and the nozzle temperature you plan to use for that filament. Temperature and extrusion rate both affect the PA result. Klipper’s pressure advance guide
To check the extrusion distance, load filament and heat the hotend to an appropriate extrusion temperature. Mark the filament about 70 mm from the extruder intake and measure the exact distance with calipers. Run these commands to request 50 mm of extrusion. Klipper’s rotation distance procedure
G91
G1 E50 F60
Once the move finishes, measure from the intake to the mark again. Subtract that distance from the first measurement to get the actual extrusion. Calculate previous rotation_distance × actual extrusion ÷ 50 and round to three decimal places. Save it as rotation_distance in [extruder] and run RESTART to load it before the tower. Klipper’s rotation distance procedure · Klipper’s restart command
The slicer’s extrusion multiplier, called flow ratio in OrcaSlicer, controls how much filament is extruded. OrcaSlicer’s sequence places PA before flow ratio and calls for another PA check after a large flow ratio adjustment. OrcaSlicer’s calibration order
Klipper’s tuning tower
Download Klipper’s square_tower.stl and slice it for your nozzle and filament. Use this checklist from the Klipper tower procedure.
- Set the print speed high, around 100 mm/s, and use a layer height around 75% of the nozzle diameter.
- Set infill to 0%. Keep normal wall and retraction settings, such as two or three perimeters.
- Turn off dynamic acceleration control and scarf joint seams.
Check the slicer’s start G-code and any start macro it calls for SET_VELOCITY_LIMIT or SET_PRESSURE_ADVANCE. Omit those overrides from the tower job so the test commands control the limits and PA. Klipper’s slicer guide · Klipper’s G-code reference
Send the matching block in the Klipper console before starting the print. The first line slows cornering and lowers acceleration for the test. The second raises PA as the tower gets taller. Klipper’s tower commands
Direct drive
SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.005
Long Bowden
SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.020
Start the tower print. You can cancel it once the higher layers clearly show that the corners have worsened. Klipper’s tower procedure
How do you read the tower and calculate the value?
Compare the corners from bottom to top. If the layer-change seam makes one corner look different, judge the other three. Choose the height that gives the cleanest corners overall. If two heights look equally good, choose the lower one. Klipper’s tower reading instructions
| Pressure advance | What the corners look like |
|---|---|
| Too low | Extra plastic bulges at the corner. |
| Good | The turn is sharp and the line leading into it is even. |
| Too high | The turn rounds off or the line thins just before the corner. |
Measure from the bottom of the tower to the selected height with digital calipers. Use that height in millimeters in pressure_advance = START + height × FACTOR. In Klipper’s Bowden example, the height is 12.90 mm, so 0 + 12.90 × .020 = .258. Klipper’s formula and worked example
Where should the pressure advance value live?
For a firmware default, edit the existing [extruder] section in your Klipper configuration (printer.cfg). Replace the example value below with your result. Klipper’s configuration and reset steps
[extruder]
pressure_advance: 0.258
Once the tower job ends, run the command below. Klipper reloads the config, clears the test state and restores normal acceleration and cornering limits. Run it even if you plan to store the value only in a filament profile. Klipper’s restart command
RESTART
For a per-filament value, update the slicer’s filament profile after the restart. If your slicer uses custom filament start G-code, enter the command below with your own result. A PA command in the print’s startup G-code can override the firmware default. Ellis’ per-filament setup
SET_PRESSURE_ADVANCE ADVANCE=0.258
For help locating the printer configuration, see how Klipper works.
OrcaSlicer’s pattern test
If you just ran the Klipper tower, use the restart step above first. The OrcaSlicer pattern generates its own test G-code. OrcaSlicer’s pressure advance wiki
- Select the printer, filament and process you want to tune. Open Calibration → Pressure Advance, select DDE for direct drive or Bowden, then select PA Pattern. OrcaSlicer’s calibration guide · Calibration dialog labels
- Set Start PA, End PA and PA step to sample a range around your tower result. For PA Pattern, Print numbers is already checked and locked. Click OK to generate the test. Calibration dialog labels
- Slice the plate and open Preview. Confirm that the full corner pattern appears, then print it. The rectangular object in Prepare holds the layers where OrcaSlicer inserts the test moves. OrcaSlicer’s pattern workflow
- Read the value beside the sharpest corner with the fewest gaps, divots or bulges. Ellis’ pattern reading guide
- Start a new project to exit calibration mode. Enable pressure advance in the filament settings, enter the selected value and save the material profile. OrcaSlicer’s calibration guide · Filament settings
How do you verify the result?
After the restart, select the filament profile with your saved value if you use a per-filament override. Slice and print a part with corners using the same filament and your normal speed and acceleration. Check the printed corners and the lines leading into them. Klipper’s post-test notes
- Too low: Corners or line ends bulge, or gaps appear between straight perimeters.
- Too high: Corners or line ends have divots, or perimeters separate at corners.
- Good: Corners stay sharp and perimeter lines remain even through the turn.
If corners show both gaps and bulges, check for play in the extruder before retuning. If an edited config value has no effect, check for SET_PRESSURE_ADVANCE in the sliced G-code and print-start macro. Ellis’ symptom guide · Ellis’ extruder checks · Klipper’s G-code reference
For ringing and resonance, see the ADXL345 input shaper setup.
FAQ
What is a good pressure advance value for direct drive Klipper?
Use the value that gives clean corners on your printer with your nozzle and filament. Klipper gives a typical range of 0.050 to 1.000 across extruder types, with long Bowden setups usually at the high end. The direct-drive tower factor is the rate of change with height. Klipper’s pressure advance guide
Do I need to redo pressure advance for every filament?
Klipper recommends tuning each spool because the material, manufacturer and even pigment can affect the result. Recheck after changing the nozzle, extruder or print temperature as well. Klipper’s pressure advance guide · Ellis’ retuning guide
Does pressure advance replace retraction?
Keep slicer retraction available to handle stringing caused by sticky filament. Klipper gives 0.75 mm as an example of a small retraction and recommends enabling wipe on retract if available and disabling z-lift on retract. Klipper’s retraction notes
Why does my extruder click after setting pressure advance?
High PA can make the extruder skip when it returns to normal acceleration. Klipper gives values over 0.200 as an example where this can happen. If the extruder skips, reduce acceleration or disable pressure advance. Klipper’s extruder skipping guidance
Evidence note. The procedure is based on the current online Klipper documentation and OrcaSlicer wiki. The steps were not run on a printer for this guide.
Related across the network
- Pressure Advance Calibration for Klipper and Marlin — printlabguide.com
- Orca Slicer Calibration Order: All 9 Tests in Sequence — fdmdesk.com