{"id":100152,"date":"2026-02-15T20:21:17","date_gmt":"2026-02-15T20:21:17","guid":{"rendered":"https:\/\/vibromera.eu\/?post_type=calculator&#038;p=100152"},"modified":"2026-07-12T20:19:42","modified_gmt":"2026-07-12T20:19:42","slug":"metal-weight-calculator","status":"publish","type":"calculator","link":"https:\/\/vibromera.eu\/id\/calculators\/metal-weight-calculator\/","title":{"rendered":"Metal Profile Theoretical Mass Worksheet"},"content":{"rendered":"\n<script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"WebApplication\",\"name\":\"Metal Profile Theoretical Mass Worksheet\",\"description\":\"Calculate theoretical mass of ideal sharp-corner metal profiles from documented dimensions and density,with metric or inch inputs and explicit geometry boundaries.\",\"url\":\"https:\/\/vibromera.eu\/calculators\/metal-weight-calculator\/\",\"applicationCategory\":\"Engineering Reference\",\"operatingSystem\":\"Any\",\"offers\":{\"@type\":\"Offer\",\"price\":\"0\",\"priceCurrency\":\"EUR\"},\"creator\":{\"@type\":\"Organization\",\"name\":\"Vibromera\",\"url\":\"https:\/\/vibromera.eu\/\"},\"dateModified\":\"2026-07-12\",\"inLanguage\":\"en\",\"isAccessibleForFree\":true}<\/script>\n<style>:root{--mp:#8a4b2b;--mpl:#faeee8;--ink:#181817;--sec:#595750;--mut:#817e76;--b:#d8d4cc;--bl:#e9e5dd;--alt:#f8f6f1;--red:#b42318;--yel:#fff8df;--amb:#8a6500;--font:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.mp-wrap{font-family:var(--font);color:var(--ink);max-width:1080px;margin:0 auto;border:1px solid var(--bl);border-radius:16px;overflow:hidden;background:#fff}.mp-wrap *,.mp-wrap *:before,.mp-wrap *:after{box-sizing:border-box}.mp-hero{padding:34px 38px 26px;background:linear-gradient(135deg,#fcfaf8,#faeee8)}.mp-kicker{text-transform:uppercase;letter-spacing:.1em;font-size:12px;font-weight:800;color:var(--mp)}.mp-hero h1{font-size:clamp(28px,4vw,44px);line-height:1.08;margin:8px 0 12px}.mp-lead{font-size:17px;line-height:1.65;color:var(--sec);max-width:950px}.mp-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.mp-badge{padding:6px 10px;border-radius:99px;background:#fff;border:1px solid var(--b);font-size:12px;font-weight:700}.mp-main{padding:30px 38px}.mp-panel{border:1px solid var(--b);border-radius:14px;padding:24px}.mp-panel h2{font-size:22px;margin:0 0 8px}.mp-note{font-size:14px;line-height:1.55;color:var(--sec)}.mp-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.mp-field{display:flex;flex-direction:column;gap:7px}.mp-field[hidden]{display:none}.mp-wide{grid-column:1\/-1}.mp-label{font-size:13px;font-weight:800}.mp-help{font-size:12px;line-height:1.4;color:var(--mut)}.mp-input,.mp-select,.mp-textarea{font:inherit;width:100%;border:1px solid #bcb8af;border-radius:9px;padding:11px 12px;background:#fff;color:var(--ink)}.mp-textarea{min-height:88px;resize:vertical}.mp-input:focus,.mp-select:focus,.mp-textarea:focus{outline:3px solid rgba(138,75,43,.17);border-color:var(--mp)}.mp-dims{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.mp-error{min-height:22px;color:var(--red);font-size:14px;font-weight:800;margin:14px 0 0}.mp-results{margin-top:20px;border:1px solid var(--b);border-radius:12px;overflow:hidden}.mp-results[hidden]{display:none}.mp-rhead{background:var(--mpl);padding:18px 20px}.mp-rtitle{font-size:20px;font-weight:900;color:var(--mp)}.mp-rsub{font-size:13px;color:var(--sec);margin-top:4px}.mp-rgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--bl)}.mp-card{background:#fff;padding:18px}.mp-card h3{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--mut);margin:0 0 8px}.mp-val{font-size:20px;font-weight:900;overflow-wrap:anywhere}.mp-unit{font-size:12px;color:var(--mut);margin-top:4px}.mp-alert{border-left:4px solid var(--amb);background:var(--yel);padding:14px 16px;margin-top:18px;font-size:14px;line-height:1.55}.mp-section{border-top:1px solid var(--bl);padding:28px 38px}.mp-section h2{font-size:24px;margin:0 0 10px}.mp-section h3{font-size:18px;margin:22px 0 8px}.mp-section p,.mp-section li{font-size:14px;line-height:1.65;color:var(--sec)}.mp-table-wrap{overflow-x:auto;border:1px solid var(--b);border-radius:10px}.mp-table{width:100%;border-collapse:collapse;min-width:800px}.mp-table th,.mp-table td{padding:12px 13px;text-align:left;vertical-align:top;border-bottom:1px solid var(--bl);font-size:13px;line-height:1.45}.mp-table th{background:var(--alt);font-weight:900}.mp-table tr:last-child td{border-bottom:0}.mp-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.mp-footer{padding:20px 38px;background:var(--alt);font-size:12px;color:var(--mut)}.mp-footer a,.mp-section a{color:var(--mp)}@media(max-width:700px){.mp-hero,.mp-main,.mp-section{padding-left:20px;padding-right:20px}.mp-grid,.mp-dims,.mp-rgrid{grid-template-columns:1fr}.mp-wide{grid-column:auto}.mp-panel{padding:18px}.mp-table{min-width:720px}}<\/style>\n<div class=\"mp-wrap\"><header class=\"mp-hero\"><div class=\"mp-kicker\">Ideal geometry \u00d7 documented density \u00b7 theoretical mass<\/div><h1>Metal Profile Theoretical Mass Worksheet<\/h1><p class=\"mp-lead\">Calculate mass from ideal sharp-corner cross-sectional geometry,length and a documented material density. Use millimetres with kg\/m\u00b3 or inches with lb\/in\u00b3;the worksheet converts internally to SI and reports both kg and avoirdupois pounds.<\/p><div class=\"mp-badges\"><span class=\"mp-badge\">7 ideal profiles<\/span><span class=\"mp-badge\">mm or inch inputs<\/span><span class=\"mp-badge\">User-sourced density<\/span><span class=\"mp-badge\">Mass\u2014not weight-force<\/span><\/div><\/header>\n<main class=\"mp-main\"><section class=\"mp-panel\"><h2>Document one ideal prismatic part<\/h2><p class=\"mp-note\">Select units and profile first. Changing either selector reinterprets\u2014not converts\u2014numbers already entered. Use drawing dimensions and density for the actual alloy,condition and temperature.<\/p><form id=\"mp-form\" novalidate><div class=\"mp-grid\"><div class=\"mp-field\"><label class=\"mp-label\" for=\"mp-units\">Input unit system<\/label><select class=\"mp-select\" id=\"mp-units\"><option value=\"\">Select\u2026<\/option><option value=\"si\">Metric:mm and kg\/m\u00b3<\/option><option value=\"us\">Inch:in and lb\/in\u00b3<\/option><\/select><\/div><div class=\"mp-field\"><label class=\"mp-label\" for=\"mp-shape\">Ideal profile<\/label><select class=\"mp-select\" id=\"mp-shape\"><option value=\"\">Select\u2026<\/option><option value=\"round\">solid round bar<\/option><option value=\"pipe\">hollow round tube from OD and wall<\/option><option value=\"flat\">rectangular\/flat bar<\/option><option value=\"square\">solid square bar<\/option><option value=\"hex\">regular hex bar by across-flats size<\/option><option value=\"angle\">sharp-corner unequal angle<\/option><option value=\"channel\">sharp-corner channel<\/option><\/select><\/div><div class=\"mp-field\"><label class=\"mp-label\" for=\"mp-length\">Part length (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-length\" inputmode=\"decimal\" autocomplete=\"off\"><\/div><div class=\"mp-field\"><label class=\"mp-label\" for=\"mp-density\">Documented density (<span id=\"mp-du\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-density\" inputmode=\"decimal\" autocomplete=\"off\"><\/div><div class=\"mp-field mp-wide\"><label class=\"mp-label\" for=\"mp-source\">Drawing\/material\/density source record<\/label><textarea class=\"mp-textarea\" id=\"mp-source\" maxlength=\"1800\" placeholder=\"Drawing\/profile designation and revision;nominal or measured dimensions;tolerances and radii;alloy\/condition;density value,unit,source and temperature;excluded coatings,holes,welds or fittings\"><\/textarea><\/div><\/div>\n<div class=\"mp-dims\"><div class=\"mp-field mp-dim\" data-shape=\"round\"><label class=\"mp-label\" for=\"mp-d\">Diameter (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-d\" inputmode=\"decimal\"><\/div>\n<div class=\"mp-field mp-dim\" data-shape=\"pipe\"><label class=\"mp-label\" for=\"mp-od\">Outside diameter OD (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-od\" inputmode=\"decimal\"><\/div><div class=\"mp-field mp-dim\" data-shape=\"pipe\"><label class=\"mp-label\" for=\"mp-wall\">Wall thickness t (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-wall\" inputmode=\"decimal\"><\/div>\n<div class=\"mp-field mp-dim\" data-shape=\"flat\"><label class=\"mp-label\" for=\"mp-width\">Width (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-width\" inputmode=\"decimal\"><\/div><div class=\"mp-field mp-dim\" data-shape=\"flat\"><label class=\"mp-label\" for=\"mp-thick\">Thickness (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-thick\" inputmode=\"decimal\"><\/div>\n<div class=\"mp-field mp-dim\" data-shape=\"square\"><label class=\"mp-label\" for=\"mp-side\">Side (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-side\" inputmode=\"decimal\"><\/div>\n<div class=\"mp-field mp-dim\" data-shape=\"hex\"><label class=\"mp-label\" for=\"mp-af\">Across-flats AF (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-af\" inputmode=\"decimal\"><span class=\"mp-help\">Not the hexagon side length or across-corners size.<\/span><\/div>\n<div class=\"mp-field mp-dim\" data-shape=\"angle\"><label class=\"mp-label\" for=\"mp-a\">Leg A (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-a\" inputmode=\"decimal\"><\/div><div class=\"mp-field mp-dim\" data-shape=\"angle\"><label class=\"mp-label\" for=\"mp-b\">Leg B (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-b\" inputmode=\"decimal\"><\/div><div class=\"mp-field mp-dim\" data-shape=\"angle\"><label class=\"mp-label\" for=\"mp-ta\">Thickness t<sub>A<\/sub> (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-ta\" inputmode=\"decimal\"><\/div><div class=\"mp-field mp-dim\" data-shape=\"angle\"><label class=\"mp-label\" for=\"mp-tb\">Thickness t<sub>B<\/sub> (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-tb\" inputmode=\"decimal\"><\/div>\n<div class=\"mp-field mp-dim\" data-shape=\"channel\"><label class=\"mp-label\" for=\"mp-h\">Overall height h (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-h\" inputmode=\"decimal\"><\/div><div class=\"mp-field mp-dim\" data-shape=\"channel\"><label class=\"mp-label\" for=\"mp-bf\">Overall flange width b (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-bf\" inputmode=\"decimal\"><\/div><div class=\"mp-field mp-dim\" data-shape=\"channel\"><label class=\"mp-label\" for=\"mp-tw\">Web thickness t<sub>w<\/sub> (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-tw\" inputmode=\"decimal\"><\/div><div class=\"mp-field mp-dim\" data-shape=\"channel\"><label class=\"mp-label\" for=\"mp-tf\">Flange thickness t<sub>f<\/sub> (<span class=\"mp-lu\">unit<\/span>)<\/label><input class=\"mp-input\" id=\"mp-tf\" inputmode=\"decimal\"><\/div><\/div><p class=\"mp-error\" id=\"mp-error\" role=\"alert\"><\/p><\/form>\n<section class=\"mp-results\" id=\"mp-results\" hidden data-json=\"\"><div class=\"mp-rhead\"><div class=\"mp-rtitle\">Theoretical mass from nominal ideal geometry<\/div><div class=\"mp-rsub\" id=\"mp-summary\">\u2014<\/div><\/div><div class=\"mp-rgrid\"><article class=\"mp-card\"><h3>Part mass<\/h3><div class=\"mp-val\" id=\"mp-r-kg\">\u2014<\/div><div class=\"mp-unit\" id=\"mp-r-lb\">\u2014<\/div><\/article><article class=\"mp-card\"><h3>Mass per length<\/h3><div class=\"mp-val\" id=\"mp-r-kgm\">\u2014<\/div><div class=\"mp-unit\" id=\"mp-r-lbft\">\u2014<\/div><\/article><article class=\"mp-card\"><h3>Ideal cross-section area<\/h3><div class=\"mp-val\" id=\"mp-r-area\">\u2014<\/div><div class=\"mp-unit\" id=\"mp-r-area-si\">\u2014<\/div><\/article><article class=\"mp-card\"><h3>Ideal volume<\/h3><div class=\"mp-val\" id=\"mp-r-volume\">\u2014<\/div><div class=\"mp-unit\" id=\"mp-r-volume-si\">\u2014<\/div><\/article><article class=\"mp-card\"><h3>Density used<\/h3><div class=\"mp-val\" id=\"mp-r-density\">\u2014<\/div><div class=\"mp-unit\" id=\"mp-r-density-si\">\u2014<\/div><\/article><article class=\"mp-card\"><h3>Profile model<\/h3><div class=\"mp-val\" id=\"mp-r-shape\">\u2014<\/div><div class=\"mp-unit\">ideal sharp-corner geometry<\/div><\/article><\/div><\/section>\n<div class=\"mp-alert\"><strong>Decision boundary:<\/strong> this is theoretical mass,not weight-force and not a certified section property. Actual mass changes with dimensional tolerances,corner\/root radii,alloy density,temperature,porosity,scale,coatings,welds,holes,fittings and cut length. Use measured mass or manufacturer-certified section data for lifting,transport,purchasing,balance or safety decisions.<\/div><\/section><\/main>\n<section class=\"mp-section\"><h2>Cross-section equations<\/h2><div class=\"mp-table-wrap\"><table class=\"mp-table\"><thead><tr><th>Profile<\/th><th>Ideal area A<\/th><th>Geometry boundary<\/th><\/tr><\/thead><tbody><tr><td>solid round<\/td><td class=\"mp-code\">\u03c0d\u00b2\/4<\/td><td>d is diameter.<\/td><\/tr><tr><td>hollow round<\/td><td class=\"mp-code\">\u03c0[OD\u00b2\u2212(OD\u22122t)\u00b2]\/4<\/td><td>0&lt;t&lt;OD\/2.<\/td><\/tr><tr><td>rectangle\/flat<\/td><td class=\"mp-code\">w t<\/td><td>Sharp rectangle.<\/td><\/tr><tr><td>solid square<\/td><td class=\"mp-code\">s\u00b2<\/td><td>s is side.<\/td><\/tr><tr><td>regular hex by across-flats F<\/td><td class=\"mp-code\">\u221a3 F\u00b2\/2<\/td><td>F is distance between opposite flats. If side length a is used,the different formula is3\u221a3a\u00b2\/2.<\/td><\/tr><tr><td>unequal angle<\/td><td class=\"mp-code\">A t<sub>A<\/sub>+(B\u2212t<sub>A<\/sub>)t<sub>B<\/sub><\/td><td>Two sharp rectangles with one overlap removed;t<sub>A<\/sub>&lt;B and t<sub>B<\/sub>&lt;A.<\/td><\/tr><tr><td>channel<\/td><td class=\"mp-code\">h t<sub>w<\/sub>+2(b\u2212t<sub>w<\/sub>)t<sub>f<\/sub><\/td><td>Sharp web plus two flange extensions;t<sub>w<\/sub>&lt;b and2t<sub>f<\/sub>&lt;h.<\/td><\/tr><\/tbody><\/table><\/div><p>Internal dimensions use millimetres. <span class=\"mp-code\">V=A L<\/span> in mm\u00b3 and <span class=\"mp-code\">m=\u03c1V\/10\u2079<\/span> in kg when \u03c1 is kg\/m\u00b3. Exact conversions use1in=25.4mm,1ft=0.3048m and1avoirdupois lb=0.45359237kg.<\/p><\/section>\n<section class=\"mp-section\"><h2>Sources and applicability<\/h2><p><a href=\"https:\/\/www.bipm.org\/en\/publications\/si-brochure\/\" target=\"_blank\" rel=\"noopener\">BIPM SI Brochure,9th edition (2019),updated2026<\/a> establishes the SI framework and kilogram as the mass unit. <a href=\"https:\/\/www.nist.gov\/pml\/special-publication-811\/nist-guide-si-appendix-b-conversion-factors\" target=\"_blank\" rel=\"noopener\">NIST SP811 AppendixB<\/a> documents exact international-inch and avoirdupois-pound conversions used in the unit-invariance tests.<\/p><p><a href=\"https:\/\/www.nist.gov\/pml\/owm\/si-units-mass\" target=\"_blank\" rel=\"noopener\">NIST mass guidance<\/a> distinguishes mass from weight-force. Density values are not universal constants for broad labels such as \u201csteel\u201d or \u201caluminium\u201d;this worksheet therefore requires the user to enter and cite the value applicable to the exact material and condition.<\/p><p>The geometry equations are general Euclidean\/engineering relations,not ISO formulas. The former related-link label \u201cISO1940\u201d was outdated:ISO&#8217;s lifecycle records mark ISO1940-1:2003 withdrawn and revised by ISO21940-11:2016 with Amendment1:2022. This page does not calculate residual unbalance or a balance tolerance.<\/p><\/section>\n<section class=\"mp-section\"><h2>What was corrected<\/h2><p>The former hex-bar input was explicitly flat-to-flat,but the code used <span class=\"mp-code\">3\u221a3F\u00b2\/2<\/span>,the formula for hexagon side length. For a true across-flats value the correct area is <span class=\"mp-code\">\u221a3F\u00b2\/2<\/span>;the former result was exactly three times too large. The replacement also enforces hollow-tube,angle and channel geometry constraints.<\/p><p>kg and lb outputs are now labelled mass,with lb explicitly avoirdupois. The rounded coefficient2.20462 was replaced by division by the exact international-pound definition. Generic density presets,pre-filled dimensions,quick presets and local history were removed;the density and its source are now required. Outputs describe theoretical nominal geometry and no longer imply actual procurement or lifting weight.<\/p><\/section>\n<footer class=\"mp-footer\">\u00a92024\u20132026 <a href=\"https:\/\/vibromera.eu\/\">Vibromera<\/a> \u00b7 Scientific review July2026<\/footer><\/div>\n<script>(function(){'use strict';function $(id){return document.getElementById(id)}var INMM=25.4,LBKG=0.45359237,DENUS=LBKG\/Math.pow(.0254,3),SHAPES={round:{label:'solid round',ids:['mp-d'],area:function(v){return Math.PI*v[0]*v[0]\/4}},pipe:{label:'hollow round',ids:['mp-od','mp-wall'],area:function(v){return Math.PI*(v[0]*v[0]-Math.pow(v[0]-2*v[1],2))\/4},valid:function(v){return v[1]<v[0]\/2}},flat:{label:'rectangle\/flat',ids:['mp-width','mp-thick'],area:function(v){return v[0]*v[1]}},square:{label:'solid square',ids:['mp-side'],area:function(v){return v[0]*v[0]}},hex:{label:'regular hex by across-flats',ids:['mp-af'],area:function(v){return Math.sqrt(3)*v[0]*v[0]\/2}},angle:{label:'sharp unequal angle',ids:['mp-a','mp-b','mp-ta','mp-tb'],area:function(v){return v[0]*v[2]+(v[1]-v[2])*v[3]},valid:function(v){return v[2]<v[1]&&v[3]<v[0]}},channel:{label:'sharp channel',ids:['mp-h','mp-bf','mp-tw','mp-tf'],area:function(v){return v[0]*v[2]+2*(v[1]-v[2])*v[3]},valid:function(v){return v[2]<v[1]&&2*v[3]<v[0]}}};function num(s){s=String(s).trim();if(!s||s.includes('.')&&s.includes(',')||!\/^[+]?(?:\\d+(?:[.,]\\d*)?|[.,]\\d+)(?:[eE][+-]?\\d+)?$\/.test(s))return NaN;var n=Number(s.replace(',','.'));return Number.isFinite(n)&&n<=1e100?n:NaN}function fmt(n){if(n===0)return'0';var a=Math.abs(n);return a>=1e12||a<1e-8?n.toExponential(9):Number(n.toPrecision(10)).toLocaleString('en-US',{maximumFractionDigits:20})}function clear(){['mp-r-kg','mp-r-lb','mp-r-kgm','mp-r-lbft','mp-r-area','mp-r-area-si','mp-r-volume','mp-r-volume-si','mp-r-density','mp-r-density-si','mp-r-shape','mp-summary'].forEach(function(id){$(id).textContent='\u2014'});$('mp-results').hidden=true;$('mp-results').dataset.json=''}function fail(m){clear();$('mp-error').textContent=m}function fields(shape){document.querySelectorAll('.mp-dim').forEach(function(el){el.hidden=el.getAttribute('data-shape')!==shape})}function units(u){var lu=u==='us'?'in':u==='si'?'mm':'unit';document.querySelectorAll('.mp-lu').forEach(function(el){el.textContent=lu});$('mp-du').textContent=u==='us'?'lb\/in\u00b3':u==='si'?'kg\/m\u00b3':'unit'}function calc(){var u=$('mp-units').value,shape=$('mp-shape').value,source=$('mp-source').value.trim(),lengthRaw=$('mp-length').value,densityRaw=$('mp-density').value;fields(shape);units(u);var started=u||shape||source||lengthRaw.trim()||densityRaw.trim();Object.keys(SHAPES).forEach(function(k){SHAPES[k].ids.forEach(function(id){if($(id).value.trim())started=true})});if(!started){$('mp-error').textContent='';clear();return}if(!['si','us'].includes(u)||!SHAPES[shape]||!source){fail('Select units and an ideal profile,and document the drawing,material and density source.');return}var length=num(lengthRaw),densityInput=num(densityRaw),def=SHAPES[shape],raw=def.ids.map(function(id){return num($(id).value)});if(!Number.isFinite(length)||!Number.isFinite(densityInput)||!raw.every(Number.isFinite)){fail('Enter every required dimension,length and density as one complete finite positive number.');return}if(!(length>0&&densityInput>0&&raw.every(function(x){return x>0}))){fail('Length,density and every required profile dimension must be positive.');return}if(def.valid&&!def.valid(raw)){fail('The dimensions violate the selected ideal profile:check wall versus OD,leg thicknesses,or web\/flange overlap.');return}var lf=u==='us'?INMM:1,vals=raw.map(function(x){return x*lf}),lengthMm=length*lf,density=u==='us'?densityInput*DENUS:densityInput,area=def.area(vals),volume=area*lengthMm,massKg=volume*density\/1e9,massLb=massKg\/LBKG,kgm=area*density\/1e6,lbft=kgm*.3048\/LBKG;if(![area,volume,massKg,massLb,kgm,lbft,density].every(Number.isFinite)||!(area>0&&volume>0&&massKg>0)){fail('The result exceeds the supported numerical range.');return}var areaOut=u==='us'?area\/(INMM*INMM):area,volumeOut=u==='us'?volume\/Math.pow(INMM,3):volume,densityOut=u==='us'?density\/DENUS:density,lu=u==='us'?'in':'mm';$('mp-error').textContent='';$('mp-r-kg').textContent=fmt(massKg)+' kg';$('mp-r-lb').textContent=fmt(massLb)+' lb av';$('mp-r-kgm').textContent=fmt(kgm)+' kg\/m';$('mp-r-lbft').textContent=fmt(lbft)+' lb av\/ft';$('mp-r-area').textContent=fmt(areaOut)+' '+lu+'\u00b2';$('mp-r-area-si').textContent=fmt(area)+' mm\u00b2 internal value';$('mp-r-volume').textContent=fmt(volumeOut)+' '+lu+'\u00b3';$('mp-r-volume-si').textContent=fmt(volume\/1000)+' cm\u00b3 internal value';$('mp-r-density').textContent=fmt(densityOut)+' '+(u==='us'?'lb\/in\u00b3':'kg\/m\u00b3');$('mp-r-density-si').textContent=fmt(density)+' kg\/m\u00b3 internal value';$('mp-r-shape').textContent=def.label;$('mp-summary').textContent='Nominal ideal geometry;documented density;theoretical mass only.';$('mp-results').dataset.json=JSON.stringify({shape:shape,input_system:u,area_mm2:area,volume_mm3:volume,density_kg_m3:density,mass_kg:massKg,mass_lb_avoirdupois:massLb,mass_per_m_kg:kgm,mass_per_ft_lb_avoirdupois:lbft});$('mp-results').hidden=false}$('mp-form').addEventListener('input',calc);$('mp-form').addEventListener('change',calc);calc()})();<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Kalkulator berat logam online gratis. Hitung berat batang bulat, pipa, batang pipih, batang persegi, batang segi enam, sudut (profil L), dan kanal (profil U) dalam baja, baja tahan karat, aluminium, tembaga, kuningan, titanium.<\/p>","protected":false},"featured_media":0,"template":"","meta":{"ai_generated_summary":"","footnotes":""},"categories":[],"tags":[],"class_list":["post-100152","calculator","type-calculator","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/vibromera.eu\/id\/wp-json\/wp\/v2\/calculator\/100152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vibromera.eu\/id\/wp-json\/wp\/v2\/calculator"}],"about":[{"href":"https:\/\/vibromera.eu\/id\/wp-json\/wp\/v2\/types\/calculator"}],"version-history":[{"count":3,"href":"https:\/\/vibromera.eu\/id\/wp-json\/wp\/v2\/calculator\/100152\/revisions"}],"predecessor-version":[{"id":102489,"href":"https:\/\/vibromera.eu\/id\/wp-json\/wp\/v2\/calculator\/100152\/revisions\/102489"}],"wp:attachment":[{"href":"https:\/\/vibromera.eu\/id\/wp-json\/wp\/v2\/media?parent=100152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vibromera.eu\/id\/wp-json\/wp\/v2\/categories?post=100152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vibromera.eu\/id\/wp-json\/wp\/v2\/tags?post=100152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}