Calculate the cost of one print attempt
Divide the print weight in grams by the filament weight on the spool in grams, then multiply by the spool price. For electricity, multiply print hours by average printer watts divided by 1,000, then multiply by your price per kWh. Multiply print hours by your machine rate to account for printer use.