STL binary size estimate calculator

Standard binary STL has an 80-byte header, 4-byte triangle count and 50 bytes per triangle.

Your inputs

Use the units shown.

Binary STL bytes
50,084
Unused header bytes
60
Binary STL MiB
0.04776382

Your calculation
How is this calculated?

Standard binary STL has an 80-byte header, 4-byte triangle count and 50 bytes per triangle. Metadata occupies the fixed header rather than adding bytes. Nonstandard extensions are excluded.

  • Binary STL bytes = 84+50 × Triangles
  • Unused header bytes = 80-Header metadata bytes used
  • Binary STL MiB = (84+50 × Triangles) ÷ 2^20
Library of Congress: binary STL format ↗

Try an example

Worked example

Binary STL bytes: 50,084

Inputs
  • Triangles: 1000
  • Header metadata bytes used: 20

Compare inputs

Binary STL bytes: 84

Inputs
  • Triangles: 0
  • Header metadata bytes used: 80
Share this page
Share this calculator

Leave unchecked to share the page without your entered values.