Zurück zum Blog
Business8 March 20265 min read

How to Calculate 3D Printing Cost from an STL File

DanielFounder, Printforge
3D printing cost calculatorSTL file costpricingquotingcost estimation

If you run a 3D printing service — or you're thinking about starting one — the single most important skill you can develop is accurate cost estimation. Every quote you send starts with an STL file, and understanding how to turn that geometry into a dollar figure is the difference between running a profitable operation and losing money on every job. In this guide, we'll break down the full process of calculating 3D printing costs from an STL file.

Why STL-Based Cost Estimation Matters

An STL (Standard Tessellation Language) file describes the surface geometry of a 3D model as a mesh of triangles. While it doesn't contain material or process information, it gives you everything you need to calculate volume, surface area, and bounding box dimensions. From those numbers, you can derive material weight, estimate print time, and build a complete cost breakdown.

Manual quoting — eyeballing a model and guessing at a price — is a recipe for inconsistency. You'll overcharge simple parts and undercharge complex ones, frustrating customers in both cases. Systematic STL-based estimation keeps your pricing fair, repeatable, and profitable.

Step 1: Material Cost

The foundation of any print cost is the material consumed. An STL file gives you the part volume in cubic millimetres, which you can convert to grams using the filament's density. For example, PLA has a density of roughly 1.24 g/cm³, while PETG sits around 1.27 g/cm³ and ABS around 1.04 g/cm³.

Don't forget to account for support material and infill. A part printed at 20% infill uses significantly less filament than the same part at 100%. Your slicer settings directly affect material consumption, so factor in your typical infill percentage, support density, and waste from failed prints. A good rule of thumb is to add 10–15% to your raw material estimate for waste and supports.

Material Cost = Part Weight (g) × Cost per Gram ($/g)

If you're using a 1 kg spool of PLA that costs $35 AUD, your per-gram cost is $0.035. A 50 g part would cost $1.75 in raw material — but remember, material is only one piece of the puzzle.

Step 2: Machine Time

Your printer isn't free to run. Every hour of print time costs you electricity, nozzle wear, belt and bearing degradation, and depreciation on the machine itself. To calculate a machine hourly rate, use this formula:

Hourly Rate = (Printer Cost ÷ Expected Lifetime Hours) + Electricity Cost per Hour + Consumables per Hour

For example, a Bambu Lab X1 Carbon that cost $2,500 AUD with an expected lifetime of 5,000 print hours has a depreciation cost of $0.50/hour. Add $0.10/hour for electricity and $0.15/hour for nozzles, belts, and build plates, and you're looking at roughly $0.75/hour in machine cost. A 6-hour print would add $4.50 to your part cost.

Print time estimation from an STL file alone requires either slicing the model (which gives exact times) or using volume-based heuristics. Many operators slice every job before quoting for accuracy, but that's time-consuming. A cost calculator that can estimate print time from STL geometry speeds this process dramatically.

Step 3: Labour and Overhead

Labour includes everything you do that isn't printing: reviewing the STL, orienting the model, configuring slicer settings, removing supports, sanding, quality inspection, packaging, and shipping. Even a simple part might take 15–30 minutes of hands-on time. Price your labour at a fair hourly rate — $40–$60/hour is reasonable for skilled work in Australia.

Overhead covers your fixed costs: workspace rent, software subscriptions, insurance, internet, accounting, and marketing. Divide your monthly overhead by the number of parts you produce to get a per-part figure, or bake it into your machine hourly rate.

Step 4: Markup and Profit

Once you've calculated your total cost (material + machine time + labour + overhead), add your profit margin. Typical markups in the 3D printing industry range from 30% for high-volume commodity parts to 100%+ for specialised or time-critical work. Your markup should reflect:

  • Complexity and risk of the job
  • Turnaround time required
  • Your expertise and quality standards
  • Market rates for comparable services
  • Whether the customer is a one-off or a recurring client

Putting It All Together

Here's a worked example for a 50 g PLA part with a 6-hour print time and 20 minutes of labour:

  • Material: 50 g × $0.035/g = $1.75
  • Machine time: 6 hours × $0.75/hr = $4.50
  • Labour: 0.33 hours × $50/hr = $16.50
  • Overhead: $2.00 (flat per-part allocation)
  • Total cost: $24.75
  • Sale price (50% markup): $37.13

Automate It with Printforge

Doing this calculation manually for every quote is tedious and error-prone. Printforge's cost calculator parses your STL file, estimates volume and print time, applies your material costs and machine rates, and calculates a total in seconds. You can save presets for different materials and printers, generate professional PDF quotes, and track every job from quote to delivery. It's the fastest way to go from STL file to accurate quote.

Explore our Learning Centre for more guides on running a profitable 3D printing operation, or check out the Printforge Marketplace to connect with customers in your area.

Try Printforge for free

Calculate costs, create quotes, and manage your 3D print business — all in one place.

Start free trial
How to Calculate 3D Printing Cost from an STL File — Printforge Blog | Printforge — 3D Print Cost Calculator