STL Viewer Blogstlviewer.swift.id

STL Inches to mm: Fix a Model That Prints Too Small or Too Big

By Ihwan · · 4 min read

You load a downloaded model into the slicer and it's a speck in the middle of the bed, barely bigger than the nozzle. Or the opposite: a coaster fills the entire build plate and then some. Nothing is wrong with the geometry. The file simply doesn't say what its numbers mean, and your software guessed millimeters. This is the STL inches to mm problem, and it has a precise fix: the number 25.4.

Short answer: STL, OBJ and PLY files store no unit; everything assumes millimeters. A model drawn in inches therefore shows up 25.4 times too small. Scale it by 2540% (x25.4) in your slicer, or switch the file's units to inches in your viewer to check the real size. If something is 25.4 times too big, scale by 3.937%.

Why STL files have no units

An STL stores triangle corners as plain numbers. A vertex at (2.0, 1.0, 0.5) is just that: 2, 1 and 0.5 of something. CAD software that works in inches writes those numbers in inches, slicers read them as millimeters, and the part shrinks by a factor of 25.4. OBJ and PLY have the same gap. 3MF fixes it by declaring the unit in the file; see what a 3MF file is.

How to recognize a unit mismatch

What you seeLikely causeFactor
A phone stand reads 3.1 x 2.8 x 4.2 mmDrawn in inches, read as mmx25.4
A cup reads 8 x 8 x 10 mmDrawn in cm, read as mmx10
A figure reads 0.06 x 0.04 x 0.12 mmExported in metersx1000
A keychain reads 1,270 x 635 x 76 mmDrawn in mm, then wrongly scaled up as inches÷25.4

The quick test: does the size make sense for the object? A hand-sized object is usually 50-150 mm. If the numbers in the info panel look like a sensible size in inches (3.1 x 2.8 x 4.2 in is a plausible phone stand), it's inches.

The math, with real numbers

One inch is exactly 25.4 mm. So:

Worked example: a US designer's wall hook, drawn as 2.25 x 1.0 x 3.0 in. Read as mm, it's 2.25 x 1.0 x 3.0 mm. Times 25.4: 57.15 x 25.4 x 76.2 mm. That fits any common bed comfortably.

Fixing it in your slicer

  1. Import the model.
  2. Select it and open the scale fields.
  3. Make sure the scale is uniform (X, Y and Z locked together).
  4. Type 2540% for inches-to-mm, or use your slicer's "convert from inches" option if it has one.
  5. Check the new dimensions against what the designer intended.

This works, but you have to remember it every time you reprint. A fixed file is better.

Checking and fixing units on your phone

In STL Viewer, each STL, OBJ or PLY file can be switched to inches:

  1. Open the model in STL Viewer for Android and look at the size in the info panel.
  2. If it is suspiciously small, open File units from the viewer's menu and choose inches. The app explains that a model made in inches would look about 25 times too small in millimeters.
  3. The size updates, and the setting is remembered for that file next time you open it.
  4. If you prefer to see all sizes in inches anyway, the display unit (mm or in) is a separate setting. The wall hook would then read 2.25 x 1.00 x 3.00 in, while still being correctly understood as a 57 mm wide part.

3MF files don't offer this switch because they declare their own unit; the info panel shows it as "Set by the file".

Saving a corrected STL (Premium)

Switching the file units fixes how the app reads the file, but your slicer will still read the original as millimeters. To produce a file that every program reads correctly, Premium's Scale & export converts inches to millimeters and saves a new binary STL; the dialog notes that most slicers expect millimeters. The scale and export guide shows the options. Without Premium, apply the 2540% scale in your slicer as above.

Why it matters beyond size

A wrong unit throws off everything derived from size. The filament estimate for the 2.25 in hook read as millimeters is a fraction of a gram, which might make you think a nearly empty spool is enough. Read correctly, it's in the region of 15-25 g depending on how solid the hook is. Always fix units before trusting volume or filament numbers; see how the filament estimate works.

Preventing it next time

Note: Not every tiny model is in inches. Jewelry, miniatures and calibration pieces can legitimately be small. Check against the real object's expected size before scaling.

For the broader routine, see the pre-print checklist, and for precise resizing, how to scale an STL to an exact size.

How file units and display units work in the app is summarized on the STL Viewer website.

Frequently asked questions

Why is my STL so small in the slicer?

STL files have no units and slicers assume millimeters. If the model was drawn in inches, it appears 25.4 times too small.

How do I convert an STL from inches to mm?

Scale it uniformly by 2540 percent, which is 25.4 times. Some slicers also have a convert from inches option.

Does 3MF have the same unit problem?

No. A 3MF file declares its unit, so it opens at the correct size.

Can I fix STL units on my phone?

In STL Viewer you can switch a file's units to inches to see its real size. Saving a corrected millimeter STL uses the Premium Scale and export tool.