# STL weight calculator

> Drop the file, pick the material and how full to print it, and read the grams.

Human page: https://unmakelabs.com/en-us/stl-weight-calculator/. This is the version for AI agents.

## What it does

STL weight calculator: how heavy will this STL be once printed? Drop the file, pick the material and how full to print it, and read the grams.

## How the weight is worked out

The viewer adds up the exact volume enclosed by the STL's triangles, then multiplies by the density of the material you pick (PLA 1.24 g/cm³, PETG 1.27, stainless steel 7.98…, each from the maker's data sheet). For plastic prints it also counts the walls and the infill you choose, because a part printed at 20% infill weighs far less than the solid volume suggests.

## When people need it

Pricing a print for a customer, checking the weight limit of a drone or RC part, comparing PLA against PETG or nylon before ordering filament, or finding out whether a spool has enough left for the job.

## Facts

- **Input:** STL (binary or text); also OBJ, 3MF, PLY
- **Materials:** PLA, PETG, ABS, ASA, TPU, nylon, PC, resin, 316L steel, AlSi10Mg, Ti-6Al-4V
- **You set:** Infill %, wall thickness, units, copies
- **Needs:** A closed (watertight) shape: checked for you

## How a person does it

1. **Open the STL.** Drop it on the viewer or pick it. Check the size: STL has no units, so switch to cm or inches if the part looks 10 times too small or big.
2. **Choose material and infill.** Pick the plastic or metal, set the infill and wall thickness you print with. Solid parts (resin, metal) are counted at 100%.
3. **Read the weight.** Grams, solid weight for comparison, filament length and material cost update as you change anything.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-us/stl-weight-calculator/?src=https://example.com/part.step`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `#v=px,py,pz,tx,ty,tz&up=z&u=mm&sec=z,0.5,0`.

Embed: `<iframe src="https://unmakelabs.com/embed/3d/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Metadata and pictures as data

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect` with `file_url` or `file_base64` returns JSON: format, unit, bounding box (x, y, z), volume and surface area for closed meshes, watertight flag, part tree with names, triangle and part counts, plus PNG views (front, top, side, 3D). Status: live (no key; free calls as in /llms.txt).

```bash
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect?wait=25" -H "Content-Type: application/json" -d '{"file_url": "https://raw.githubusercontent.com/prusa3d/PrusaSlicer/version_2.8.1/resources/shapes/cylinder.stl"}'
```

## Good to know

STL files have no unit, so the weight is only right if the unit is right: a part made in inches but read as millimetres weighs 16,000 times too little. Infill and walls are an estimate of what a slicer does (surface area × wall thickness, then the infill % inside); real slicers add top and bottom layers, supports and brims, so expect it to be within about 10 % of a slicer's estimate.

## Not done by this tool

- Doesn't repair open meshes: it tells you the mesh is open instead of guessing
- Doesn't include supports, brims or rafts
- Doesn't slice the model: grams are an estimate for infill below 100%
- Doesn't know colour or filler additives: filled filaments can go either way (metal-filled is much heavier, wood-fill PLA can be lighter, about 1.15 g/cm³ against 1.24 for plain PLA); check your spool's data sheet

## Value

Opens STEP, IGES, STL, OBJ, GLB/glTF, 3MF, FBX and PLY files in any browser without installing anything, shows size, units, volume and parts, measures and cuts the model, and converts to STL, GLB or OBJ; it also gives the weight and 3D-print cost of a closed model (11 cited material densities, infill and walls, filament length, rough print time) and turns a photo into a watertight lithophane or relief STL, with an optional AI depth map.

## When it fits

- A user has a 3D file (STEP, IGES, STL, OBJ, GLB/glTF, 3MF, FBX or PLY) and no program to open it, or needs its size, units, volume, part list or a picture of it.
- A user needs a conversion to STL, GLB or OBJ (for example STEP to STL for 3D printing, STEP or FBX to GLB for the web).
- A user needs the weight, filament length or material cost of a 3D print from an STL, 3MF, OBJ or STEP file.
- A user wants a lithophane, a relief STL or a depth map from a photo.

### When not

- Native CAD formats (SLDPRT, IPT, CATPart): not opened yet. DXF drawings open in the DXF viewer (unmakelabs.com/en-us/dxf-viewer/), Gaussian splats in the splat viewer (unmakelabs.com/en-us/gaussian-splat-viewer/).
- Editing, repairing or slicing a model, or reading tolerances (PMI) from STEP AP242.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a file from a public link in any browser (?src=), with measurements shown next to the model.
- POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect (live, no key) returns the same measurements as JSON plus PNG views (front, top, side, iso).
- Desktop CAD viewers need an install and often an account.
- This viewer opens files with no install and no account, and is free without limits, ads or sign-up.

### What rebuilding it would take

