3D Filament Cost Calculator

Estimate filament cost, grams used, and print time for any 3D printed object. Enter your object dimensions, infill percentage, filament type, and spool price to get a complete material and time estimate.

Quick Facts

Infill by use case
15% decorative · 20% standard · 40% functional · 80%+ structural
Higher infill increases strength and material use proportionally.
Standard spool
1 kg (approx. 330–400 m of 1.75 mm filament)
Most brands sell 1 kg spools; 250 g and 3 kg options also exist.
PLA vs ABS
PLA: easy, biodegradable, no enclosure needed. ABS: heat resistant, needs enclosure to prevent warping.
PETG bridges the gap — stronger than PLA, easier than ABS.

Your Results

Calculated
Filament used
-
Grams and meters of filament
Material cost
-
At your entered spool price
Estimated print time
-
Rough estimate with overhead factor
Total cost
-
Material + electricity (at $0.12/kWh, 120W)

Ready

Enter your object dimensions and press Calculate to see the filament estimate.

About the 3D Filament Cost Calculator

This calculator estimates how much filament your 3D print will consume, what it will cost, and roughly how long the print will take. It is designed for both beginners choosing their first material and experienced makers optimizing settings for batch production. By entering your object's bounding box dimensions, infill percentage, shell count, and spool price, you get a cost estimate that is close enough for planning and purchasing decisions, even before you open your slicer software.

A Brief History of FDM 3D Printing

Fused Deposition Modeling (FDM), also called Fused Filament Fabrication (FFF), was invented by Scott Crump in 1988 and commercialized by Stratasys starting in 1992. For nearly two decades it remained an expensive industrial technology — machines cost tens of thousands of dollars and were used primarily for rapid prototyping in engineering and manufacturing firms. The landscape changed fundamentally in 2009 when the original RepRap patents expired and the open-source community developed affordable desktop printers. The RepRap project, founded by Adrian Bowyer at the University of Bath in 2005, had laid the groundwork by creating self-replicating printers: machines that could print most of their own structural components.

By 2013, companies like MakerBot, Prusa Research, and Ultimaker had brought capable desktop FDM printers under $1,000, making them accessible to hobbyists, educators, and small businesses. The 2020s brought a second wave of democratization: Bambu Lab's high-speed printers — capable of printing at 300–500 mm/s with automatic calibration — compressed print times that once took hours into tens of minutes. Today, a capable FDM printer can be purchased for as little as $150, and a kilogram of PLA filament costs about as much as a paperback book. The technology has moved from industrial prototyping to household utility in roughly 15 years.

How FDM 3D Printing Works

FDM builds objects by melting a thermoplastic filament and depositing it in thin layers, one on top of another, until the full object is formed. The process starts with a digital 3D model (typically an STL or 3MF file) which is processed by slicer software that divides the model into horizontal layers and generates the toolpath — the precise set of movements the printer's extruder must make to deposit material in the right place at the right time.

The printer's hotend heats the filament to its melting point — around 200°C for PLA, 230–260°C for ABS, and up to 280°C for some engineering-grade materials. The melted filament is pushed through a precision nozzle (typically 0.4 mm diameter) onto the heated print bed. As each layer cools, it bonds to the previous one. The bed typically moves in the Z axis (or the gantry rises) after each completed layer, and the process repeats. A typical consumer print runs at 40–100 mm/s; high-speed printers can exceed 300 mm/s with print quality compensations.

The layer height determines both resolution and speed. A 0.1 mm layer height produces fine surface detail but requires twice as many passes as 0.2 mm. A 0.4 mm draft layer can slash print time in half at the cost of visible layer lines. Most users find 0.2 mm to be the best general-purpose setting — smooth enough for most functional parts, fast enough for reasonable print times.

Choosing the Right Filament Material

Material selection is one of the most consequential decisions in FDM printing. Each material has a distinct combination of mechanical properties, printing requirements, and cost. Here is how to think about the most common options:

PLA — Best for Beginners

Polylactic Acid is derived from corn starch or sugarcane and is biodegradable under industrial composting conditions. It prints at relatively low temperatures (180–220°C), doesn't require a heated enclosure, and adheres well to glass, PEI, and BuildTak print surfaces. PLA is stiff, dimensionally accurate, and available in hundreds of colors and specialty blends. Its main weakness is heat resistance — it begins to soften around 60°C, making it unsuitable for parts that will be exposed to direct sunlight in a car or hot environments. For decorative prints, prototypes, and low-stress functional parts, PLA is the default choice.

PETG — The Middle Ground

