Guide
What a 3D print really costs: filament, electricity, printer wear, failures and your time
Pricing a 3D print by the weight of plastic alone is a common mistake. A 45 g part uses 90 cents of filament but costs several dollars once the electricity, the wear on the machine, the failures you absorb and your own time are counted. This calculator adds them up, shows each part separately and then adds a markup so that you can set a selling price that covers the work.
Filament
Slicers report filament use either as a weight in grams or as a length in metres. If you have a length, the mass is the volume of a cylinder of filament times its density: for 1.75 mm filament the cross-section is 2.405 mm², so a metre holds 2.405 cm³, which weighs 2.98 g in PLA at 1.24 g/cm³. The tool knows typical densities for PLA, PETG, ABS, ASA, TPU, nylon and polycarbonate, and 1.75 mm and 2.85 mm filament. The filament cost is the spool price divided by the spool weight, times the grams used.
Electricity and wear
Electricity is the printer’s average power in kilowatts times the print hours times your price per kWh. A heated-bed printer averages roughly 100 to 150 W over a print, much less than its peak; a plug-in power meter gives the true figure. Wear spreads the purchase price over the working life: a 300 printer expected to last 5,000 hours costs 6 cents for every hour it runs. Neither is large for a single print but both add up over a hundred.
Failures, labour and extras
Some prints fail. If a fraction f of prints are failures, each good print has to carry the cost of f / (1 − f) failed ones, so 5% failures add 5.26% to the material, power and wear costs. Your time covers slicing, starting, removing and cleaning the part, at the hourly rate you choose. Other costs cover post-processing materials, packaging or fees. Together these make the total cost of one part.
A worked example
The default is a phone stand: 45 g of PLA, 5.5 hours at 120 W, a 20 spool of 1,000 g, electricity at 0.15 per kWh, a 300 printer with a life of 5,000 hours, 5% failures, 15 minutes of your time at 15 an hour and 0.50 of other costs. Filament is 0.90, electricity 0.10, wear 0.33, failures 0.07, time 3.75 and extras 0.50, so the total is 5.65. With a 40% markup the price is 7.91 and the profit 2.26. Notice that the time is two thirds of the cost.
Large and long prints
A 210 g PETG part that takes 22 hours at 140 W, with a 24 spool, an 8% failure rate, 25 minutes of work and a 60% markup costs 14.17 and sells for 22.66. Here filament is 5.04 and wear 1.32, so long prints shift the balance toward machine time. The third sample starts from a length of 15 m of filament, which the tool converts to 44.74 g, and shows how to price a part from the slicer’s metre figure.
Limits
The result is only as good as the inputs. The tool does not know your tariff, your real power draw or how often prints fail, and it ignores taxes, fees, shipping and the cost of support material and failed attempts beyond the percentage you enter. The markup is a simple percentage of cost, not a competitive market price.
Related tools
- STL Viewer gives the volume of a model and a rough weight to start from.
- G-Code Viewer shows the filament length and print time in a sliced file.
- Electricity Cost Calculator works out running costs for other machines.
- Profit Margin Calculator checks the margin on the price you choose.
Checked against the current version of the 3D Print Cost Calculator on .