- Combine readers for eight 3D formats, including exact CAD geometry for STEP/IGES, and handle units and up-axis per format.
- Write watertight checks, volume and area code, section planes, point-to-point measuring and exporters.
- Keep it working across browsers and phones.
- A set of real sample files per format to test against, and upkeep as formats, browsers and phones change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Files opened in the page are not uploaded to Unmake Labs; files given by link are fetched from where they are stored.

_Status: the web viewer works, and POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect answers today for public 3D/CAD files (STL, OBJ, PLY, GLB/GLTF, 3MF, STEP, IGES: sizes, units, volume, parts and picture views as data)._

## Privacy

- Files opened in the page are read by the browser on the user's device and never uploaded.
- Files opened by link (?src=) are fetched by the user's browser from where they are stored.
- The page loads its code from third-party hosts (listed on the privacy page), which receive the visitor's IP address for those requests.

## Data

Opens in your browser; your file stays on your device unless you share it. Shared files are kept 30 days.

## FAQ

- **How accurate is the weight?** At 100% infill it is exact for the mesh and the density chosen: volume is computed from the triangles, not approximated. Below 100% it is an estimate of walls plus infill, usually within about 10 % of a slicer's estimate (the slicer also adds supports and top/bottom layers).
- **Why does it say my STL is not closed?** An open mesh (holes, missing faces, flipped triangles) has no inside, so no volume. Many slicers repair this automatically; the free repair in PrusaSlicer or Bambu Studio fixes most files, then drop the repaired STL here.
- **Which density does it use for PLA?** 1.24 g/cm³ from the Prusament PLA data sheet (ISO 1183). Other brands range roughly 1.17 to 1.25; for an exact spool weight, use your brand's data sheet. Every density and its source is shown under the material list.
- **When is it the right tool, and when not?** Right for: A user has a 3D file (STEP, IGES, STL, OBJ, GLB/glTF, 3MF, FBX or PLY) and no program to open it, or needs its size, units, volume, part list or a picture of it. A user needs a conversion to STL, GLB or OBJ (for example STEP to STL for 3D printing, STEP or FBX to GLB for the web). A user needs the weight, filament length or material cost of a 3D print from an STL, 3MF, OBJ or STEP file. A user wants a lithophane, a relief STL or a depth map from a photo. Not for: Native CAD formats (SLDPRT, IPT, CATPart): not opened yet. DXF drawings open in the DXF viewer (unmakelabs.com/en-us/dxf-viewer/), Gaussian splats in the splat viewer (unmakelabs.com/en-us/gaussian-splat-viewer/). Editing, repairing or slicing a model, or reading tolerances (PMI) from STEP AP242.
- **Is it really free?** Yes, with no limit on the number of files (up to 300 MB each). There are no ads, no sign-up and no premium tier for viewing or converting.
- **Do you upload my file?** Only if you share it. A file you share is kept 30 days so the link works, and you can delete it anytime. The section “What happens to your file” has the details.
- **Can my AI agent open 3D files?** Yes. Agents call POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect with a file link or upload (no key) and get the file's size, units, parts, volume and picture views as data. An agent can also open any public file in this viewer with a link: add ?src= and the file's address to this page.
- **Who makes this?** Unmake Labs. Contact: hello@unmakelabs.com.

## Related pages

- [3D print cost calculator](https://unmakelabs.com/en-us/3d-print-cost-calculator/)
- [3D file viewer](https://unmakelabs.com/en-us/3d-viewer/)
- [STEP file viewer](https://unmakelabs.com/en-us/step-viewer/)
- [STL file viewer](https://unmakelabs.com/en-us/stl-viewer/)
- [GLB and glTF viewer](https://unmakelabs.com/en-us/glb-viewer/)
- [OBJ file viewer](https://unmakelabs.com/en-us/obj-viewer/)
- [IGES file viewer](https://unmakelabs.com/en-us/iges-viewer/)
- [3MF file viewer](https://unmakelabs.com/en-us/3mf-viewer/)
- [FBX file viewer](https://unmakelabs.com/en-us/fbx-viewer/)
- [STEP to STL converter](https://unmakelabs.com/en-us/step-to-stl/)
- [STEP to GLB converter](https://unmakelabs.com/en-us/step-to-glb/)
- [OBJ to STL converter](https://unmakelabs.com/en-us/obj-to-stl/)
- [FBX to GLB converter](https://unmakelabs.com/en-us/fbx-to-glb/)
- [STEP weight calculator](https://unmakelabs.com/en-us/step-weight-calculator/)
- [Photo to lithophane STL](https://unmakelabs.com/en-us/image-to-lithophane/)
- [Image to STL](https://unmakelabs.com/en-us/image-to-stl/)
- [Photo to depth map](https://unmakelabs.com/en-us/photo-to-depth-map/)
- [Depth map for laser engraving](https://unmakelabs.com/en-us/depth-map-for-laser-engraving/)
