Extruder Calibration

Extruder Calibration

Having your extruder properly calibrated is essential for perfecting your print quality. Often when you go to calibrate it for the first time, you’ll find that your calibration is actually a long way off from what it is supposed to be and you’ve been printing with it set incorrectly all along.

There are two parts to calibrating your extruder – tuning your extruder steps/mm value in your firmware, and tuning your extrusion width/extrusion multiplier. It is important to do it in this order. First, we want to sort out how much plastic is being fed in to the hot end (regardless of any values like extrusion width, extrusion multiplier, filament diameter etc), and then move on to how the printer is behaving in terms of the plastic actually being pushed out and laid down.

Calibrating extruder steps/mm

To calibrate the steps/mm value, we tell the printer to extrude 100mm of plastic. Then we’ll measure how much plastic it extruded and see if it actually was 100mm – pretty simple right!

Measuring

To do this, first measure out 120mm of filament from where it enters your extruder and mark it with a pen or marker. This will be the reference point. Then, connect your computer to your printer and open up a program that allows you to send individual gcode commands to it (like Pronterface,  Simplify 3D, Repetier Host, or Octoprint web interface). Heat up your extruder to your regular printing temperature. Then we want to make sure that the extruder is in relative mode, so send the command M83 using the textbox in the bottom right hand corner if you’re using Pronterface. In simplify 3d you’ll want to open up the machine control panel window and go to the communication tab. All the commands that I’ll be referring to later in this post should all be entered in this way.

Then, tell the printer to extrude 100mm of plastic with the command G1 E100 F100. This will take 60 seconds until it’s finished extruding. Why are we extruding it so slow? Because extruding slowly in this step ensures that the resistance of the plastic further down when it is being pushed into the nozzle, does not effect how much is fed in by the stepper motor. It also helps to take the temperature out of the equation, again by reducing the effects of pressure in the nozzle to virtually nothing.

Once the machine has finished extruding the 100mm, switch off the extruder heater and measure the distance between the point that you marked before we started, and where the plastic enters the extruder (the same point from which you measured the initial 120mm). If this is exactly 20mm, congratulations! Your extruder steps/mm are perfectly calibrated. If it is more or less than 20mm, then it means that your printer is over or under extruding. Fortunately the way to solve this is fairly easy.

Tuning

In order to calculate what our new steps/mm value will be, we need to know the existing steps/mm value, and the under/over extrusion rate. To get the existing steps/mm value, send the command M503. This will print out all the current values saved in your printers EEPROM (storage that persists when it is powered off), including all your axis steps/mm values. We’re only interested in the E value, highlighted in the picture below.

Extruder steps/mm

Now we get to do some maths! Yay. We need to work out how much plastic your printer actually extruded, which can be calculated from: 120 mm – left over filament distance (measured in the previous step). For example, for me this was 120 - 26 = 94.

Remaining filament measurement

So my printer was actually only extruding 94 mm when I asked it to extrude 100 mm – that’s a 6% under extrusion! So, to calculate the new, correct extruder steps/mm value, we do the following –

Original extruder steps/mm value × 100 mm = total steps taken:
161.3 × 100 = 16130

From that, we can extrapolate that calibrated extruder steps/mm value (y) × actual extruded distance = total steps taken:
y × 94 = 16130

Therefore, calibrated extruder steps/mm value (y) = total steps taken / actual extruded distance:
y = 16130 / 94
= 171.6

This is our new calibrated extruder steps/mm value! To enter and save it to your printer use the commands M92 E###.# (replace the hashes with your calibrated extruder steps/mm value) and then M500 to save it. The Prusa i3 MK2 must be running a recent firmware version to enable saving to EEPROM.

Saving extruder steps/mm to EEPROM

To make sure that this has all worked out as intended, turn your printer off and on or reset it and then send the command M503 again to check if your new extruder steps/mm value is shown. To do a final test to make sure it’s correctly calibrated, measure out another 120 mm of filament, mark it, and then extrude 100 mm. You should have exactly 20 mm left over. If not, recalibrate using the steps above and your new steps/mm value as the original.

Calibrating extrusion multiplier

Now that we know the right amount of filament is being fed into the hotend by the extruder mechanism, we need to make sure that the filament being extruded is the same amount as what our slicer thinks it is. We can do this by printing a single perimeter cube and checking if the width of the walls are the same as our extrusion width.

To begin, accurately measure your filament diameter, preferably with some digital calipers. Enter this into your slicing software. Then, make sure that your extrusion multiplier is set to 1. Check what your extrusion width is and remember it – that’s what we’ll be comparing to later on.

Load a 25 mm cube into your slicer and set the infill to 0%, perimeters to 1, and top solid layers to 0. You’ll also want to print it at a fine resolution – I chose 0.15 mm and it actualy did make a small (0.02 mm) difference in the wall thickness as opposed to 0.3 mm. Print it out and then use digital calipers to measure the thickness of the walls. Your aim is to get this to be the same as your extrusion width set in your slicer. Adjust your new extrusion multiplier to: (extrusion width / measured wall thickness) × extrusion multiplier.

