The metal weight formula is W = ρ × A × L, where W is the mass of the part, ρ is the material density in kg/m³, A is the cross-section area in m², and L is the length in meters. Every common shape — round bar, square bar, pipe, sheet, plate, hex stock — collapses into that one relationship, with only the cross-section formula changing. To use it, multiply the cross-section area by the length to get the volume of the part in cubic meters, then multiply that volume by the density of the metal to get its mass in kilograms. The same logic works in imperial units when you use inches and pounds. Because the shape formulas are short and the densities are tabulated constants, anyone with a calculator and a tape measure can estimate the weight of a piece of metal in under a minute. The trick is keeping your units consistent and picking the correct cross-section formula for the profile in your hand. A round bar uses π·r². A pipe uses π·(R² − r²), the outer disk minus the bore. A square bar uses s². A flat sheet uses width × thickness as the cross-section, with length multiplied for the full volume. A hex bar uses (√3/2)·F², where F is the distance across the flats — the wrench size hex stock is sold by, not the corner-to-corner measurement.

The Metal Weight Formula Explained
Every metal weight calculation starts from one idea: a part's mass equals the volume of metal it contains multiplied by the density of that metal. For a bar, pipe, or sheet of uniform cross-section, the volume is just the cross-section area times the length, so the formula reduces to:
W = ρ × A × L
Where W is the mass (kg or lb), ρ is the density (kg/m³ or lb/in³), A is the cross-section area (m² or in²), and L is the length (m or in). All three values must use the same unit family, otherwise the answer is meaningless. Mix an inch and a millimeter inside the same formula and the resulting number is meaningless.
Worked example: a 20 mm round steel bar 1000 mm long. The radius r is 0.01 m, so the cross-section area A = π × (0.01)² ≈ 0.000314 m². The volume is A × L = 0.000314 m³. Multiplying by steel's density of 7850 kg/m³ gives a mass of about 2.47 kg — the same figure the Metal Weight Calculator returns. The relationship holds because the units are consistent: m² × m × kg/m³ = kg, exactly what a mass reading should be.
Cross-Section Formulas by Shape
The cross-section area depends entirely on the profile of the metal in front of you. Each shape has a short formula the calculator applies automatically. The table below lists the five profiles the calculator supports along with the exact area formula each one uses.
| Shape | Inputs you provide | Cross-section area (A) |
|---|---|---|
| Round bar | Diameter, length | π × r², where r = diameter ÷ 2 |
| Square bar | Side s, length | s² |
| Round tube / pipe | Outer diameter, wall thickness, length | π × (R² − r²), where R = OD/2 and r = R − wall |
| Rectangular sheet | Length, width, thickness | width × thickness (multiply by length for full volume) |
| Hexagon bar | Across-flats F, length | (√3 ÷ 2) × F² |
The pipe cross-section is a ring shape, sometimes called an annulus — the outer disk minus the bore. If the wall thickness is t and the outer radius is R, the inner radius is r = R − t, and the area is π(R² − r²). Hex bar is sized by the distance across flats (A/F), which is the wrench size between two parallel faces — not the corner-to-corner measurement. A 24 mm A/F hex bar has a cross-section area of about 499 mm² using (√3/2)·24². Entering the wrong dimension is the single most common mistake people make when calculating metal weight by hand.
Typical Densities for Common Metals
Density is the other half of the formula. The values below are typical engineering references and put you within a percent or two for ordinary estimating. Real density shifts with the exact alloy, grade, and temper, so a mill certificate is the final word when exact numbers matter for shipping or certification.
| Metal | Density (kg/m³) | Density (lb/in³) |
|---|---|---|
| Steel | 7,850 | 0.2836 |
| Stainless steel (304) | 8,000 | 0.2891 |
| Aluminum | 2,700 | 0.0975 |
| Copper | 8,960 | 0.3237 |
| Brass | 8,500 | 0.3071 |
| Titanium | 4,500 | 0.1626 |
Steel and brass sit close together near 7,850–8,500 kg/m³, so substituting one for the other by accident gives a small but real error. Aluminum is roughly one-third the density of steel, which is why the same-sized aluminum and steel bar differ in weight by a factor of almost three. Titanium lands between aluminum and steel, useful when you need strength with less mass than steel but more stability than aluminum. For quick conversion between kg/m³ and lb/in³, divide by 27,679.6.
How to Calculate Metal Weight Step by Step
The full process for working out the weight of a piece of metal in any shape is short enough to do by hand, but the Metal Weight Calculator handles every step and updates the moment any number changes. Here is the complete workflow.
- Pick the profile shape. Round bar, square bar, round tube or pipe, rectangular sheet, or hexagon bar. The calculator loads the correct cross-section formula for that shape automatically, so you do not need to memorize any of the geometry.
- Choose the metal and unit system. Steel, stainless steel, aluminum, copper, brass, or titanium. Pick metric (mm → kg) or imperial (in → lb) so every dimension and the answer share one unit family.
- Enter the dimensions the shape asks for. For a round bar, that is diameter and length. For a pipe, it is outer diameter, wall thickness, and length. For a sheet, length, width, and thickness. For a hex bar, the distance across flats and the length.
- Read the weight, plus cross-section area, volume, and density. The calculator shows every intermediate value, so you can see where the answer comes from. The cross-section area is in mm² or in², the volume in mm³ or in³, and the weight in kg or lb.
- Adjust if the result needs to land closer to a measured weight. Real bars and sheets carry mill tolerances on every dimension, and density varies by alloy. Use the result as the theoretical weight for quoting and estimating, and weigh the actual part when you need a number for shipping or a load certificate.
Working in Metric vs Imperial Without Mistakes
Mixing units is the classic dimensional-error trap. If you enter a diameter in inches and a length in millimeters, the resulting area is meaningless and the weight will be wrong by a large factor. The cleanest approach is to pick one unit family and stay there end to end. In metric mode you enter every dimension in millimeters and read the weight in kilograms. In imperial mode you enter inches and read pounds. The calculator converts everything to SI internally and converts the answer back, so the math holds the same way in both modes and you cannot accidentally cross the streams.
If you do need to convert dimensions yourself for a hand calculation, convert first, then plug in. One millimeter equals 0.03937 inches, one inch equals 25.4 mm, and one kilogram equals 2.2046 pounds. A 1-inch steel round bar 12 inches long is the same physical object as a 25.4 mm bar 304.8 mm long — converting at the start gives the same answer either way. Doing the conversion mid-formula, after the area has already been computed, is where most mistakes happen.
Why Results Differ From the Actual Weight
Two factors nudge theoretical numbers away from what shows up on a scale. First, density is quoted for a typical alloy and varies a few percent by grade and temper — a 304 stainless bar and a 316 stainless bar are both "stainless" but carry slightly different densities, and so do cold-rolled versus hot-rolled steel. Second, real bars, tubes, and sheets carry mill tolerances, often a small fraction of a millimeter on every dimension, that quietly shift the actual volume. The calculator gives the theoretical weight of a nominal piece, which is ideal for quoting, cutting lists, and cost estimates, but it is not a substitute for weighing the finished part when freight or certification requires an exact figure.
Who Uses This Formula Day to Day
Fabricators and machinists estimate stock weight for cutting lists and quotes before any metal hits the saw. Buyers and sellers price metal by the kilogram or pound, so both ends of a transaction need to arrive at the same number. Logistics and shipping teams need weights for freight quotes, crating, and vehicle load limits. Structural and mechanical engineers compare strength against mass when choosing between steel, aluminum, and titanium for a given design load. Welders and hobbyists check whether a finished part will fit a storage rack or ship in a parcel mailer. A single tool that covers round bar, square bar, round pipe, hex bar, and flat sheet across six common metals replaces a stack of one-off spreadsheets and keeps every calculation running through the same formula and the same density table.
For a deeper look, see How to Calculate Pace in Basketball: NBA Formula.
For a deeper look, see Calculate Cholesterol Ratio: Formula and Steps.