Skip to content
ModelFileKit

How to calculate the cost of a 3D print, with worked examples

Material, electricity, machine wear, labor and failed prints: the formula behind a fair price for a 3D printed part, worked through on real models, and why labor dominates small parts.

· 5 min read

Filament is the smallest part of the cost

Ask how much a 3D print costs and most people weigh the part and multiply by the price of the spool. For a hobby print that is a fair start. For a part you sell, or one a client asks you to quote, it misses most of the cost. This guide breaks the cost into its parts, works through real models with the formulas the 3D print cost calculator on this site uses, and shows which numbers deserve your attention.

The five costs of a print

1. Material. The plastic that ends up in the part: walls plus infill, converted to grams with the density of the material and priced per kilogram.

2. Electricity. Printer power × print time × price per kWh. A typical FDM printer averages 100 to 150 W while printing, most of it for the heated bed.

3. Machine time. Printers wear out and need nozzles, belts, build plates and repairs. Spread the price of the printer plus maintenance over its working hours and you get a cost per hour. With a printer of 500 USD that lasts 2,000 printing hours with 500 USD of parts and repairs, that is 0.50 USD per hour.

4. Labor. Preparing the file, slicing, starting the print, removing it, taking off supports, cleaning, packing. Even 10 minutes per part is real money at any hourly rate.

5. Failures. Some prints fail: a warped first layer, a clogged nozzle, a power cut. A percentage on top of material, energy and machine time covers the ones you have to repeat. Labor is not included, because setup usually happens once.

On top of the cost come your margin and, where they apply, taxes.

How the material is estimated from the model

Slicers know exactly how much plastic they will lay, but you can estimate it well from the model alone. The calculator treats the part as a shell of the wall thickness over its whole surface, plus infill inside:

  • shell = surface area × wall thickness (never more than the whole volume)
  • plastic = shell + (volume − shell) × infill %
  • grams = plastic (cm³) × density (PLA: 1.24 g/cm³)
  • print time = plastic ÷ average flow rate of the printer

The flow rate is the average volume of plastic the printer deposits per second, including travel moves and layer changes. 8 mm³/s is a reasonable average for a modern printer with a standard profile. Fast printers on draft profiles go much higher, and fine detail profiles go lower. Calibrate it once: divide the plastic of a print by its real duration.

Worked example 1: a small part

The sample part used throughout this site measures 46.5 × 48.4 × 22.9 mm, with a volume of 13.66 cm³ and a surface of 62.5 cm². With the calculator’s default settings (PLA, 1.2 mm walls, 15% infill, 20 USD/kg, 8 mm³/s, 150 W, 0.15 USD/kWh, 0.50 USD per machine hour, 10 minutes of labor at 15 USD/h, 10% failures, 50% margin):

Item Calculation Amount
Plastic 7.50 cm³ shell + 6.16 cm³ × 15% infill 8.43 cm³
Material 10.45 g of PLA at 20 USD/kg 0.21 USD
Print time 8,425 mm³ ÷ 8 mm³/s 0.29 h (18 min)
Electricity 0.29 h × 150 W × 0.15 USD/kWh 0.01 USD
Machine 0.29 h × 0.50 USD/h 0.15 USD
Labor 10 min at 15 USD/h 2.50 USD
Failures 10% of material, energy and machine 0.04 USD
Cost 2.90 USD
Margin 50% 1.45 USD
Price 4.35 USD

The filament is 7% of the cost. Labor is 86%. A small part is mostly someone’s time.

Worked example 2: the same part, twice as big

Scaling the same part to 93 × 97 × 46 mm multiplies its volume by 8 (109.3 cm³) and its surface by 4 (250 cm²). Same settings:

Item Small part Twice the size
Filament 10.45 g 51.95 g
Print time 0.29 h 1.45 h
Material 0.21 USD 1.04 USD
Electricity 0.01 USD 0.03 USD
Machine 0.15 USD 0.73 USD
Labor 2.50 USD 2.50 USD
Failures 0.04 USD 0.18 USD
Cost 2.90 USD 4.48 USD
Price 4.35 USD 6.72 USD

The part uses five times the plastic, but the price grows only 54%, because the labor stays the same. Notice too that the filament grew five times, not eight: the infill is only 15%, so the plastic follows the surface (walls) more than the volume.

What this means for pricing

  • Small parts: labor dominates. Batching helps: if you print 20 parts on one plate and spend 30 minutes on all of them, labor per part falls from 2.50 to 0.38 USD.
  • Large parts: machine time and material take over. Optimizing the print profile (fewer walls, less infill, a bigger nozzle) saves real money here.
  • Electricity is almost never the issue at typical prices: 1 to 3 cents per hour of printing.
  • Failure rate matters more than it looks for long prints. A 20-hour print that fails at hour 15 costs most of a second print. Raise the percentage for tall or delicate parts.
  • Resin and engineering materials change the material line a lot: PETG is similar to PLA, nylon and carbon-filled filaments cost two to four times more, and resin adds washing and curing time to labor.

Checklist for an honest quote

  1. Measure your printer’s real average flow rate on a typical print.
  2. Put a real hourly rate on your time, even for a hobby.
  3. Include machine wear: a printer is a consumable.
  4. Add a failure margin that matches the risk of the part.
  5. Then add your margin and taxes.

The cost calculator does this from the STL itself, in your browser: drop the file, adjust the settings to your printer and your prices, and you get the breakdown and a price per part.