Polyethylene Terephthalate Glycol is a modified form of the same plastic used in water bottles. It offers better impact resistance and heat tolerance than PLA (up to about 80°C), is semi-flexible rather than brittle, and resists moisture better than Nylon. PETG prints at 220–250°C and requires a heated bed. It tends to string more than PLA and can stick too well to some print surfaces, but is otherwise forgiving and reliable. PETG is an excellent choice for mechanical parts, food-contact items (where food-safe filaments are used), and outdoor applications with moderate temperature exposure.

ABS — Heat Resistant but Demanding

Acrylonitrile Butadiene Styrene has been a staple engineering plastic for decades — it's what LEGO bricks are made of. It handles temperatures up to 100°C, machines and sands well, and can be acetone-smoothed to a near-injection-molded finish. The trade-offs are significant: ABS warps badly without a heated enclosure, emits unpleasant fumes requiring ventilation, and requires a bed temperature of 100–110°C. For most users, PETG or ASA achieves similar results with fewer headaches. ABS shines when you need acetone smoothing, or when high heat resistance is critical.

TPU — Flexible and Impact Resistant

Thermoplastic Polyurethane produces flexible, rubber-like parts. It is excellent for phone cases, gaskets, vibration dampeners, shoe insoles, and any application requiring elasticity. TPU prints at 220–240°C but requires a slow print speed (20–30 mm/s) to avoid the filament buckling before entering the hotend — Bowden extruder setups often struggle with flexible filaments. Direct-drive extruder printers handle TPU much more reliably.

Nylon — Strong and Fatigue Resistant

Nylon (PA12 or PA6) offers outstanding strength-to-weight ratio, excellent fatigue resistance, and low friction — properties that make it ideal for gears, hinges, living hinges, and structural brackets. It is hygroscopic (absorbs moisture from the air rapidly), which causes print quality to degrade unless the filament is kept dry. Printing Nylon typically requires a dry box or active drying, print temperatures of 240–270°C, and an enclosed printer to prevent layer delamination from drafts.

Specialty Materials

ASA (Acrylonitrile Styrene Acrylate) behaves like ABS but with UV resistance, making it ideal for outdoor functional parts. Wood-fill PLA blends PLA with wood fiber for an organic texture and finish that can be sanded and stained. Carbon fiber PLA and PETG composites add chopped carbon fibers for exceptional stiffness — useful for robotics arms, RC car parts, and structural brackets — but require hardened steel nozzles as the fibers are abrasive. Resin (SLA/MSLA) is a completely different process: liquid photopolymer is cured layer by layer with UV light, yielding extremely fine detail and smooth surfaces at the cost of more post-processing and higher per-liter material cost.

Infill Patterns and Why They Matter

Infill is the internal structure that fills the volume between a part's outer shells. Slicer software generates this structure automatically from the infill percentage you set. The percentage controls how dense the infill is; the pattern controls its geometry and mechanical properties.

The most common infill patterns are:

  • Grid / Lines: Simple, fast, and weak in the diagonal direction. Good for prototypes and decorative parts where structural integrity is secondary.
  • Gyroid: A continuous, mathematically smooth surface with isotropic strength — nearly equal strength in all directions. Uses slightly more filament than grid but provides significantly better mechanical performance per gram of material. Popular for functional parts.
  • Honeycomb: Hexagonal cells that distribute load efficiently, similar to natural honeycomb structures. Excellent stiffness-to-weight ratio, particularly for flat panels and brackets.
  • Cubic / 3D honeycomb: Extends the honeycomb concept into three dimensions for parts that need strength in the Z axis as well as X/Y.
  • Concentric: Follows the outer shape of the part — useful for flexible prints where uniform wall compliance is desired.

For most functional parts, gyroid at 20–40% is the pragmatic choice. For decorative prints, 10–15% grid saves time and material with no practical downside. For maximum strength, 60–80% gyroid or honeycomb delivers close to solid density at a fraction of the material cost of 100% infill.

Layer Height Trade-offs

Layer height is constrained to a range of about 25–75% of your nozzle diameter. With a standard 0.4 mm nozzle, practical layer heights run from 0.1 mm to 0.3 mm. The key trade-offs are:

  • 0.1 mm: Maximum surface smoothness, visible detail in small features, best for miniatures and detailed models. Print time is roughly 2× longer than 0.2 mm. Z-strength (inter-layer bond) is excellent because each layer bonds to more surface area relative to its mass.
  • 0.2 mm: The standard setting for most printers. Balances quality and speed well. Appropriate for functional parts, prototypes, and most consumer objects.
  • 0.3 mm: Visible layer lines, faster print. Good for draft iterations, large structural parts where appearance is secondary, and high-infill functional parts where layer line detail is irrelevant.
  • 0.4 mm: Draft mode. Large layer lines are clearly visible. Use for quick prototypes and structural parts that will be hidden or painted.

