STEP vs STL: Differences, Accuracy and How to Convert STEP to STL
STEP stores a 3D model as exact mathematical geometry (B-Rep) with units, colours and assembly structure. STL stores only a surface made of flat triangles, without units, colours or structure. Use STEP to exchange parts between CAD and CAM systems and with suppliers. Use STL when a 3D printing slicer or mesh tool needs triangles. Converting STEP to STL is a one-way step: you choose how finely curved surfaces are approximated, and some accuracy is always lost on curved faces.
To convert a STEP file to STL directly in your browser, without uploading it, use our STEP to STL converter.
STEP vs STL comparison
| STEP (ISO 10303-21) | STL | |
|---|---|---|
| Geometry representation | Exact B-Rep: planes, cylinders, cones, spheres, tori, NURBS, trimmed by edges | Triangle mesh only; curved surfaces are approximated by facets |
| Units | Declared in the file (SI_UNIT, CONVERSION_BASED_UNIT) | No unit field; numbers are unitless, and millimetres are the usual convention |
| Colours | Yes (AP214, AP242, AP203 edition 2) | Not in the standard; some programs use non-standard extensions |
| Assemblies | Yes: product structure, part names, instances, placements | No; one surface, or several solids without names in practice |
| Editability in CAD | Good: faces can be selected, measured and used for CAM | Poor: editing meshes requires special tools |
| File size | Compact for prismatic parts; grows with complexity | Grows with triangle count: binary STL is 84 bytes + 50 bytes per triangle |
| Typical use | CAD data exchange, supplier communication, CNC/CAM, archiving | 3D printing, rapid prototyping, visualisation, simulation pre-processing |
| Standard | ISO 10303-21 | De facto standard, introduced by 3D Systems in 1987 (LoC format description) |
The core difference: a Ø20 mm hole in STEP is a cylinder. In STL it is a polygon with many sides that approaches a circle. For a deeper look at the STEP side, read What is a STEP file?.
How tessellation works
Converting STEP to STL means tessellation: every B-Rep face is sampled and split into triangles. Our converter uses OCCT via occt-import-js for this. Two parameters control how fine the mesh becomes:
- Chordal (linear) deflection: the maximum distance between a triangle and the true surface. A smaller value means more triangles.
- Angular deflection: the maximum angle between the normals of neighbouring facets on a curved surface. This keeps small radii, such as fillets, from becoming too coarse even when they are within the chordal limit.
On a cylinder, the deviation of a chord from the arc (the sagitta) is
s = r × (1 − cos(θ / 2))
where r is the radius and θ is the angle covered by one facet. For r = 10 mm:
| Facet angle θ | Sagitta s |
|---|---|
| 0.5 rad | ≈ 0.311 mm |
| 0.3 rad | ≈ 0.112 mm |
| 0.1 rad | ≈ 0.0125 mm |
Both limits apply at the same time, and whichever is stricter determines the facet size. Because all triangle vertices lie on the true surface and the facets lie inside it, a meshed convex part is always slightly smaller than the original. Planar faces are reproduced exactly.
Our presets
| Preset | Chordal deflection (relative to part size) | Angular deflection | Measured volume error: cylinder | Measured volume error: sphere |
|---|---|---|---|---|
| Low | 0.004 | 0.5 rad | −0.60 % | −1.13 % |
| Standard | 0.001 | 0.3 rad | −0.15 % | −0.29 % |
| High | 0.0002 | 0.1 rad | −0.031 % | −0.059 % |
The chordal value is a fraction of the model's bounding-box size, so the absolute tolerance scales with the part. For flat (purely planar) parts, the measured volume error is 0 % with every preset.
Worked example: Ø20 × 50 mm cylinder
The exact volume of a cylinder with diameter 20 mm (radius 10 mm) and height 50 mm is:
V = π × 10² × 50 = 5,000π ≈ 15,707.96 mm³
Applying the measured errors:
| Preset | Error | Mesh volume | Missing volume |
|---|---|---|---|
| Low | −0.60 % | ≈ 15,613.72 mm³ | ≈ 94.25 mm³ |
| Standard | −0.15 % | ≈ 15,684.40 mm³ | ≈ 23.56 mm³ |
| High | −0.031 % | ≈ 15,703.09 mm³ | ≈ 4.87 mm³ |
For a sphere of Ø20 mm (exact volume 4/3 × π × 10³ ≈ 4,188.79 mm³), Standard gives about 4,176.64 mm³ (−0.29 %) and High about 4,186.32 mm³ (−0.059 %).
What this means in practice: for an FDM print with a typical layer height of 0.2 mm, the Standard preset is far finer than the printer can resolve. For resin printing of small, highly curved parts, or for a mesh you want to measure later, High is the safer choice.
Which preset should you use?
- Low: quick previews, large prismatic parts, sending a visual model by e-mail. Smallest files; curved surfaces show visible facets.
- Standard: the default for most 3D printing (FDM and SLS) and general visualisation.
- High: small parts with fine radii, resin (SLA/DLP) printing, or meshes that will be inspected or compared against the CAD model. Files are considerably larger.
The converter shows the triangle count and file size before you download, so you can compare presets. Example for sizing: a binary STL with 100,000 triangles is 84 + 50 × 100,000 = 5,000,084 bytes, about 5 MB. The same mesh as ASCII STL is typically several times larger, so choose binary unless a tool requires ASCII.
How to convert a STEP file to STL
- Open the STEP to STL converter.
- Drop your
.stepor.stpfile. It is processed locally in your browser and not uploaded. - Choose a preset: Low, Standard or High.
- Choose binary STL (recommended) or ASCII STL.
- Check the triangle count, file size and the bounding box shown before and after conversion. They should match within the tessellation tolerance.
- Download the STL.
Assemblies are merged into one STL in world coordinates, so every part stays in its assembled position. If you need individual parts, export them separately from your CAD system first.
STL has no unit, so check the scale in your slicer
STL stores bare numbers. Our converter writes coordinates in millimetres, because OCCT converts the STEP file's unit (millimetres, metres or inches) to millimetres on import. There is no silent scaling beyond that conversion.
Most slicers assume millimetres, so the part usually arrives at the correct size. Still, check it every time:
- Note the bounding box in the converter, for example 100 × 50 × 20 mm.
- Import the STL into your slicer and read the dimensions it shows.
- If the slicer shows about 3.94 × 1.97 × 0.79, it is interpreting the numbers as inches. Scale by 25.4 (2,540 %) or switch the import unit to millimetres.
- If the part is 1,000 times too large or too small, the original STEP file most likely declared the wrong unit. Check it in the STEP Viewer before converting.
When to keep STEP and when STL is fine
- Sending parts to a machine shop for CNC milling, turning or sheet metal: send STEP. CAM software needs exact faces, and a mesh can lead to rejected quotes or wrong toolpaths.
- 3D printing service or your own printer: STL works. Many services also accept STEP and tessellate it themselves.
- Archiving: keep STEP (ideally AP242 or AP214) as the master. STL can always be regenerated from STEP, but not the other way round in any useful way.
Limitations
- The converter is not a repair tool. It does not fix gaps, self-intersections or non-manifold geometry in the source model.
- Converting STL back to STEP does not restore exact geometry. You would only get a STEP file containing triangles.
- Colours, part names and assembly structure are not preserved in STL.
- AP242 PMI is not transferred, because STL has no place for it.
- Recommended input size is 50 MB or less on desktop. Browser memory use is roughly 25–30 times the STEP file size.
- Assemblies whose parts are stored in external referenced files produce no geometry.
Related
- STEP to STL converter
- STEP Viewer
- How to open STEP files
- Methodology: how we measured the volume errors