{"id":100229,"date":"2026-02-15T20:28:28","date_gmt":"2026-02-15T20:28:28","guid":{"rendered":"https:\/\/vibromera.eu\/?post_type=calculator&#038;p=100229"},"modified":"2026-07-15T12:48:56","modified_gmt":"2026-07-15T12:48:56","slug":"socket-head-cap-screw-iso4762","status":"publish","type":"calculator","link":"https:\/\/vibromera.eu\/pt\/calculators\/socket-head-cap-screw-iso4762\/","title":{"rendered":"Socket-Head Screw Envelope Margin Worksheet"},"content":{"rendered":"<p><script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"WebApplication\",\"name\":\"Controlled Socket-Head Screw Envelope Margin Worksheet\",\"description\":\"Compare controlled maximum screw-head dimensions with controlled minimum counterbore dimensions. No embedded ISO 4762 table, mass estimate, fit verdict or strength claim.\",\"url\":\"https:\/\/vibromera.eu\/calculators\/socket-head-cap-screw-iso4762\/\",\"applicationCategory\":\"EngineeringApplication\",\"operatingSystem\":\"Any\",\"isAccessibleForFree\":true,\"inLanguage\":\"en\"}<\/script><\/p>\n<style>\n.vbm229{--ink:#172235;--muted:#556276;--line:#d8e0e9;--soft:#f4f7fa;--blue:#135ca8;--blue2:#0d447e;--amber:#8a5700;--amber-bg:#fff7df;--red:#a52828;--red-bg:#fff0f0;--green:#17613a;--green-bg:#edf9f1;max-width:1040px;margin:0 auto;padding:18px 14px 44px;color:var(--ink);font:15px\/1.55 system-ui,-apple-system,\"Segoe UI\",sans-serif}.vbm229 *{box-sizing:border-box}.vbm229 h1,.vbm229 h2,.vbm229 h3{line-height:1.2}.vbm229 h1{font-size:clamp(27px,4vw,42px);margin:8px 0 12px}.vbm229 h2{font-size:22px;margin:0 0 16px}.vbm229 h3{font-size:17px;margin:22px 0 8px}.vbm229 p{margin:8px 0}.vbm229 a{color:var(--blue)}.vbm229-header{text-align:center;padding:32px 18px 26px}.vbm229-kicker{color:var(--blue);font-weight:750;text-transform:uppercase;letter-spacing:.11em;font-size:12px}.vbm229-lead{max-width:850px;margin:0 auto!important;color:var(--muted);font-size:17px}.vbm229-badges{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:18px}.vbm229-badge{border:1px solid var(--line);border-radius:999px;padding:5px 10px;background:#fff;font-size:12px;font-weight:700}.vbm229-notice{border-left:4px solid var(--amber);background:var(--amber-bg);padding:14px 16px;border-radius:8px;margin:0 0 20px}.vbm229-card{border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 4px 18px rgba(20,45,75,.07);padding:22px;margin:18px 0}.vbm229-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.vbm229-field{min-width:0}.vbm229-field.full{grid-column:1\/-1}.vbm229 label{display:block;font-weight:720;margin-bottom:5px}.vbm229-hint{display:block;color:var(--muted);font-weight:400;font-size:12px}.vbm229 input[type=text],.vbm229 select,.vbm229 textarea{width:100%;min-height:44px;border:1px solid #aebac8;border-radius:8px;background:#fff;color:var(--ink);font:inherit;padding:9px 11px}.vbm229 textarea{min-height:90px;resize:vertical}.vbm229 input:focus,.vbm229 select:focus,.vbm229 textarea:focus{outline:3px solid rgba(19,92,168,.18);border-color:var(--blue)}.vbm229-inline{display:grid;grid-template-columns:minmax(0,1fr) 125px;gap:8px}.vbm229-checks{display:grid;gap:10px;margin:18px 0}.vbm229-check{display:grid!important;grid-template-columns:auto 1fr;gap:9px;align-items:start;font-weight:500!important}.vbm229-check input{margin-top:4px}.vbm229-actions{display:flex;gap:10px;flex-wrap:wrap}.vbm229 button{border:0;border-radius:9px;padding:11px 17px;font:inherit;font-weight:760;cursor:pointer}.vbm229-primary{background:var(--blue);color:#fff}.vbm229-primary:hover{background:var(--blue2)}.vbm229-secondary{background:#e8eef5;color:var(--ink)}.vbm229-error{display:none;margin-top:14px;padding:11px 13px;border:1px solid #edb5b5;border-radius:8px;background:var(--red-bg);color:var(--red);font-weight:650}.vbm229-error.show{display:block}.vbm229-results{display:none}.vbm229-results.show{display:block}.vbm229-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.vbm229-result{border:1px solid var(--line);border-radius:10px;background:var(--soft);padding:13px}.vbm229-result.primary{border-color:#7dacda;background:#eef6ff}.vbm229-result-label{color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.vbm229-result-value{font:700 18px\/1.35 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;margin-top:4px}.vbm229-result.primary .vbm229-result-value{font-size:22px;color:var(--blue2)}.vbm229-status{margin-top:14px;border-left:4px solid var(--green);background:var(--green-bg);padding:12px 14px}.vbm229-formula{overflow-x:auto;border:1px solid var(--line);border-radius:9px;background:var(--soft);padding:12px 14px;margin:10px 0;font:600 14px\/1.7 ui-monospace,SFMono-Regular,Consolas,monospace}.vbm229 table{width:100%;border-collapse:collapse;margin:12px 0}.vbm229 th,.vbm229 td{border:1px solid var(--line);padding:9px 10px;text-align:left;vertical-align:top}.vbm229 th{background:#eaf0f6}.vbm229 ul{padding-left:22px}.vbm229 details{border-top:1px solid var(--line);padding:11px 0}.vbm229 summary{cursor:pointer;font-weight:760}.vbm229-small{font-size:13px;color:var(--muted)}\n@media(max-width:700px){.vbm229{padding-left:10px;padding-right:10px}.vbm229-card{padding:16px}.vbm229-grid,.vbm229-result-grid{grid-template-columns:1fr}.vbm229-field.full{grid-column:auto}.vbm229 table{display:block;overflow-x:auto}.vbm229-inline{grid-template-columns:minmax(0,1fr) 105px}}\n<\/style>\n<p><main class=\"vbm229\"><\/p>\n<header class=\"vbm229-header\">\n<p class=\"vbm229-kicker\">Controlled maximum product envelope \u00b7 controlled minimum feature envelope<\/p>\n<h1>Socket-Head Screw Envelope Margin Worksheet<\/h1>\n<p class=\"vbm229-lead\">Compare documented maximum head dimensions with documented minimum counterbore dimensions while keeping standards, tolerances, material and drawing provenance visible.<\/p>\n<div class=\"vbm229-badges\"><span class=\"vbm229-badge\">No invented ISO table<\/span><span class=\"vbm229-badge\">Signed dimensional margins<\/span><span class=\"vbm229-badge\">No fit or strength verdict<\/span><\/div>\n<\/header>\n<div class=\"vbm229-notice\"><strong>Arithmetic only\u2014not a fastener selection, machining tolerance or assembly acceptance tool.<\/strong> Enter limit dimensions from the licensed current product standard\/manufacturer certificate and the controlled drawing\/process capability. The worksheet does not provide ISO 4762 dimensions, choose a property class, calculate mass\/torque\/strength, specify a counterbore or authorize manufacture.<\/div>\n<form id=\"vbm229-form\" class=\"vbm229-card\" autocomplete=\"off\" novalidate>\n<h2>Controlled product and feature limits<\/h2>\n<div class=\"vbm229-grid\">\n<div class=\"vbm229-field\"><label for=\"vbm229-dk\">Maximum screw-head diameter d<sub>k,max<\/sub><\/label><\/p>\n<div class=\"vbm229-inline\"><input id=\"vbm229-dk\" type=\"text\" inputmode=\"decimal\" placeholder=\"e.g. 13\"><select id=\"vbm229-unit\" aria-label=\"Dimension unit\"><option value=\"mm\">mm<\/option><option value=\"in\">in<\/option><\/select><\/div>\n<\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-k\">Maximum screw-head height k<sub>max<\/sub><\/label><input id=\"vbm229-k\" type=\"text\" inputmode=\"decimal\" placeholder=\"e.g. 8\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-bore\">Minimum finished counterbore diameter D<sub>min<\/sub><\/label><input id=\"vbm229-bore\" type=\"text\" inputmode=\"decimal\" placeholder=\"e.g. 14\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-depth\">Minimum finished counterbore depth H<sub>min<\/sub><\/label><input id=\"vbm229-depth\" type=\"text\" inputmode=\"decimal\" placeholder=\"e.g. 9\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-project\">Project \/ controlled drawing ID<\/label><input id=\"vbm229-project\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-fastener\">Fastener designation \/ item ID<\/label><input id=\"vbm229-fastener\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-source\">Product dimension source \/ certificate<\/label><input id=\"vbm229-source\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-edition\">Standard edition \/ status \/ correction record<\/label><input id=\"vbm229-edition\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-clause\">Verified table \/ clause \/ manufacturer row<\/label><input id=\"vbm229-clause\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-thread\">Thread size, pitch and tolerance class<\/label><input id=\"vbm229-thread\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-length\">Length and thread-length configuration<\/label><input id=\"vbm229-length\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-product-grade\">Product grade and dimensional tolerance basis<\/label><input id=\"vbm229-product-grade\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-material\">Material specification<\/label><input id=\"vbm229-material\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-property-class\">Verified property class \/ marking<\/label><input id=\"vbm229-property-class\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-coating\">Coating \/ finish \/ added-layer allowance<\/label><input id=\"vbm229-coating\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-drive\">Hex socket size \/ tool-access record<\/label><input id=\"vbm229-drive\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-feature\">Counterbore GD&amp;T \/ datum \/ minimum limits<\/label><input id=\"vbm229-feature\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-chain\">Tolerance-chain \/ thermal \/ assembly allowance<\/label><input id=\"vbm229-chain\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-process\">Manufacturing and inspection capability<\/label><input id=\"vbm229-process\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-prepared\">Prepared \/ reviewed by<\/label><input id=\"vbm229-prepared\" type=\"text\" placeholder=\"required\"><\/div>\n<div class=\"vbm229-field\"><label for=\"vbm229-date\">Record date<\/label><input id=\"vbm229-date\" type=\"text\" placeholder=\"YYYY-MM-DD\"><\/div>\n<div class=\"vbm229-field full\"><label for=\"vbm229-notes\">Notes and exclusions <span class=\"vbm229-hint\">Optional: head fillet\/chamfer, bearing face, washer, socket tool clearance, plating buildup, coaxiality, burrs, measurement uncertainty<\/span><\/label><textarea id=\"vbm229-notes\"><\/textarea><\/div>\n<\/p><\/div>\n<div class=\"vbm229-checks\">\n   <label class=\"vbm229-check\"><input type=\"checkbox\" id=\"vbm229-c1\"><span>The screw limits come from the exact licensed\/current standard edition or controlled manufacturer record for this material, property class, coating, size and configuration\u2014not from the former webpage table.<\/span><\/label><br \/>\n   <label class=\"vbm229-check\"><input type=\"checkbox\" id=\"vbm229-c2\"><span>The counterbore inputs are controlled minimum finished-feature limits including drawing tolerances and process effects; they are not a nominal \u201cd<sub>k<\/sub> + 1 mm\u201d guess.<\/span><\/label><br \/>\n   <label class=\"vbm229-check\"><input type=\"checkbox\" id=\"vbm229-c3\"><span>Fillets, chamfers, bearing face, washer\/tool access, coaxiality, coating buildup, thermal effects and the complete tolerance chain are checked separately.<\/span><\/label><br \/>\n   <label class=\"vbm229-check\"><input type=\"checkbox\" id=\"vbm229-c4\"><span>Signed margins are arithmetic evidence only; the controlled design authority owns fit, strength, torque, fatigue, manufacture and acceptance decisions.<\/span><\/label>\n  <\/div>\n<div class=\"vbm229-actions\"><button type=\"submit\" class=\"vbm229-primary\">Compute documented margins<\/button><button type=\"button\" class=\"vbm229-secondary\" id=\"vbm229-clear\">Clear<\/button><\/div>\n<div id=\"vbm229-error\" class=\"vbm229-error\" role=\"alert\"><\/div>\n<\/p><\/form>\n<section id=\"vbm229-results\" class=\"vbm229-card vbm229-results\" aria-live=\"polite\">\n<h2>Signed envelope margins<\/h2>\n<div class=\"vbm229-result-grid\">\n<div class=\"vbm229-result primary\">\n<div class=\"vbm229-result-label\">Diametral margin Dmin \u2212 dk,max<\/div>\n<div class=\"vbm229-result-value\" id=\"vbm229-r-diametral\">\u2014<\/div>\n<\/div>\n<div class=\"vbm229-result\">\n<div class=\"vbm229-result-label\">Nominal radial margin<\/div>\n<div class=\"vbm229-result-value\" id=\"vbm229-r-radial\">\u2014<\/div>\n<\/div>\n<div class=\"vbm229-result primary\">\n<div class=\"vbm229-result-label\">Depth margin Hmin \u2212 kmax<\/div>\n<div class=\"vbm229-result-value\" id=\"vbm229-r-depth\">\u2014<\/div>\n<\/div>\n<div class=\"vbm229-result\">\n<div class=\"vbm229-result-label\">Normalized head envelope<\/div>\n<div class=\"vbm229-result-value\" id=\"vbm229-r-head\">\u2014<\/div>\n<\/div>\n<div class=\"vbm229-result\">\n<div class=\"vbm229-result-label\">Normalized counterbore envelope<\/div>\n<div class=\"vbm229-result-value\" id=\"vbm229-r-bore\">\u2014<\/div>\n<\/div>\n<div class=\"vbm229-result\">\n<div class=\"vbm229-result-label\">Input unit<\/div>\n<div class=\"vbm229-result-value\" id=\"vbm229-r-unit\">\u2014<\/div>\n<\/div><\/div>\n<div class=\"vbm229-status\" id=\"vbm229-r-status\"><\/div>\n<\/section>\n<section class=\"vbm229-card\">\n<h2>Equation, units and classification<\/h2>\n<div class=\"vbm229-formula\">C<sub>d<\/sub> = D<sub>min<\/sub> \u2212 d<sub>k,max<\/sub><br \/>C<sub>r<\/sub> = C<sub>d<\/sub> \/ 2<br \/>C<sub>h<\/sub> = H<sub>min<\/sub> \u2212 k<sub>max<\/sub><\/div>\n<p>These are ordinary signed subtractions, <strong>not formulas specified by ISO 4762<\/strong>. Positive means the entered minimum feature exceeds the entered maximum rectangular\/cylindrical envelope in that one dimension; zero means equality; negative means overlap in that simplified envelope. None is a fit verdict. 1 in = 25.4 mm exactly.<\/p>\n<\/section>\n<section class=\"vbm229-card\">\n<h2>Model boundary and removed unsupported content<\/h2>\n<ul>\n<li><strong>No unlicensed ISO dimension table.<\/strong> The former M3\u2013M36 nominal values were labelled ISO 4762 without edition, tolerances, limit status or a verified table. Exact limits are now controlled inputs and remain <strong>NEEDS_LICENSED_SOURCE<\/strong>.<\/li>\n<li><strong>No false mass model.<\/strong> The former mass treated the head and shank as solid cylinders and ignored the socket recess, threads, chamfers, fillets, under-head geometry, thread length, tolerance, material\/coating and manufacturer mass data.<\/li>\n<li><strong>No universal counterbore d<sub>k<\/sub> + 1 mm.<\/strong> ISO 4762 is a product standard; ISO 273 tabulates general-purpose clearance through holes, not an automatic counterbore design. Feature size is controlled by the drawing and tolerance chain.<\/li>\n<li><strong>No mandatory property class 12.9 claim.<\/strong> ISO 4762 defines product characteristics; official Bossard examples sold to ISO 4762 exist in both property classes 8.8 and 12.9. Material\/class\/marking must be verified for the actual item.<\/li>\n<li><strong>No claim that ISO 4762 and DIN 912 are identical.<\/strong> Bossard identifies DIN 912 as withdrawn. Interchangeability and tolerances require the exact controlled documents.<\/li>\n<li><strong>No strength\/torque selection.<\/strong> ISO 898-1:2013 covers specified carbon\/alloy-steel property classes within scope but explicitly does not specify corrosion, shear, torque\/clamp-force performance or fatigue resistance.<\/li>\n<\/ul>\n<\/section>\n<section class=\"vbm229-card\">\n<h2>Source traceability<\/h2>\n<table>\n<thead>\n<tr>\n<th>Claim<\/th>\n<th>Classification<\/th>\n<th>Evidence<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>ISO 4762:2004 Edition 4 covers coarse-pitch hexagon socket head cap screws M1.6\u2013M64, product grade A.<\/td>\n<td>Official ISO public status\/scope<\/td>\n<td><a href=\"https:\/\/www.iso.org\/standard\/34460.html\" target=\"_blank\" rel=\"noopener\">ISO 4762:2004<\/a>; published, confirmed 2023; French corrected version 2024-08<\/td>\n<\/tr>\n<tr>\n<td>ISO 273:1979 covers fine\/medium\/coarse general-purpose clearance-hole series; special holes depend on design requirements.<\/td>\n<td>Official ISO public status\/scope<\/td>\n<td><a href=\"https:\/\/www.iso.org\/standard\/4183.html\" target=\"_blank\" rel=\"noopener\">ISO 273:1979<\/a>; confirmed 2024<\/td>\n<\/tr>\n<tr>\n<td>ISO 898-1:2013 covers mechanical\/physical properties of in-scope carbon\/alloy-steel fasteners at 10\u201335 \u00b0C but not corrosion, shear, torque\/clamp-force performance or fatigue.<\/td>\n<td>Official ISO public scope\/exclusions<\/td>\n<td><a href=\"https:\/\/www.iso.org\/standard\/60610.html\" target=\"_blank\" rel=\"noopener\">ISO 898-1:2013 Edition 5<\/a>; published, confirmed 2025, stage 90.92 to be revised<\/td>\n<\/tr>\n<tr>\n<td>DIN 912 is withdrawn and commercial ISO 4762 products are offered in more than one property class.<\/td>\n<td>Official manufacturer product records<\/td>\n<td>Bossard <a href=\"https:\/\/www.bossard.com\/us-en\/eshop\/screws-and-bolts-with-internal-drive\/hex-socket-head-cap-screws-fully-threaded\/p\/3\/\" target=\"_blank\" rel=\"noopener\">BN 3, class 8.8<\/a> and <a href=\"https:\/\/www.bossard.com\/ie-en\/eshop\/screws-and-bolts-with-internal-drive\/hex-socket-head-cap-screws-fully-threaded\/p\/7\/\" target=\"_blank\" rel=\"noopener\">BN 7, class 12.9<\/a><\/td>\n<\/tr>\n<tr>\n<td>Cd=Dmin\u2212dk,max; Cr=Cd\/2; Ch=Hmin\u2212kmax<\/td>\n<td>General arithmetic; not ISO formulas<\/td>\n<td>Direct dimensional-envelope subtraction shown above<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"vbm229-small\"><strong>Accessed:<\/strong> 15 July 2026. Public pages establish status\/scope\/exclusions and manufacturer examples\u2014not the full licensed ISO 4762 dimension\/tolerance table or a design decision.<\/p>\n<\/section>\n<section class=\"vbm229-card\">\n<h2>Arithmetic reference example<\/h2>\n<p>For d<sub>k,max<\/sub> = 13.0 mm, k<sub>max<\/sub> = 8.0 mm, D<sub>min<\/sub> = 14.0 mm and H<sub>min<\/sub> = 9.0 mm: C<sub>d<\/sub> = 1.0 mm, C<sub>r<\/sub> = 0.5 mm and C<sub>h<\/sub> = 1.0 mm. These input values are an arithmetic benchmark only, not asserted ISO limits or a recommended counterbore.<\/p>\n<\/section>\n<section class=\"vbm229-card\">\n<h2>Questions<\/h2>\n<details>\n<summary>Where is the ISO 4762 size table?<\/summary>\n<p>The exact table is licensed and was not independently verified from a controlled copy, so it is not reproduced or guessed.<\/p>\n<\/details>\n<details>\n<summary>Does a positive margin prove assembly?<\/summary>\n<p>No. The simplified envelope omits many geometry, tolerance, process and functional requirements listed above.<\/p>\n<\/details>\n<details>\n<summary>Are all ISO 4762 screws class 12.9?<\/summary>\n<p>No universal class is inferred here. Verify the actual material specification, property class, marking and certificate.<\/p>\n<\/details>\n<\/section>\n<p><\/main><br \/>\n<script>\n(function(){'use strict';\nvar form=document.getElementById('vbm229-form'),error=document.getElementById('vbm229-error'),results=document.getElementById('vbm229-results');\nfunction parseDecimal(value,label){var s=String(value==null?'':value).trim();if(!\/^[+]?(?:\\d+(?:[.,]\\d*)?|[.,]\\d+)$\/.test(s))throw new Error(label+' must be one positive plain decimal using a point or comma.');var n=Number(s.replace(',','.'));if(!Number.isFinite(n))throw new Error(label+' is outside the finite numeric range.');return n}\nfunction requiredText(id,label){var value=document.getElementById(id).value.trim();if(!value)throw new Error(label+' is required.');return value}\nfunction calculate(values){if(!['mm','in'].includes(values.unit))throw new Error('Select a valid dimension unit.');var dk=parseDecimal(values.dk,'Maximum screw-head diameter'),k=parseDecimal(values.k,'Maximum screw-head height'),bore=parseDecimal(values.bore,'Minimum counterbore diameter'),depth=parseDecimal(values.depth,'Minimum counterbore depth');if(!(dk>0&&k>0&&bore>0&&depth>0))throw new Error('All four controlled dimensions must be greater than zero.');var f=values.unit==='mm'?1:25.4;dk*=f;k*=f;bore*=f;depth*=f;var diametral=bore-dk,radial=diametral\/2,depthMargin=depth-k,out=[dk,k,bore,depth,diametral,radial,depthMargin];if(!out.every(Number.isFinite))throw new Error('The dimensional-envelope result is outside the finite numeric range.');return{dk:dk,k:k,bore:bore,depth:depth,diametral:diametral,radial:radial,depthMargin:depthMargin}}\nfunction fmt(n){if(!Number.isFinite(n))return'\u2014';if(Object.is(n,-0)||n===0)return'0';var a=Math.abs(n);return(a>=1e8||a<1e-6?n.toExponential(7):n.toPrecision(9)).replace(\/(\\.\\d*?[1-9])0+(e|$)\/,'$1$2').replace(\/\\.0+(e|$)\/,'$1')}\nfunction signed(n){return n>0?'+'+fmt(n):fmt(n)}function length(mm,s){return(s?signed(mm):fmt(mm))+' mm \u00b7 '+(s?signed(mm\/25.4):fmt(mm\/25.4))+' in'}function setText(id,text){document.getElementById(id).textContent=text}\nfunction render(r){setText('vbm229-r-diametral',length(r.diametral,true));setText('vbm229-r-radial',length(r.radial,true));setText('vbm229-r-depth',length(r.depthMargin,true));setText('vbm229-r-head','dk,max '+length(r.dk,false)+' \/ kmax '+length(r.k,false));setText('vbm229-r-bore','Dmin '+length(r.bore,false)+' \/ Hmin '+length(r.depth,false));setText('vbm229-r-unit',document.getElementById('vbm229-unit').value);setText('vbm229-r-status','Signed rectangular\/cylindrical-envelope arithmetic only. No ISO dimension, counterbore recommendation, tolerance-chain closure, fit, mass, strength, torque or acceptance verdict has been generated. Project: '+requiredText('vbm229-project','Project \/ controlled drawing ID')+'; fastener: '+requiredText('vbm229-fastener','Fastener designation \/ item ID')+'.');results.classList.add('show')}\nfunction setError(m){error.textContent=m;error.classList.add('show');results.classList.remove('show')}function clearError(){error.textContent='';error.classList.remove('show')}\nform.addEventListener('submit',function(e){e.preventDefault();clearError();try{['vbm229-project','vbm229-fastener','vbm229-source','vbm229-edition','vbm229-clause','vbm229-thread','vbm229-length','vbm229-product-grade','vbm229-material','vbm229-property-class','vbm229-coating','vbm229-drive','vbm229-feature','vbm229-chain','vbm229-process','vbm229-prepared','vbm229-date'].forEach(function(id){requiredText(id,document.querySelector('label[for=\"'+id+'\"]').textContent.trim())});['vbm229-c1','vbm229-c2','vbm229-c3','vbm229-c4'].forEach(function(id){if(!document.getElementById(id).checked)throw new Error('Confirm all four controlled-source and use statements.')});render(calculate({dk:document.getElementById('vbm229-dk').value,k:document.getElementById('vbm229-k').value,bore:document.getElementById('vbm229-bore').value,depth:document.getElementById('vbm229-depth').value,unit:document.getElementById('vbm229-unit').value}))}catch(ex){setError(ex.message||'Unable to compute dimensional margins.')}});\nform.addEventListener('keydown',function(e){if(e.key==='Enter'&&e.target.tagName!=='TEXTAREA'&&e.target.tagName!=='BUTTON'){e.preventDefault();form.requestSubmit()}});document.getElementById('vbm229-clear').addEventListener('click',function(){form.reset();form.querySelectorAll('input[type=text],textarea').forEach(function(el){el.value=''});results.classList.remove('show');clearError();document.getElementById('vbm229-dk').focus()});form.querySelectorAll('input,select,textarea').forEach(function(el){el.addEventListener('input',function(){results.classList.remove('show');clearError()})});\n})();\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Compare controlled maximum screw-head dimensions with controlled minimum counterbore dimensions without an invented ISO table, mass model, fit or strength verdict.<\/p>","protected":false},"featured_media":0,"template":"","meta":{"ai_generated_summary":"","footnotes":""},"categories":[],"tags":[],"class_list":["post-100229","calculator","type-calculator","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/vibromera.eu\/pt\/wp-json\/wp\/v2\/calculator\/100229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vibromera.eu\/pt\/wp-json\/wp\/v2\/calculator"}],"about":[{"href":"https:\/\/vibromera.eu\/pt\/wp-json\/wp\/v2\/types\/calculator"}],"version-history":[{"count":2,"href":"https:\/\/vibromera.eu\/pt\/wp-json\/wp\/v2\/calculator\/100229\/revisions"}],"predecessor-version":[{"id":102575,"href":"https:\/\/vibromera.eu\/pt\/wp-json\/wp\/v2\/calculator\/100229\/revisions\/102575"}],"wp:attachment":[{"href":"https:\/\/vibromera.eu\/pt\/wp-json\/wp\/v2\/media?parent=100229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vibromera.eu\/pt\/wp-json\/wp\/v2\/categories?post=100229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vibromera.eu\/pt\/wp-json\/wp\/v2\/tags?post=100229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}