Cube comparison

For example, since my walls first came out as 0.5 mm even though I set my extrusion width to 0.45 mm, my extrusion multiplier would need to be changed to (0.45/0.5) × 1 = 0.9. Enter this into your slicer and print the model again and re test. If your measurements and your calculations were correct it should only take one adjustment, but sometimes it might take a few tries to get it right. This extrusion multiplier value should be calibrated and set on a per material basis due to the different flow characteristics of different materials when extruded (eg. viscosity).

Measurement comparison

Finalisation

Your extruder should now be fully calibrated! Enjoy printing knowing that you have everything dialed in perfectly. If you’re finding that your prints look like they’re over extruding or under extruding, first check your filament diameter and make sure it’s the exact same as what you have in your slicer. If it is and you’re still having minor issues, don’t be afraid to change your extrusion multiplier up or down a few %. The tests above are all prone to errors (most likely in measurements), and what’s most important is how the prints actually come out. So if you need to change it a little bit then that’s fine!

 

If you found this post helpful and you’d like to show your support, feel free to leave a tip!

39 thoughts on “Extruder Calibration

      1. I’m don’t understand. I extruded 100mm of filament on the first extruder but how do I do the others?

        Like

      2. There’s no point in doing the others, because you can only set one value anyway. So just use the one that you calculated from the first extruder. I also don’t know if it’s possible to manually change extruders with gcode commands either, due to the way the multiplexer works

        Like

  1. Hi. Nice article, but I have problem with M92 E***.* value saving. Used M500 command, but after reset / reboot, it is still stock 161.30.
    Prusa i3, with latest firmware

    Like

  2. I’m struggling to get down to the proper extrusion width. I can’t get closer than 0.48 to the 0.45 I’m targeting. Also, as I lower the extrusion multiplier, I get a rough surface and tiny holes too as if I’m under extruding. And, I’m getting different measurements on each side of the cube, by as much as 0.03. What am I doing wrong?

    Like

  3. So I seem to get tiny holes in my print after I set the extrusion multiplier and a rough surface, as if the printer is under extruding, and I’m still above the proper width by 0.04 at least. Also I get different measurements on different sides of the cube by as much as 0.03.

    Like

      1. If that works, can I trust the calibration will work when printing other parts to tight tolerances?

        Like

      2. Calibrating the extrusion doesn’t directly correspond to dimensional accuracy, there are a lot of other things that can affect that too

        Like

  4. Excellent article! I was pretty happy with my prints before, but having followed your instructions, I found that I was underextruding by 5%. I tweaked the extruder steps/mm, printed the 25mm, and to the naked eye, it looks perfect. Based on the wall thickness, it’s just .03mm off.

    I’ve just modified the extrusion multiplier, and I’m in the process of printing the second cube now to see if things are really dialed in now.

    Like

  5. For the Prusa i3 MK2s, the command ‘G1 E100 F100’ didn’t work as expected. I had to send two distinct commands:
    G1 F100
    G1 E100

    Like

      1. With the single line command, the extruder motor tries to spin really fast for half second and then stops.
        The same odd behavior happens when I use Pronterface’s dedicated “Extrude” button.

        Like

      2. This same thing just happened to me as well, though slightly differently. I had to send the G1 E100 F100 twice. After the first send, it almost sounded as if the motor was skipping, but the filament wasn’t moving. After sending the second command, filament was extruder as expected.

        I reset the printer and tried again — same result — first command makes a grinding noise, second command actually extrudes.. Nothing in the firmware immediately jumps out at me, but I need to take a better look.

        I’m not sure if this is related, but after calibrating the extruder, the cube printed great (just slightly too thick w/~.49mm walls). The bottom layers, however, look very under-extruded. With two bottom layers I can see light through all the intersections of the layers. Any ideas?

        Like

      3. That’s weird about the gcode command not working properly, in theory it should work fine. I’m not sure why it’d be doing that.

        I was going to say your bottom layers are most likely related to your live z :p

        Like

      1. In your above example, since it was extruding .5mm when set at .45, would you put in 90%

        Thanks for the help

        Like

  6. Where do I find the extrusion width? Do I measure what comes out of the nozzle or in slic3r(prusa) in the advanced tab in the default extrusion width? Thanks.

    Like

    1. As a rule of thumb, generally around 1.2 times the nozzle diameter works well for the extrusion width. So 0.48mm for a 0.4mm nozzle, which would be set in the slicer like you said

      Like

      1. Ok, Prusa MK2S, stock .4 nozzle. 1.75mm filament, printed the cube with what I think is the stock settings and the wall came out at 1.34x mm with a digital micrometer.
        And that was after the extrusion fix.
        What could I be doing wrong?

        Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s