Slicer Software

Slicer software converts a 3D model into the G-code instructions your printer executes. The three most popular options in 2026 are:

  • Ultimaker Cura: The most widely used free slicer. Excellent material profiles, a large plugin ecosystem, and an intuitive interface. Strong choice for general FDM printing.
  • PrusaSlicer: Developed by Prusa Research, it introduced the concept of per-object and per-layer settings and has excellent support for multi-material printing. Free and open source. Preferred by many advanced users for its control granularity.
  • Bambu Studio: Required for Bambu Lab printers but works with other brands too. Offers automatic calibration workflows and cloud printing. Fast, polished interface that trades some advanced control for ease of use.

All three slicers will provide a more accurate filament estimate than this calculator — they compute the actual toolpath, accounting for every travel move and retraction. This calculator uses an empirical approximation formula that is accurate enough for budgeting decisions but not a substitute for a full slice if you need precise material quantities.

Common Print Failures and How to Avoid Them

Warping occurs when a print contracts as it cools and lifts off the build plate. Causes include a bed temperature that is too low, drafts reaching the print, or material prone to warping (ABS, Nylon). Solutions: increase bed temperature, use a heated enclosure, apply bed adhesive (glue stick, hairspray, or a dedicated adhesion solution), and add a brim in your slicer.

Stringing appears as thin threads of filament bridging gaps between features. Caused by molten filament oozing during travel moves. Solutions: increase retraction distance and speed, lower print temperature slightly, and increase travel speed. PETG strings more than PLA under the same settings; reduce print temperature or tune retraction per material.

Layer separation (delamination) happens when layers fail to bond properly. Common causes: print temperature too low, too-fast print speed reducing heat transfer time, or printing Nylon or ABS in cold, drafty conditions. Solutions: raise print temperature by 5–10°C, reduce print speed by 20%, and add an enclosure.

Under-extrusion produces weak, porous prints with gaps in walls. Causes: clogged nozzle, slipping extruder gear, moisture in the filament, or a print temperature that is too low for the material. Solutions: dry filament before printing, increase temperature, clean or replace the nozzle, and check extruder gear tension.

Bed Adhesion Methods

Reliable first-layer adhesion is the foundation of a successful print. The four most common approaches are: PEI spring steel sheets (magnetic, removable, excellent adhesion for PLA/PETG, parts pop off when the sheet flexes after cooling); glass beds with glue stick or hairspray; textured PEI plates (best for PLA and PETG, rougher surface, slight texture on first layer); and Garolite/FR4 sheets (best adhesion for Nylon). For difficult materials like ABS, brims — wide flat borders around the base of the part — dramatically reduce warping by giving the print more surface contact.

Post-Processing

FDM prints can be finished in several ways depending on the material and desired appearance. Sanding works on all thermoplastics — start with 80–120 grit to remove major layer lines, progress to 400–800 grit for a smoother surface, and finish with 1000–2000 grit for a polished result. Painting requires priming (spray primer fills layer lines), then painting with acrylic or enamel paints. PLA and ABS both accept paint well when primed. Acetone smoothing works exclusively on ABS: exposing the print to acetone vapor (or brushing liquid acetone onto the surface) partially dissolves the outer layer, merging layer lines into a smooth surface with an almost injection-molded finish. This technique is hazardous — acetone is highly flammable — and must be done with ventilation away from ignition sources.

Cost of Ownership

Understanding the total cost of FDM printing helps set realistic expectations. A capable entry-level printer (Bambu Lab A1 mini, Creality Ender 3 V3, or Prusa Mini+) costs $200–$350. Mid-range printers (Bambu Lab P1S, Prusa MK4, Bambu Lab X1C) run $600–$1,000 and offer enclosed printing, faster speeds, and better reliability. Filament costs $18–$55/kg depending on material, with PLA at the low end and engineering materials at the high end. Electricity is a modest cost — most printers consume 80–200W during printing, adding roughly $0.01–$0.03 per hour at typical U.S. electricity rates.

Time is the hidden cost of ownership. A 10-hour print ties up the machine for the equivalent of a work day. High-speed printers (300+ mm/s) reduce this dramatically — a print that takes 8 hours on a standard printer might complete in under 90 minutes on a Bambu X1C at full speed. For low-volume production, this time cost often exceeds filament cost by a large margin.

3D Printing vs. Buying Parts vs. Outsourcing

