
3D Print Calculator
A cost calculator for 3D printing. Estimates the price of your prints based on material, time, and other factors.
What is it?
A web calculator to find out what a 3D print really costs and what price you should sell it for. It handles FDM (filament) and resin parts in the same quote, lets you price several parts at once, and generates an internal report plus a print-ready client report.
Why I built it
When you print parts for other people you end up throwing out a number: "that's about ten euros". I wanted to enter the data the slicer already gives me (grams or millilitres and time) and get the real cost —material and electricity— separated from the margin and the extras, and also be able to hand over a presentable quote without opening a spreadsheet.
How it works
1. Global properties
Set once, applied to the whole quote:
- Price per kilowatt-hour and power (W) of the FDM printer and the resin printer; each part uses the one matching its material.
- Profit margin (%).
- Extras: per time (every full 5 hours), per handling (every 5 parts), per support cleaning (per part) and per additional colour.
- Optional design fee applied once per quote.
2. Parts and materials
Each part has a name, material, usage (grams for FDM, millilitres for resin), time in hours and minutes, units, number of colours and whether it needs cleaning. The stock catalogue includes PLA, PETG, ABS and TPU, plus Standard, Tough and Water-washable resins, each with its price and density; you can add and edit custom materials, which are kept in the browser between sessions.
3. Results
- Per-part breakdown: material used, energy consumed (kWh) and its cost, extras and price.
- Final price: the margin is applied to the pure cost (material + energy) and the design fee is added; extras are calculated and itemised separately.
- Internal report with full detail and client report with logo, a clean quote and 30-day validity, with a print button and CSV export.
Stack
- React 18 + TypeScript, built with Vite
- Tailwind CSS and shadcn/ui components (Radix)
- All calculation happens in the browser; no backend, no accounts
- Initial prototype generated with Lovable and evolved by hand; MIT license
- Interface in Spanish
Status
Active and in production. Still pending from the roadmap:
- Export the report straight to PDF.
- Save printer presets and a calculation history.
- Slicer integration to import grams and time without typing them.