Guide

How to calculate the cost of a 3D print

Turn slicer grams and hours into a real cost: filament, waste, electricity, and an optional selling price. The method matches the free calculator.

A slicer will tell you how many grams of filament a model uses and how long the print should take. Those two numbers are useful, but they are not a cost. The cost depends on what you paid for the spool, how much of that spool is actually filament, how much extra plastic you lose to skirts, supports, purging, and failed attempts, and how much electricity the printer uses while it runs. This guide walks through a straightforward method you can do by hand or in the Print Cost Now calculator.

The numbers you need

Gather these before you start. You do not need a spreadsheet, and you do not need to upload a model to a website.

The formulas

These are the same formulas the calculator uses:

cost per gram     = spool price ÷ net grams
effective grams   = filament used × (1 + waste ÷ 100)
filament cost     = effective grams × cost per gram
electricity kWh   = (watts ÷ 1000) × hours
electricity cost  = kWh × $/kWh
labor             = hours × labor rate
total             = filament + electricity + labor
suggested price   = total × (1 + markup ÷ 100)

Work left to right. Once you have cost per gram, every print from that spool uses the same rate until the spool price or net weight changes.

Worked example (calculator defaults)

The figures in this example are the calculator’s built-in defaults. They are an illustration, not a claim about what your spool or utility bill costs.

Inputs

  • Spool price: $19.99
  • Spool net weight: 1,000 g
  • Filament used: 100 g
  • Waste: 10%
  • Print time: 4 hours
  • Average power: 120 W
  • Electricity rate: $0.1816/kWh
  • Labor: $0/hour
  • Markup: 100%

Step by step

cost per gram   = 19.99 ÷ 1000 = $0.01999/g
effective grams = 100 × (1 + 10 ÷ 100) = 110 g
filament cost   = 110 × 0.01999 = $2.1989  →  $2.20
electricity kWh = (120 ÷ 1000) × 4 = 0.48 kWh
electricity     = 0.48 × 0.1816 = $0.0872  →  $0.09
labor           = 4 × 0 = $0.00
total           = 2.1989 + 0.0872 + 0 = $2.2861  →  $2.29
suggested price = 2.2861 × (1 + 100 ÷ 100) = $4.5721  →  $4.57

Rounded money figures match the calculator, which displays currency to two decimal places. At 110 g of effective use, this 1,000 g spool has 9 full prints of this size left (1,000 ÷ 110, rounded down).

Two things usually surprise people the first time they do this. First, waste is not a footnote: 10% turned a 100 g job into 110 g, which is $0.20 of the $2.20 filament cost in this illustration. Second, electricity is real but often small next to plastic on a short, material-heavy print. Here it is $0.09 of a $2.29 total. That relationship can flip on a long, light print, which the electricity guide walks through.

A second example: a small part

Suppose your slicer reports 25 g and 1.5 hours for a keychain or similar small object. Keep the same illustrative $19.99/1,000 g spool, 120 W, and $0.1816/kWh, but use a slightly higher 15% waste allowance because small parts still need a skirt or brim and can be easy to reprint.

cost per gram   = 19.99 ÷ 1000 = $0.01999/g
effective grams = 25 × 1.15 = 28.75 g
filament cost   = 28.75 × 0.01999 = $0.5747  →  $0.57
electricity kWh = 0.12 × 1.5 = 0.18 kWh
electricity     = 0.18 × 0.1816 = $0.0327  →  $0.03
total           = $0.6074  →  $0.61
suggested price at 100% markup = $1.21

The $0.61 total is what this print costs you in filament and power under these assumed numbers. It is not automatically a selling price. Packaging, your time to remove supports and bag the part, and any marketplace fees still sit on top. If $1.21 looks too low to be worth listing, that is useful information — the markup is a starting point, not a rule.

What this method does not include

The total above is the direct, per-print cost of plastic, power, and any labor rate you choose to apply. It does not automatically include:

If any of those items matter for a job, add them as a separate line, or raise the markup until the suggested price covers them. The calculator leaves those lines off on purpose so the core math stays easy to check.

A practical routine

You do not need to recalculate cost per gram for every print. Do it once when you open a new spool, write the $/g on a piece of tape on the reel, and reuse it until you buy a different roll. Then, for each job, take grams and hours from the slicer, apply your usual waste percent, and add electricity.

After a few weeks, compare your waste estimate with reality. If you threw away two failed vases in a batch of ten, your allowance was too low for that model. Adjust the percent for similar jobs rather than inventing a new system each time.

When you want a selling price, calculate the true cost first, then decide on labor and markup. Do not start from a number you saw on a marketplace and work backwards until the cost “fits.” That is how printers quietly lose money on every order.

If you would rather not do the arithmetic by hand, enter the same fields in the calculator. The totals update as you type, and the “How the numbers are calculated” panel shows the formulas with your inputs filled in, so you can confirm the result.