{"id":2529,"date":"2026-04-18T04:45:09","date_gmt":"2026-04-18T04:45:09","guid":{"rendered":"https:\/\/staging.unitedsteelandfasteners.com\/?page_id=2529"},"modified":"2026-04-18T04:45:10","modified_gmt":"2026-04-18T04:45:10","slug":"bolt-weight-calculator","status":"publish","type":"page","link":"https:\/\/staging.unitedsteelandfasteners.com\/index.php\/bolt-weight-calculator\/","title":{"rendered":"Bolt Weight Calculator"},"content":{"rendered":"\n<div style=\"max-width:600px;margin:40px auto;padding:25px;background:#f8f8f8;border-radius:6px;\">\n    <h2 style=\"text-align:center;margin-bottom:20px;\">Bolt Weight Calculator<\/h2>\n\n    <label>Diameter (inches)<\/label>\n    <input id=\"diameter\" type=\"number\" step=\"0.01\" style=\"width:100%;padding:10px;margin-bottom:15px;\">\n\n    <label>Length (inches)<\/label>\n    <input id=\"length\" type=\"number\" step=\"0.01\" style=\"width:100%;padding:10px;margin-bottom:15px;\">\n\n    <label>Material<\/label>\n    <select id=\"material\" style=\"width:100%;padding:10px;margin-bottom:20px;\">\n        <option value=\"0.283\">Steel<\/option>\n        <option value=\"0.284\">Alloy Steel<\/option>\n        <option value=\"0.098\">Aluminum<\/option>\n        <option value=\"0.289\">Stainless Steel<\/option>\n    <\/select>\n\n    <button onclick=\"calcWeight()\" style=\"width:100%;padding:12px;background:#0073e6;color:#fff;border:none;border-radius:4px;\">\n        Calculate\n    <\/button>\n\n    <h3 id=\"result\" style=\"text-align:center;margin-top:20px;\"><\/h3>\n<\/div>\n\n<script>\nfunction calcWeight() {\n    let D = parseFloat(document.getElementById(\"diameter\").value);\n    let L = parseFloat(document.getElementById(\"length\").value);\n    let rho = parseFloat(document.getElementById(\"material\").value);\n\n    if (!D || !L) {\n        document.getElementById(\"result\").innerHTML = \"Enter valid values\";\n        return;\n    }\n\n    let volume = Math.PI * Math.pow(D\/2, 2) * L;\n    let weight = volume * rho;\n\n    document.getElementById(\"result\").innerHTML =\n        \"Weight: <strong>\" + weight.toFixed(3) + \" lbs<\/strong>\";\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Bolt Weight Calculator Diameter (inches) Length (inches) Material SteelAlloy SteelAluminumStainless Steel Calculate<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"class_list":["post-2529","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/staging.unitedsteelandfasteners.com\/index.php\/wp-json\/wp\/v2\/pages\/2529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.unitedsteelandfasteners.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/staging.unitedsteelandfasteners.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/staging.unitedsteelandfasteners.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.unitedsteelandfasteners.com\/index.php\/wp-json\/wp\/v2\/comments?post=2529"}],"version-history":[{"count":1,"href":"https:\/\/staging.unitedsteelandfasteners.com\/index.php\/wp-json\/wp\/v2\/pages\/2529\/revisions"}],"predecessor-version":[{"id":2530,"href":"https:\/\/staging.unitedsteelandfasteners.com\/index.php\/wp-json\/wp\/v2\/pages\/2529\/revisions\/2530"}],"wp:attachment":[{"href":"https:\/\/staging.unitedsteelandfasteners.com\/index.php\/wp-json\/wp\/v2\/media?parent=2529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}