Measure STL File Size: check and resize before printing

Do your modeling in your usual software. Fix the file quickly, right before printing.

Quick start

  1. Open an STL file and look at its size.
  2. Resize it as needed.
  3. Check the mesh and download the fixed file.

Example: before and after

An example: a small house-shaped STL made in inches, with no unit information in the file. The table shows it converted to mm. The 220×220mm build plate is an example setting.

Before · a mesh with no size

WidthDepthHeightUnit
———No unit information

Without knowing whether the file is in inches or mm, you cannot tell if it fits a 220×220mm build plate.

After · mm measurements and resizing

StateWidthDepthHeight
Scale 100%84.2 mm52.0 mm31.5 mm
Scale 150%126.3 mm78.0 mm47.3 mm
Original inch values3.31 in2.05 in1.24 in

Even at 150% it fits inside a 220mm build plate. If one side is larger than the plate, use “3. Build plate and plane cut” and choose which side to keep.

Made-up sample data, run through this tool.

How to use

  1. Open an STL file to see a 3D preview and its size in mm.
  2. If the file was made in inches, change “File unit” to inch. Then check width, depth and height and resize as needed.
  3. Rotate the model, then press “Place on plate (Z=0, centred)”.
  4. If it is bigger than the build plate, choose the cut axis, position and side to keep, then press “Apply cut”.
  5. Check the mesh results, then press “Download STL (binary)”.

Checking a batch of student files before printing

Students hand in STL files before a print session, and you can't tell which ones will come out the wrong size. One binary export from CAD starts with the word "solid" in its header. Another came through a messenger and arrived cut off. A third is empty. An STL file carries no unit information, so check every file: are the numbers millimeters or inches? A part that should be 10 mm but shows 0.39 mm is probably an inch file read as millimeters.

What you see for each kind of file

FileWhat you seeWhat to do
Binary STL whose header reads "solid part exported by CAD"Opens as a binary STLCheck the size in mm
ASCII STL missing its final endsolid lineOpens with a The file is cut off warning that gives the number of triangles readExport it again
Binary STL whose header claims 40 triangles but holds 4Opens with The file is cut off (triangles read: only 4). Please export the original again.Don't trust the size; export it again
Binary STL with its end cut offOpens the complete triangles with the same warningDon't trust the size; export it again
Empty file, 0 bytesCan't be read; the numbers shown belong to the example meshAsk for the file again
part-exported-by-cad.stl opens as a binary STL measuring 10.0 mm on each axis, with 4 triangles.
A binary STL opened: 10.0 × 10.0 × 10.0 mm
bracket-no-endsolid.stl opens as an ASCII STL with the warning The file is cut off (triangles read: only 12).
An ASCII STL without endsolid opens with a cut-off warning

After a failed read, the numbers aren't your file

When a file can't be read, the screen goes back to the example mesh, a small house made in inches, and shows its size, 84.2 × 52.0 × 31.5 mm. You'll see Could not read with the file name and The numbers below are from the example mesh., plus Could not read the STL file. Check that it is an ASCII or binary STL. A file that isn't an STL gets the same messages. Export the model again from your CAD software, or get the file again.

Could not read empty-part.stl. The numbers below are from the example mesh: 84.2 × 52.0 × 31.5 mm, 16 triangles.
A file that cannot be read leaves the example mesh on screen

Fix the unit, size and position

For a file made in inches, change File unit to inch, and the size is recalculated in millimeters. Take a made-up keycap holder with 12 triangles, made in inches. With inch selected it measures 50.8 × 25.4 × 12.7 mm. Set the width (X) to 40 mm with the ratio locked, then select Place on plate (Z=0, centred). Download STL (binary) saves a 40 × 20 × 10 mm file with 40.0x20.0x10.0mm in its name. Files up to 512 MB are accepted. Do slicing and supports in your slicer. Repair only removes zero-area triangles and turns an inside-out mesh outward; holes are not filled.

Related tools are on the 3D printing and Files pages.

keycap-holder.stl set to inch and resized to 40.0 × 20.0 × 10.0 mm, with Downloaded keycap-holder-40.0x20.0x10.0mm.stl above it.
The inch file at 40 mm wide, downloaded

Files and personal information

Files and anything you enter are not sent to a server. They are processed only in the browser you are using now, and closing the window clears what you entered.