3D Print Weight Calculator (STL Weight Estimator)
Short answer: a 3D print weighs its volume × the filament density, but only the walls and top/bottom layers are solid. The rest is infill. Solid PLA is 1.24 g per cm³ [9], so a 20 mm calibration cube (8 cm³) would be 9.9 g solid, yet with typical slicer defaults (2 walls, 5 top and 3 bottom layers, 15% infill [4][5]) it prints at about 3.6–3.8 g. Drop your STL below to get the same estimate for your model, with the filament length and cost. Supports, brim and purge come on top.
Your file is read on your device and never uploaded. Volume is measured the way PrusaSlicer does it, from the triangles of the closed surface [1][2].
CAD programs show volume and surface area in their measure or properties tools. Without the area the shell is estimated for a compact, block-like shape.
Estimates only. The slicer simulates every line, so its figure for your file and settings is the one to trust. Use this page before you slice, to compare settings, or to quote a model you have not sliced yet.
How the weight is estimated
- Volume of the model from the STL: each triangle and a fixed point form a pyramid, and the signed pyramid volumes add up to the volume inside the closed surface. This is how PrusaSlicer’s
its_volumeworks [1]. A binary STL stores each triangle as three corner points in 32-bit floats [2]; the file has no units, so check the Units box. - Shell = each triangle’s area × the shell thickness under it. Sideways that is the walls: one full line width plus (walls − 1) × the line spacing, which PrusaSlicer, OrcaSlicer and Bambu Studio set to line width − layer height × (1 − π/4) [3]. Upwards it is top layers × layer height, downwards bottom layers × layer height. Sloped faces get both parts in proportion to their slope. Cura spaces walls one line width apart (its wall count is (wall thickness − first wall width) ÷ wall width + 1 [6]), so its preset uses walls × line width.
- Thin walls: where the model is thinner than two shells, the walls from both sides meet. The calculator casts a ray inwards from up to 20,000 triangles, measures the local thickness and caps the shell at half of it, so that plastic is not counted twice.
- Weight = density × (shell + infill % × (volume − shell)). Filament length = weight ÷ (density × filament cross-section).
How accurate is it? Tested against PrusaSlicer
We sliced 10 models in PrusaSlicer 2.8.1 [10] (cubes, a cylinder, sphere, cone, thin plate, bar, a hollow box and 3DBenchy [11]) and compared its “filament used [g]” with this calculator. Settings: PLA at 1.24 g/cm³, 0.2 mm layers, 0.45 mm lines, 2 walls, 5 top and 3 bottom layers, 15% grid infill, no skirt or brim.
| Model | Volume (cm³) | Solid (g) | PrusaSlicer (g) | This calculator (g) | Difference |
|---|---|---|---|---|---|
| 20 mm calibration cube | 8.00 | 9.92 | 3.75 | 3.61 | -3.7% |
| 40 mm cube | 64.00 | 79.36 | 20.69 | 20.38 | -1.5% |
| 60 mm cube | 216.00 | 267.84 | 61.56 | 59.26 | -3.7% |
| Cylinder Ø30 × 50 mm | 35.33 | 43.81 | 12.66 | 12.02 | -5.1% |
| Sphere Ø40 mm | 33.45 | 41.48 | 11.67 | 11.90 | +2.0% |
| Cone Ø50 × 50 mm | 32.71 | 40.56 | 13.11 | 12.94 | -1.3% |
| Plate 100 × 100 × 2 mm | 20.00 | 24.80 | 21.81 | 21.31 | -2.3% |
| Bar 120 × 15 × 10 mm | 18.00 | 22.32 | 8.83 | 8.82 | -0.1% |
| Hollow 40 mm box, 3 mm walls (closed cavity) | 24.70 | 30.63 | 20.76 | 19.20 | -7.5% |
| 3DBenchy | 15.55 | 19.28 | 12.26 | 12.11 | -1.2% |
| 3DBenchy, 3 walls | 15.55 | 19.28 | 12.88 | 13.81 | +7.2% |
Our own test, 17 Nov 2026. Across 114 slices at 15%, 20% and 40% infill with 2 or 3 walls and grid or gyroid infill, the average difference was about 2.5% and the range −8.3% to +7.2%. At 100% infill PrusaSlicer reported 0.2–1.0% more than volume × density for 8 of the 9 simple shapes (the hollow box 3.7–3.9% more). At 0% infill the estimate ran high, by up to 21% on the sphere.
The largest misses are the closed hollow box (the slicer adds plastic inside the cavity that this method doesn’t model) and 3DBenchy with 3 walls (fine details where the slicer cannot fit every wall). For quoting and planning that is close enough; for the exact figure, slice the file.
Default walls, top/bottom layers and infill
| Preset (0.4 mm nozzle, 0.2 mm layers) | Walls | Top / bottom layers | Infill |
|---|---|---|---|
| Bambu Studio 0.20mm Standard | 2 × 0.45 mm | 5 / 3 (1.0 / 0.6 mm) | 15% |
| PrusaSlicer 0.20mm SPEED (MK4S, CORE One) | 2 × 0.45 mm | 5 / 3 (1.0 / 0.6 mm) | 15% |
| PrusaSlicer 0.20mm STRUCTURAL (MK4S) | 2 × 0.45 mm | 5 / 4 (1.0 / 0.8 mm) | 15% |
| Cura defaults (0.8 mm shells, 20%) | 2 × 0.4 mm | 4 / 4 (0.8 / 0.8 mm) | 20% |
Read from the slicers’ own profile files on 17 Nov 2026 [4][5][6]. Bambu Studio uses 0.42 mm for the outer wall and 0.45 mm for inner walls and sparse infill, and asks for at least 1.0 mm of top shell [4]. PrusaSlicer’s MK4S and CORE One 0.20 mm profiles use 0.45 mm lines and grid infill [5]. Cura’s base defaults are 0.8 mm walls, 0.8 mm top and bottom and 20% infill, which printer profiles often change [6].
What makes a print heavier: walls or infill?
- Infill matters most on big, chunky parts. In our test, a 40 mm cube went from 20.7 g at 15% infill to 38.3 g at 40% in PrusaSlicer. Adding a third wall instead added only 2.7 g (to 23.3 g).
- Walls matter most on small or thin parts. A 3DBenchy is about 56% shell at default settings, so infill barely changes its weight (12.3 g at 15%, 14.4 g at 40%).
- Strength comes mostly from walls. Prusa says a model’s strength is mostly set by the number of perimeters, not the infill, and that most models print fine with 10–15% infill, rarely needing more than 30% [7][8]. Adding a wall is often the lighter way to a stronger part.
- Material: the same part in ABS (1.04 g/cm³) weighs about 16% less than in PLA (1.24 g/cm³); PETG (1.25) is about the same as PLA [9].
Why the slicer’s number is different
- Extras: supports, brim, skirt, raft and the purge or prime tower are not in the model. Add them with the support / raft / brim estimate and the AMS purge waste calculator.
- Real line paths: the slicer fills small gaps, bridges, solid layers under sloped tops and the inside of cavities in ways a surface-area estimate can only approximate.
- Bad meshes: an STL with holes or flipped triangles gives a wrong volume. The calculator warns you if the surface is not closed.
- Density: slicers convert volume to grams with the density in the filament profile. Use the same density here, from your spool’s data sheet.
Worked examples
- 20 mm calibration cube, PLA: 8 cm³ × 1.24 = 9.92 g solid. Shell: 16 cm² of sides × 0.857 mm + 4 cm² × 1.0 mm top + 4 cm² × 0.6 mm bottom = 2.01 cm³ (25%). Infill: 15% × 5.99 cm³ = 0.90 cm³. Total 2.91 cm³ × 1.24 = 3.61 g; PrusaSlicer says 3.75 g.
- 3DBenchy, PLA, default settings: 15.55 cm³ (19.3 g solid), 94.3 cm² of surface. Estimate 12.1 g (about 4.1 m of 1.75 mm filament); PrusaSlicer says 12.26 g.
- A 50 cm³ part, volume only, PLA at $20/kg: without a surface area the shell is taken as for a 36.8 mm cube: 6.8 cm³. Weight about 16.5 g, 5.5 m of filament, $0.33.
- Ten copies: set Copies to 10 and the calculator multiplies the part weight, length and cost. Put the total into the print cost calculator for electricity, wear and markup.
Sources
- PrusaSlicer source code: TriangleMesh.cpp (version 2.9.7).
its_volume: volume as the sum of area × height ÷ 3 over all triangles. - Library of Congress: STL (STereoLithography) File Format, Binary. 80-byte header, 32-bit triangle count, 50 bytes per triangle.
- OrcaSlicer source code: Flow.cpp.
rounded_rectangle_extrusion_spacing= width − height × (1 − π/4). - Bambu Studio process profiles: fdm_process_common.json and fdm_process_single_0.20.json. 2 wall loops, 5 top (1.0 mm) and 3 bottom shell layers, 15% sparse infill, 0.42 / 0.45 mm lines.
- PrusaSlicer settings repository: PrusaResearch 2.5.16.ini. 0.20mm SPEED / STRUCTURAL @MK4S 0.4 and BALANCED @COREONE 0.4: 2 perimeters, 5 top / 3 or 4 bottom layers, 15% grid, 0.45 mm lines.
- Cura fdmprinter.def.json. Base defaults: 0.8 mm wall, 0.8 mm top/bottom, 20% infill, line width = nozzle; wall line count formula.
- Prusa Knowledge Base: Infill. Most models print with 10–15% infill; rarely above 30%.
- Prusa Knowledge Base: Layers and perimeters. Strength is mostly set by the number of perimeters; Prusa profiles use at least two.
- Densities: Prusament PLA data sheet (1.24 g/cm³), Polymaker technical data at a glance (PETG 1.25, ASA 1.13, TPU 1.22, PC 1.19, PLA-CF 1.29), Polymaker PolyLite ABS data sheet (1.04), Bambu Lab PETG-CF data sheet (1.25).
- PrusaSlicer 2.8.1 release. The slicer we used for the accuracy test (command line, 17 Nov 2026).
- 3DBenchy by Creative Tools. The STL used in the test (15.55 cm³).
All sources checked 17 Nov 2026.
Related: wall thickness for each wall count · filament length ↔ weight (g, m, cm³) · 3D print cost · print time from weight · support / raft / brim estimate · is there enough filament on the spool? · line width & wall thickness · 3D print scale (inch to mm) · electricity cost per print
FAQ
How do I calculate the weight of a 3D print?
Weight = density × (shell volume + infill % × the rest of the volume). The shell is the walls plus top and bottom layers, which print solid. For PLA at 1.24 g/cm³, a 20 mm cube (8 cm³) with 2 walls, 5 top and 3 bottom layers and 15% infill comes to about 3.6 g; PrusaSlicer reports 3.75 g.
How do I find the weight of an STL file?
An STL only holds the surface of the model, with no units or material. Load it here or in a slicer: the volume comes from the triangles, then walls, top/bottom layers, infill and the filament density turn it into grams. The slicer’s figure for your exact settings is the most accurate.
How much does a 3D printed calibration cube weigh?
A 20 mm cube is 8 cm³, so 9.9 g if printed solid in PLA. With 2 walls, 5 top and 3 bottom layers and 15% infill, PrusaSlicer 2.8.1 gave 3.75 g and this calculator 3.61 g.
How much does 1 cm³ of PLA weigh?
About 1.24 g (Prusament PLA data sheet). PETG is about 1.25 g, ABS 1.04 g, ASA 1.13 g, TPU 95A 1.22 g and PC 1.19 g per cm³ (Polymaker data). Brands differ, so use the density on your spool’s data sheet.
Does infill change the weight a lot?
On large solid parts, yes: a 40 mm cube went from 20.7 g at 15% infill to 38.3 g at 40% in PrusaSlicer. On small or thin parts most of the plastic is in the walls, so infill changes little. A third wall added only 2.7 g to the same cube.
Why is my slicer’s weight different?
The slicer adds supports, brim, skirt and any purge or prime tower, and it plans every real line, including gap fill and solid layers under sloped tops. In our test this calculator landed within about −8% to +7% of PrusaSlicer at 15–40% infill, on the model alone.
Is my STL uploaded anywhere?
No. The file is read by your browser on your device and the maths runs locally. Nothing is sent to a server.