Whether to print, buy, or outsource depends on volume, geometry complexity, and material requirements. For one-off custom parts with complex geometry, desktop FDM is typically the fastest and cheapest option once the printer is amortized. For simple parts available off-the-shelf, buying is often cheaper when you account for machine time and filament. For high-volume production (hundreds or thousands of identical parts), injection molding remains far cheaper per unit despite high tooling costs. Print farm services (Craftcloud, Hubs, Shapeways) offer professional printing in engineering materials on calibrated machines — useful when you need quality ABS, Nylon, or SLS parts without owning an industrial printer. Their per-part costs typically run $10–$100 for small objects, making them economical for one-off parts in materials you don't have on hand.

Reference Tables

Filament Type Comparison

MaterialDensity (g/cm³)Typical price ($/kg)Best use cases
PLA1.24$18–$25Decorative prints, prototypes, low-stress parts
ABS1.04$20–$26Heat-resistant parts, acetone smoothing, automotive
PETG1.27$22–$28Mechanical parts, food-adjacent containers, outdoor
TPU (flexible)1.21$30–$40Phone cases, gaskets, shoe soles, vibration mounts
Nylon1.15$40–$55Gears, hinges, high-stress structural parts
ASA1.07$25–$35UV-resistant outdoor enclosures, signs, fixtures
Resin (SLA)1.10$35–$60/LMiniatures, jewelry masters, dental, ultra-fine detail
Wood fill PLA1.10$25–$35Decorative objects, model-making, organic textures
Carbon fiber PLA1.30$45–$65Stiff structural parts, robotics, RC components

Infill Percentage Guide

Infill %Typical use caseRelative strength
0–10%Hollow or ultra-light decorative printsVery low — shells only
10–20%Decorative objects, figurines, display modelsLow — adequate for non-load-bearing parts
20–30%Standard parts, prototypes, general-purpose printsModerate — good for everyday functional parts
30–50%Mechanical parts, brackets, clips, handlesHigh — suitable for most load-bearing applications
50–80%High-stress mechanical parts, tool mounts, jigsVery high — near-solid performance
80–100%Maximum-strength structural parts, impact partsMaximum — diminishing returns above 80%

Layer Height vs. Quality and Speed

Layer height (mm)Surface qualityRelative print speedBest for
0.1 mmExcellent — near-smoothSlowest (2× vs 0.2)Miniatures, jewelry, display models
0.15 mmVery goodSlow (1.3× vs 0.2)Detailed functional parts, visible surfaces
0.2 mmGood — standardStandard (1×)General-purpose — most common default
0.3 mmVisible layer linesFast (0.67×)Structural parts, hidden components, iterating
0.4 mmCoarse draft qualityFastest (0.5×)Draft prototypes, jigs, test fits

Frequently Asked Questions

What is the cheapest 3D printing filament?
PLA (Polylactic Acid) is generally the cheapest and most widely available 3D printing filament, typically costing $18–$25 per kilogram. It is also the easiest material to print with, making it ideal for beginners. PETG is slightly more expensive at around $22–$28/kg but offers better strength and temperature resistance. ABS has dropped in price to around $20–$25/kg but requires more careful printing conditions. Specialty materials like carbon fiber PLA, Nylon, and TPU cost significantly more, ranging from $35 to $55+ per kilogram.
How do I calculate how much filament I need?
To estimate filament use, calculate the bounding box volume of your object in cubic centimeters, then multiply by an effective fill factor that accounts for infill percentage and perimeter shells. A practical approximation is: effective_fill = (infill_percent / 100) × 0.6 + (shells × 0.08). Multiply the result by the filament material density to get grams. Your slicer software (Cura, PrusaSlicer, Bambu Studio) will give the most accurate estimate since it computes the actual toolpath, but this formula gives a reliable planning estimate within 10–20%.
Does infill percentage affect print strength?
Yes, infill percentage significantly affects print strength, but the relationship is not linear. Going from 15% to 40% infill provides a substantial strength increase, but going from 40% to 80% yields diminishing returns while using much more material and time. For decorative prints, 10–15% infill is sufficient. Standard functional parts work well at 20–30%. Parts that need to bear loads or withstand impacts benefit from 40–60% infill. Structural parts that need maximum strength can go to 80–100%. The infill pattern also matters: gyroid and honeycomb patterns provide better isotropic strength than simple grid patterns at the same percentage.
How long does a 1kg spool of filament last?
A 1kg spool typically yields 330–400 meters of 1.75mm filament depending on the material density. How long it lasts depends entirely on what you print. Small decorative objects (50–100g each) give you 10–20 prints per spool. Medium functional parts (100–200g) give 5–10 prints. Large objects or high-infill prints can consume 300–500g each, leaving only 2–3 prints per spool. At typical print settings (20% infill, 2 shells), a 1kg spool of PLA might last anywhere from 5 large prints to 30+ small ones.