Models & planning

STL Geometry & Dimensions Analyzer

Measure the bounding box, triangle count and surface area of an ASCII or binary STL in your browser. Geometric volume is reported only when topology passes the stated checks.

Your inputs

LIVE CALCULATION
Manage profiles ↗

Calculations run on your device.

Your results

CALCULATED

Know the assumptions

Planning estimates do not replace slicing or physical checks. STL units are assumed millimetres; file analysis stays in your browser.

THE KNOWLEDGE BEHIND THE NUMBERS

What does this calculator do?

Inspect ASCII or binary triangles locally for dimensions and count. STL surfaces do not establish print settings, consumption or duration.

How to use the calculator

  1. Collect measurements and check units.
  2. Confirm units and repair geometry. Use slicer consumption for hollow or infilled prints and never invent STL print time.
  3. Record assumptions and check the result before applying it.

How the calculation works

FORMULA

Bounding box from vertices; volume from signed tetrahedra only for a closed consistently oriented mesh

Dimensions = max − min coordinates. Closed oriented mesh volume = sum(a · (b × c)/6). Closure and intersections affect validity; a numerical sum alone is insufficient.

INPUTSMeasured or estimatedFORMULAUnits checkedRESULTInterpret assumptions

Practical calculation example

X from −10 to 30 gives 40 coordinate units. If millimeters are intended, width is 40 mm; box volume is not object volume.

Understanding the results

Confirm units and repair geometry. Use slicer consumption for hollow or infilled prints and never invent STL print time.

Geometry analysis without uploading the model

Choose an ASCII or binary STL and the browser reads it locally in a dedicated worker. The file is not sent to the application server by this tool. The analysis reports triangle count, bounding dimensions and surface area, with volume only when the implemented topology checks permit it. It is a mesh inspector rather than a slicer or repair application. The output helps establish whether a model's basic geometry matches expectations before further planning. A valid-looking set of dimensions does not certify that the file will produce the intended physical object.

The STL unit assumption is explicit

STL coordinates do not carry a reliable standard unit declaration. This tool assumes millimetres. A cube whose coordinates span 0 to 20 is reported as 20 mm wide, but the file itself cannot establish that the author intended millimetres. Compare a known feature or the design's stated dimensions. An inch-versus-millimetre mismatch changes linear dimensions by 25.4 and volume by 25.4³. Correct a known mismatch in CAD or the slicer; do not treat a plausible-looking bounding box as proof of correct units.

How ASCII and binary are distinguished

A binary STL normally has an 80-byte header, a four-byte triangle count and 50 bytes per triangle. The parser checks whether that declared count matches the actual byte length. A matching binary structure is read as binary even if its header begins with the word solid. Otherwise an ASCII file must have a recognised solid structure and facets with three vertices. Truncated, malformed or unsupported data produces an error. This deliberately bounded parser is not a universal converter for every nonstandard STL variant or an automatic repair service.

Dimensions come from coordinate extrema

For each axis, the bounding dimension equals maximum coordinate minus minimum coordinate across all vertices. Translation of the model does not change this difference: coordinates from −10 to 10 and from 0 to 20 both span 20 mm. Rotation can change the axis-aligned box even though the shape itself is unchanged. The values therefore describe the file's current orientation. Use those dimensions in scaling or build-volume planning, and measure again if you reorient the model. The tool does not compute an optimised minimum-volume box.

Surface area and a small reference shape

Each triangle contributes half the magnitude of the cross product of two edge vectors. Areas sum across the entire mesh and are reported in mm² under the unit assumption. For a tetrahedron with vertices at the origin and one millimetre along each axis, the volume is 1/6 mm³, or 1/6000 cm³. This known shape is included in the parser tests for both encodings. Triangle count measures tessellation, not surface quality by itself; many triangles can describe a poor mesh, while planar regions can be represented accurately with relatively few.

Why some volume results are withheld

Signed tetrahedral contributions are summed only after suitability checks. Every exact geometric edge must occur twice with opposite directions. Degenerate triangles, duplicate faces, unmatched edges, inconsistent orientation and zero signed volume prevent the reported volume. Exact vertex matching is intentionally conservative; nearly coincident coordinates can fail even when a modelling tool visually treats them as joined. Withholding the result avoids presenting an open surface as a closed solid. The edge diagnostic tells you the topology needs attention but does not itself locate or repair the faulty region.

Closed topology is not a complete validity proof

The current analyzer does not test triangle self-intersections or overlapping shells. A mesh can pass edge pairing while still violating the assumptions of a meaningful single enclosed solid. Nested shells also depend on consistent intended orientation. The volume warning therefore remains important even when a number is displayed. Inspect complex geometry in a dedicated mesh tool and confirm that shells represent the intended solid and cavities. Do not rely on this basic volume check to approve critical dimensions, manufacturing readiness or a multi-body mesh with ambiguous overlap.

Volume is not material use or print time

The enclosed geometric volume of a model is different from a slicer's deposited material. Infill, hollowing, walls, top and bottom layers, supports, brim and purge all affect consumption. No print duration is derived from STL geometry here. A bounding-box volume is also not a substitute for enclosed volume: empty regions inside the box can be large. To estimate production cost, slice with the actual printer and profile, then use the resulting material and time estimates. For solid-material mass calculations, separately verify the geometry and use a relevant material density.

Limits and a practical repair workflow

Files are limited to 32 MB and 100,000 triangles, and the worker has a 15-second analysis timeout. These limits protect browser resources rather than classifying a larger model as invalid. If rejected for size, export a responsibly simplified mesh from the original CAD while preserving important features. If topology fails, keep the original, inspect open boundaries and duplicate faces, repair in a suitable editor and rerun the analysis. Check dimensions after repair because some operations alter geometry. Changing the selected file terminates the preceding analysis so stale results are not mistaken for the new model.

Advanced tips

  • Confirm units and repair geometry. Use slicer consumption for hollow or infilled prints and never invent STL print time.

Common mistakes

  • Treating paired edges as proof that self-intersections and overlapping shells are absent.

Frequently asked questions

Why do I get dimensions but no volume?

+

Extrema can be measured on an open surface. Enclosed volume requires stronger topology assumptions, so it is withheld when those checks fail.

Does a displayed volume certify a watertight solid?

+

No. The stated edge and degeneracy checks pass, but self-intersections and overlapping shells are not detected.

Can this tell how long an STL will print?

+

No. Print time depends on actual slicing and machine behaviour; this tool never invents it from geometry.

Sources & methodology

Mathematical results depend on the supplied inputs. Material properties and machine limits need confirmation for your exact equipment. Editorial specialist approval remains pending.

Related calculators