Free plastics and 3D printing calculators

3D Printing Cost Calculator

Enter the filament used, print time and your prices to get the full cost of a 3D print and a selling price with markup.

Open on PlasticMachHub

Embed

Embed this tool

Copy this code into your website, blog or class page. The tool runs inside your page.

Please keep the credit link below the tool.

This 3D printing cost calculator works out what a print costs and what to charge for it. Enter the filament used, its spool price, the print time, your printer’s power and your electricity price, and it adds up material, electricity, machine wear, labour and a failure allowance. You can then add a markup to get a selling price. It works as a 3D printing cost estimator, a filament cost calculator, or a 3D printer filament cost calculator when you only know the filament length. It is free, needs no sign-up, and runs in your browser, so you can use it on a phone or a computer. The results update as you type, so you can change one setting at a time and see how the total moves.
3d printing cost calculator example

How to use the 3D printing cost calculator

  1. Choose how you enter filament: by weight (g, kg, oz or lb) or by length (m or ft). For length, also pick the material and the 1.75 mm or 2.85 mm diameter.
  2. Enter the spool price and the spool weight, so the tool can work out the price per gram.
  3. Enter the print time in hours and minutes.
  4. Enter your printer’s power in watts and your electricity price per kWh.
  5. Choose a currency symbol: $, €, £ or ¥. This only changes the label.
  6. Open the more options and choose a machine cost: none, purchase price divided by expected life in print hours, or an hourly machine rate.
  7. If you spend time on the job, enter labour minutes and your labour rate per hour.
  8. Enter a failure allowance % and, if you are pricing for sale, a markup %.
  9. Read the results: material, electricity, machine, labour, failure allowance, total cost, price with markup and cost per gram. The breakdown table shows each item’s share.
  10. Open “How it was calculated” to see the formula and each step with your numbers.

To see how the fields work, start with a preset: 30 g / 1.5 h, 85 g / 4.5 h, 400 g / 22 h, or a hobby print with no markup. Copy result copies the result lines with a link. Copy link copies the page address, which stores every input, so opening it later restores the same calculation. Print / save as PDF prints the inputs, results, calculation steps and the date.

How do you calculate the cost of a 3D print?

The total is the sum of five costs: material, electricity, machine, labour and failure allowance. Each one comes from the numbers you enter, and the markup is added at the end.

Material is grams × spool price ÷ spool grams. For example, 85 g from a spool that costs 20 per kg gives 85 × 20 ÷ 1000 = 1.70.

Machine cost depends on the option you pick. With purchase price ÷ expected life, it is print hours × (price ÷ life hours). With an hourly rate, it is print hours × the rate. Labour is minutes ÷ 60 × the rate per hour.

The failure allowance is failure % × (material + machine). It covers prints that go wrong, so it is based on the filament and machine cost only.

Total cost is the sum of all five items. Price with markup is total × (1 + markup % ÷ 100). In the 85 g example, the markup raises the total from 5.00 to 6.49.

How much electricity does a 3D printer use?

A printer’s electricity use is its power in kilowatts multiplied by the print hours. Divide watts by 1000 to get kilowatts, so a 120 W printer is 0.12 kW.

Running that printer for 4.5 hours uses 0.12 × 4.5 = 0.54 kWh. At 0.15 per kWh, the electricity cost is 0.54 × 0.15 = 0.081, which is about 0.08. Electricity is usually a small share of the total, but it still belongs in the cost.

If you don’t know your printer’s power, check the rating label on the printer or its power supply.

What does failure allowance mean?

Some prints fail and have to be reprinted. The failure allowance adds that share of the material and machine cost to every print: with 10 % failures, a print whose material and machine cost 4.00 carries an extra 0.40. Use your own failed-print rate from your printing log.

Sources

Checked October 2026:

For estimation; verify critical designs against the applicable standard.

Worked examples

InputResult
85 g, 4 h 30 min, spool $20.00Total cost $5.00, Price with markup $6.49
250 g, 14 h 0 min, spool $20.00Total cost $12.81, Price with markup $19.21
40 m filament, 4 h 30 min, spool $25.00Total cost $3.14, Price with markup $3.14
3 oz, 4 h 30 min, spool €22.00Total cost €6.86, Price with markup €8.91

Calculated by the tool above with these values.

Frequently asked questions

How much does it cost to 3D print per gram?

The filament part costs the spool price divided by the spool weight. A spool that costs 20 per kg works out to 0.02 per gram. The results also show cost per gram for the whole print, which includes electricity, machine time and labour.

Can I calculate cost from filament length?

Yes. Enter the length in metres or feet, choose the material and the 1.75 mm or 2.85 mm diameter, and the tool converts it to grams using typical densities, such as 1.24 g/cm³ for PLA. If you can weigh the spool or part, enter the weight for a more exact result.

How do I include printer wear in the cost?

Open the more options and choose a machine cost. Purchase price ÷ expected life in print hours spreads the printer’s price over the hours it runs. If you already know an hourly rate for wear, choose that instead. Choose none to leave wear out.

How do I price 3D prints for selling?

Add labour minutes, a failure allowance based on your own failed-print rate, and a markup %. For quotes, machine time and labour often matter as much as the filament, so leaving them at zero will underprice the job. The price with markup is total × (1 + markup %).

Is this 3D printing cost calculator free to use?

Yes. It is free, needs no sign-up, and runs in your browser. Nothing is uploaded, and it works on a phone.

Can I use the results in commercial work?

Yes. You can use the results in quotes, price lists, job sheets and reports without attribution.