How much does a 3D print cost?
Use the print cost calculator. Enter the filament weight and print time from your slicer's preview (or add the model's STL file and it estimates the weight), your spool price and your electricity price. It adds an allowance for failed prints and, if you sell what you print, a markup.
Filament is usually most of the cost. A 1 kg spool at $20 is 2 cents a gram, so a 50 g print uses about $1 of filament. Electricity is often a few cents an hour.