Free Metal Weight Calculator Widget

Embed a live metal weight calculator on your website — fabrication blogs, supplier pages, engineering portals. Free forever. One line of HTML.

Live Preview

This is the widget as it appears when embedded. Try it — it's fully functional.

Embed Codes

Copy the code for your preferred layout and paste it anywhere in your page HTML. The widget is self-contained — no scripts to install, no API keys.

Sidebar — 300 × 450 px

<iframe src="https://www.metalweightpro.com/widget.html"
        width="300" height="450" frameborder="0"
        title="Metal Weight Calculator by MetalWeightPro"
        loading="lazy"></iframe>

Inline — 600 × 420 px

<iframe src="https://www.metalweightpro.com/widget.html"
        width="600" height="420" frameborder="0"
        title="Metal Weight Calculator by MetalWeightPro"
        loading="lazy"></iframe>

Full-width responsive

<iframe src="https://www.metalweightpro.com/widget.html"
        width="100%" height="420" frameborder="0"
        title="Metal Weight Calculator by MetalWeightPro"
        loading="lazy"
        style="max-width:100%;"></iframe>

What the Widget Calculates

Shape Inputs Formula
Round BarDiameter, Length(π/4) × D² × ρ × L
Square BarSide, LengthS² × ρ × L
Flat BarWidth, Thickness, LengthW × T × ρ × L
MS PipeOD, Wall thickness, Length0.02466 × t × (OD − t) × L
SHS / BoxSide, Wall thickness, Length4 × t × (S − t) × ρ × L

Densities used: MS 7.85 g/cm³ · SS 304/316 8.00 g/cm³ · Aluminium 2.70 g/cm³ · Copper 8.96 g/cm³. Pipe formula per standard IS fabrication reference. All other shapes use volume × density method.

Frequently Asked Questions

What shapes and materials does the MetalWeightPro widget calculate?

The widget calculates weight for five shapes: round bar, square bar, flat bar, MS pipe, and SHS box section. Supported materials are mild steel (7.85 g/cm³), stainless steel 304 and 316 (8.00 g/cm³), aluminium (2.70 g/cm³), and copper (8.96 g/cm³). Output is weight per metre (kg/m) and total weight (kg) for the entered length.

Is the MetalWeightPro widget free to embed on my website?

Yes, the widget is completely free to embed. Copy the iframe code below and paste it into any page. The only requirement is that the attribution line — Powered by MetalWeightPro — remains visible inside the widget.

Widget mein sirf metric units hain ya imperial bhi support karta hai?

Abhi widget sirf metric units support karta hai — dimensions millimetres mein, length metres mein, aur output kg/m aur kg mein. Imperial support future update mein add kiya jayega.