Open a model, expect a 60 mm bracket, and see a 2.36 mm speck. Nothing is corrupt — the geometry is exactly what the designer drew. The file simply never carried the information needed to interpret it.
That is the scene in the 3D view below: the green bracket is the part as designed, the red one beside it is the same file saved in inches and read as millimetres. Zoom in on the red one — the geometry is identical, only 25.4 times smaller.
What the format actually stores
An STL is a list of triangles, and each vertex is three 32-bit floats. That is all. There is no unit field, no scale hint, and no metadata section where one could be added. The binary header is 80 free-form bytes that most exporters fill with their own name.
So a cube drawn as 20 units wide is written as 20.0. Whether that means 20
millimetres, 20 inches or 20 furlongs is a fact that existed only inside the
CAD program and was discarded on export.
By near-universal convention, the receiving program assumes millimetres. Every slicer does. That convention is what makes STL usable at all, and it is also exactly what breaks when the source document was set to something else.
The scale factors, and what each one means
Divide the size you expect by the size you see:
| Ratio | The file was exported in | Fix |
|---|---|---|
| 25.4 | Inches | Scale to 2540 % |
| 10 | Centimetres | Scale to 1000 % |
| 1000 | Metres | Scale to 100000 % |
| 0.03937 | Millimetres, converted as if inches | Scale to 3.937 % |
| 0.1 | Millimetres, converted as if centimetres | Scale to 10 % |
| 0.001 | Millimetres, converted as if metres | Scale to 0.1 % |
The first three are the common case: the source document used a non-metric unit. The reciprocals happen when the exporter helpfully applied a conversion that the importer then applied again in reverse.
If the ratio is not one of these, the problem is probably not units. Check whether the model was scaled deliberately, or whether you are comparing against the wrong dimension.
How to diagnose it in ten seconds
Open the file in any viewer and read the bounding box. You do not need to recognise the model or know its intended size precisely — one familiar feature is enough. A screw hole should be a few millimetres. A phone stand should be around 100 mm. A whole assembly should not be 0.004 mm across.
If the numbers are absurd, compute the ratio against what you expected and match it to the table above.
This check is also the first thing to do when a volume or weight figure looks wrong, because those scale with the cube of the linear error. A model that is 25.4 times too small reports a volume 16,387 times too low.
What slicers do when a model looks too small
Some slicers try to guess the unit for you. The guess is worth understanding, because it can be wrong in both directions.
Bambu Studio and OrcaSlicer check each object's volume as read in
millimetres. Under 0.008 mm³ — a 0.2 mm cube — they assume metres; under 8 mm³ —
a 2 mm cube — they assume inches, and offer to scale the object to millimetres
by 1000 or 25.4. Both thresholds are in the slicers' source code
(libslic3r/Model.cpp). Three consequences:
- A part drawn in inches whose volume is more than about a 2-inch cube loads tiny without any prompt. A 4 × 4 × 4 in box reads as 64 mm³.
- A file saved in centimetres can fall under the inch threshold and be scaled by 25.4 instead of 10.
- A genuinely tiny millimetre part under about 8 mm³, such as a 2 mm cube or a small bead, triggers the prompt too. Answer no.
PrusaSlicer runs a similar check and asks whether the object was saved in inches or metres, and its File → Import menu has an option to import an STL in imperial units. Cura has a preference that scales up extremely small models automatically; check the dimensions of the result rather than trusting the factor.
To see what your own slicer does, open the test pack: the same 60 × 20 × 25 mm bracket saved four ways, plus a 3MF that stores inch numbers and says so.
| File | Opens as | Volume as read |
|---|---|---|
| bracket-saved-in-mm.stl | 60 × 20 × 25 mm | 7,560 mm³ |
| bracket-saved-in-cm.stl | 6 × 2 × 2.5 mm | 7.56 mm³ |
| bracket-saved-in-inches.stl | 2.36 × 0.79 × 0.98 mm | 0.46 mm³ |
| bracket-saved-in-metres.stl | 0.06 × 0.02 × 0.025 mm | 0.0000076 mm³ |
| bracket-inches.3mf | 60 × 20 × 25 mm | 7,560 mm³ (converted from inches on import) |
By the thresholds above, the inch and metre files get the right offer, the centimetre file gets the wrong one (×25.4), and the 3MF needs none. The files are free to use under CC BY 4.0.
Fixing it
In the browser. Open the file in the free 3D file converter, set the unit the file is in to inches (it suggests this itself when the largest side of a file with no declared unit is under 30 mm), and download an STL or 3MF written in millimetres. Nothing is uploaded, and unlike the slicer fix, the new file is right for whoever opens it next.
In the slicer. Every slicer has a scale field that accepts a percentage. This is the fastest fix and it is fine for a one-off print. It does not fix the file, so the next person to open it hits the same problem.
In the source. Set the document units correctly and re-export. This is the right fix if the file will be shared or reused. In most CAD packages the export dialog has its own unit setting that is independent of the document, so check both.
In a mesh editor. Blender, MeshLab and FreeCAD can all scale a mesh and re-export it. Note that Blender's default scene unit is metres, so importing a millimetre-scale STL there introduces a second layer of the same confusion — set the unit scale before you start.
On an iPhone or iPad. The Mes3D app resizes a model to an exact width, height or depth in millimetres, or by percent, proportionally or one axis at a time. It also has one-tap fixes for files that came out in inches. The resized model can then be exported as a new STL. This short video shows the steps:
The permanent fix
Use 3MF where you can. It stores the unit explicitly in its XML, so there is nothing for the receiving program to guess. Every current slicer reads it. STL remains the right choice only when you cannot verify what software is on the other end — and in that case, tell the recipient the intended dimensions in writing.
Checking a file quickly
Mes3D shows bounding-box width, height and depth as soon as a file opens, which is all you need for the ratio check, and it runs in the browser so you do not have to launch CAD software to sanity-check someone else's download.
