← Small Hours

3D Print Cost Calculator

Drop in a sliced G-code or 3MF file and get the real cost of a print: material, electricity, printer wear, labor, marketplace fees and a suggested price. Free, and everything happens in your browser. Files never leave your device.

Or skip this and enter weight and time manually below.

This print
Your costs (saved in this browser only)

Not sure what to enter? See filament cost per gram, electricity per print, printer wear per hour and margin and fees.

Result

Suggested price: 0.00

How the cost is worked out

Material = weight × price per kg, plus a waste allowance. Electricity = average power × hours × tariff. Wear = printer price divided by its lifetime hours, plus maintenance per hour. Labor = your time × your rate. The suggested price is set so that after marketplace fees you keep your target margin of the selling price.

Weight and time are read from the slicer's own metadata (Bambu Studio / OrcaSlicer 3MF and G-code, PrusaSlicer, Cura). Multiple filaments are summed. If a file has no weight, it is estimated from filament length and the result says so.

Guides

FAQ

Is my file uploaded anywhere?

No. The file is read by JavaScript in your browser and never sent over the network. There is no backend. We count page views with Cloudflare Web Analytics, which uses no cookies and no fingerprinting, and your files are never part of that.

Which files work?

Sliced files only: G-code from PrusaSlicer (including binary .bgcode), OrcaSlicer, Bambu Studio and Cura, sliced .3mf files from Bambu Studio / OrcaSlicer (slice, then save the project or export the plate sliced file), and UltiMaker .ufp packages. Plain 3D models and unsliced project files have no print time or filament use yet, so slice them first. If yours is not recognised, enter weight and time by hand.

Where does it find the print time and filament use?

In the totals your slicer writes into the file: comment lines at the end of PrusaSlicer and OrcaSlicer G-code, the header of Cura G-code, the metadata blocks of a .bgcode file, and Metadata/slice_info.config inside a sliced 3MF. They are the slicer's own estimates. When a file gives only a filament length or volume, as Cura does, the weight is worked out from the material's density and the page says it was estimated. See where to find print time and filament weight for the exact lines.

How accurate is it?

It reads the print time and filament weight your slicer wrote into the file, so it is as accurate as the slicer's own estimate. On 41 files we sliced ourselves in 4 slicers, it read the same time and weight as the slicer on every one. Every file and result is on the test results page.

How does it know how much filament went to walls and infill?

It adds up the extrusion in each section that PrusaSlicer, OrcaSlicer and Bambu Studio label in their G-code (walls, solid layers, sparse infill, wipe tower, supports), for single-filament .gcode, .bgcode and sliced Bambu Studio / OrcaSlicer .3mf files. It only shows the split when those sums match the filament length the slicer states, so it stays hidden for files it can’t check, such as multi-material prints. See does infill change the cost of a 3D print? for what the split means for your price.

What should I put for printer power?

Average draw while printing, not the power supply rating. Manufacturer measurements for PLA: about 80 W for Prusa MK-series and Bambu A1 mini, 95 to 110 W for Bambu A1, P1P, P1S and X1C, and about 200 W for Bambu H2D and P2S. ABS and PC usually draw 1.3 to 2 times as much. A plug-in energy meter gives the true number for your printer.

How should I set the margin and marketplace fee?

Enter your platform's percentage fee and its fixed fee per order, then the share of the price you want to keep as profit. The calculator takes fees and profit out of the price instead of adding them on top, so you really keep that share. Cost plus a 30% markup would leave only about 13% after a 6.5% + 0.25 fee in the pricing guide's 7-hour example. See how much to charge for a 3D print for the worked example.

Where are my settings stored?

In your browser's localStorage on this device. Use the reset button to clear them.

Is it free?

Yes, and open source under the MIT licence.