Guides ·

How to calculate the weight of a part from its STEP file

A supplier sent a STEP file and you need the part's weight: for shipping, a weight budget, or to choose between steel and aluminium. The maths is one multiplication; the work is getting a trustworthy volume and the right density. Here is how, with a 20-tooth chain sprocket weighed in three metals.

Drop your STEP file on the free STEP weight calculator, pick the metal, and read the weight part by part.Try it on your own file
A 20-tooth sprocket in the unmake STEP weight calculator, which opens in carbon steel: 20.31 kg, solid, 7.85 g/cm³, with the density's source, Engineering ToolBox, under Adjust
The sprocket as the calculator opens it: carbon steel, solid, 20.31 kg. Model: Sprocket ANSI simplex 1¾x1¼ z20 by Simone Bignetti, FreeCAD library, CC BY 3.0.

The formula: volume × density

Weight in grams is volume in cubic centimetres times density in grams per cubic centimetre. Density is how heavy one cubic centimetre of the material is.

Watch the units. CAD volumes often come in mm³: divide by 1,000 for cm³. Data sheets sometimes give density in kg/m³: divide by 1,000 for g/cm³, so 7,980 kg/m³ is 7.98 g/cm³. Divide grams by 1,000 for kilograms.

Why the STEP file is the right starting point

A STEP file (ISO 10303) holds the part as exact solids and records its unit, usually millimetres. A closed solid has a well-defined volume, and nothing has to be guessed. An STL, by contrast, stores bare numbers with no unit, so the same file can read as millimetres or inches.

If you have the CAD program that made the part, its mass properties command gives the volume. Without it, a viewer that reads STEP can measure the volume for you, or you can estimate it by hand from simple shapes.

Estimating by hand, and why it runs high

The sample sprocket, from the dimension table in its library folder, is a toothed plate 300 mm across and 29.4 mm thick, with a hub 160 mm across rising to 75 mm and a 30 mm bore.

Treat it as two discs. The hub ring above the plate: π ÷ 4 × (160² − 30²) × 45.6 mm = 884.6 cm³. The plate as a full disc minus the bore: π ÷ 4 × (300² − 30²) × 29.4 mm = 2,057.4 cm³. Together, 2,942 cm³.

The exact solid measures 2,586.63 cm³, so the hand estimate is about 14% high: it fills in the gaps between the teeth and ignores the chamfers. Fine for a sanity check, not for a weight budget.

Pick the density

The STEP weight calculator starts in carbon steel at 7.85 g/cm³ and weighs the part solid. Its list, each entry with its source, covers everyday metals: stainless steel 304 at 8.00 g/cm³, aluminium 6061 at 2.70, brass at 8.47, copper at 8.92 and grey cast iron at 7.20.

For metal 3D printing it adds stainless steel 316L (7.98 g/cm³), aluminium AlSi10Mg (2.67) and titanium Ti-6Al-4V (4.41), from EOS data sheets. Densities vary by a few percent between alloys and processes, so for a weight that matters, take the figure from your supplier's data sheet and multiply it by the volume yourself.

Weight equals volume times density: the same 2,586.63 cm³ sprocket weighs 20.31 kg in carbon steel, 11.41 kg in titanium Ti-6Al-4V and 6.98 kg in aluminium 6061
One volume, three densities, three weights. Densities as listed in the calculator, with their sources.

How exact is the volume?

To measure a STEP file, a program turns its curved faces into small flat triangles, which sit a hair inside the true curve. Flat faces stay exact.

The calculator lets you choose the smoothness of curves under Details. On the sprocket, Coarse gave 2,582.81 cm³, Normal 2,586.63 cm³ and Fine 2,587.75 cm³: 0.2% between the extremes. In carbon steel that is 20.28 kg against 20.31 kg. The density, uncertain by a few percent, matters more.

Assemblies and the cost line

For an assembly, untick the parts you don't want in the parts list: the weight follows what is visible. Parts that overlap in the file are counted twice, so check that bolts don't sit inside solid plates.

For the everyday metals the calculator gives the weight only. For the 3D printing metals it adds a line labelled "Powder cost (metal printing, not a part price)": the powder at a price per kilogram you can change, without machine time or finishing.

The same sprocket set to aluminium 6061: 6.98 kg, solid, 2.70 g/cm³, density from the Aalco 6061-T6 data sheet
In aluminium 6061 the sprocket weighs 6.98 kg, about a third of the steel. Model: FreeCAD library sprocket by Simone Bignetti, CC BY 3.0.

A worked example: a 20-tooth sprocket in three metals

  1. Download "Sprocket ANSI simplex 1¾x1¼ z20.step" from the FreeCAD library's ISO 606 sprockets: one solid, 1,467,147 bytes.
  2. Drop it on the STEP weight calculator. It reads 300.3 × 300.3 × 75 mm and 2,586.63 cm³, says the shape is closed (watertight), and opens with the answer: 20.31 kg, "Carbon steel · solid · 7.85 g/cm³". Adjust names the density's source.
  3. Check it by hand: 2,586.63 cm³ × 7.85 g/cm³ = 20,305 g, the same 20.31 kg.
  4. Switch Material to Aluminium 6061 · 2.70 g/cm³: 6.98 kg, about a third of the steel. Stainless steel 304 · 8.00 g/cm³ gives 20.69 kg, barely more than carbon steel.
  5. For a printed titanium part, choose Titanium Ti-6Al-4V · 4.41 g/cm³: 11.41 kg, with the powder cost shown underneath.

Common mistakes

Questions

How accurate is a weight from a STEP file?

The volume is close to exact: on the sprocket, three detail levels agree within 0.2%. The density is the bigger unknown, a few percent between alloys, so use your supplier's figure.

What density should I use for steel?

The calculator starts with 7.85 g/cm³ for carbon steel; its list gives 8.00 g/cm³ for stainless steel 304 and 7.98 g/cm³ for printed 316L. Use your supplier's figure when it matters.

Can I weigh one part of an assembly?

Yes. Untick the other parts, or press Hide all and tick the ones you want; the weight and volume follow the visible parts.

Can I do this with an STL file instead?

Yes, if the mesh is closed and you know its unit. STL stores no unit, so check the size first; a part read in the wrong unit can be off by a factor of 25.4 or 1,000.

Sample file: Sprocket ANSI simplex 1¾x1¼ z20.step · CC BY 3.0, Simone Bignetti (FreeCAD library)

Sources

Drop your STEP file on the free STEP weight calculator, pick the metal, and read the weight part by part.Try it on your own file