{"id":100243,"date":"2026-02-15T20:29:20","date_gmt":"2026-02-15T20:29:20","guid":{"rendered":"https:\/\/vibromera.eu\/?post_type=calculator&#038;p=100243"},"modified":"2026-07-15T15:47:26","modified_gmt":"2026-07-15T15:47:26","slug":"steel-grade-equivalent","status":"publish","type":"calculator","link":"https:\/\/vibromera.eu\/ms\/calculators\/steel-grade-equivalent\/","title":{"rendered":"Steel Carbon-Equivalent Formula Worksheet"},"content":{"rendered":"<div class=\"vbm243\">\n<style>\n.vbm243{--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}.vbm243 *{box-sizing:border-box}.vbm243 h1,.vbm243 h2,.vbm243 h3{line-height:1.2}.vbm243 h1{font-size:clamp(27px,4vw,42px);margin:8px 0 12px}.vbm243 h2{font-size:22px;margin:0 0 16px}.vbm243 p{margin:8px 0}.vbm243 a{color:var(--blue)}.vbm243-header{text-align:center;padding:32px 18px 26px}.vbm243-kicker{color:var(--blue);font-weight:750;text-transform:uppercase;letter-spacing:.11em;font-size:12px}.vbm243-lead{max-width:850px;margin:0 auto!important;color:var(--muted);font-size:17px}.vbm243-badges{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:18px}.vbm243-badge{border:1px solid var(--line);border-radius:999px;padding:5px 10px;background:#fff;font-size:12px;font-weight:700}.vbm243-notice{border-left:4px solid var(--amber);background:var(--amber-bg);padding:14px 16px;border-radius:8px;margin:0 0 20px}.vbm243-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}.vbm243-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.vbm243-field{min-width:0}.vbm243-field.full{grid-column:1\/-1}.vbm243 label{display:block;font-weight:720;margin-bottom:5px}.vbm243-hint{display:block;color:var(--muted);font-weight:400;font-size:12px}.vbm243 input[type=text],.vbm243 select,.vbm243 textarea{width:100%;min-height:44px;border:1px solid #aebac8;border-radius:8px;background:#fff;color:var(--ink);font:inherit;padding:9px 11px}.vbm243 textarea{min-height:88px;resize:vertical}.vbm243 input:focus,.vbm243 select:focus,.vbm243 textarea:focus{outline:3px solid rgba(19,92,168,.18);border-color:var(--blue)}.vbm243-checks{display:grid;gap:10px;margin:18px 0}.vbm243-check{display:grid!important;grid-template-columns:auto 1fr;gap:9px;align-items:start;font-weight:500!important}.vbm243-check input{margin-top:4px}.vbm243-actions{display:flex;gap:10px;flex-wrap:wrap}.vbm243 button{border:0;border-radius:9px;padding:11px 17px;font:inherit;font-weight:760;cursor:pointer}.vbm243-primary{background:var(--blue);color:#fff}.vbm243-primary:hover{background:var(--blue2)}.vbm243-secondary{background:#e8eef5;color:var(--ink)}.vbm243-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}.vbm243-error.show{display:block}.vbm243-results{display:none}.vbm243-results.show{display:block}.vbm243-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.vbm243-result{border:1px solid var(--line);border-radius:10px;background:var(--soft);padding:13px}.vbm243-result.primary{border-color:#7dacda;background:#eef6ff}.vbm243-result-label{color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.vbm243-result-value{font:700 17px\/1.35 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;margin-top:4px}.vbm243-result.primary .vbm243-result-value{font-size:22px;color:var(--blue2)}.vbm243-status{margin-top:14px;border-left:4px solid var(--green);background:var(--green-bg);padding:12px 14px}.vbm243-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}.vbm243 table{width:100%;border-collapse:collapse;margin:12px 0}.vbm243 th,.vbm243 td{border:1px solid var(--line);padding:9px 10px;text-align:left;vertical-align:top}.vbm243 th{background:#eaf0f6}.vbm243 ul{padding-left:22px}.vbm243 details{border-top:1px solid var(--line);padding:11px 0}.vbm243 summary{cursor:pointer;font-weight:760}.vbm243-small{font-size:13px;color:var(--muted)}.vbm243 .vbm243-result-grid{grid-template-columns:1fr 1fr!important}\n@media(max-width:700px){.vbm243{padding-left:10px;padding-right:10px}.vbm243-card{padding:16px}.vbm243-grid,.vbm243 .vbm243-result-grid{grid-template-columns:1fr!important}.vbm243-field.full{grid-column:auto}.vbm243 table{display:block;overflow-x:auto}}\n<\/style>\n<header class=\"vbm243-header\">\n<div class=\"vbm243-kicker\">controlled heat analysis \u00b7 two named equations \u00b7 no welding verdict<\/div>\n<h1>Steel Carbon-Equivalent Formula Worksheet<\/h1>\n<p class=\"vbm243-lead\">Calculate CE<sub>IIW<\/sub> and P<sub>cm<\/sub> from one documented chemical analysis. The governing material specification or welding code\u2014not this worksheet\u2014decides which equation and limits apply.<\/p>\n<div class=\"vbm243-badges\"><span class=\"vbm243-badge\">elements entered as mass %<\/span><span class=\"vbm243-badge\">B accepts mass % or ppm<\/span><span class=\"vbm243-badge\">dimensionless mass-% indices<\/span><\/div>\n<\/header>\n<div class=\"vbm243-notice\"><strong>Not a grade-equivalence, weldability, preheat or WPS selector.<\/strong> A carbon-equivalent index is a composition-characterising parameter. It does not by itself determine cracking risk, weldability, preheat, PWHT, mechanical properties or compliance.<\/div>\n<form id=\"vbm243-form\" class=\"vbm243-card\" novalidate>\n<h2>Documented chemical analysis and traceability<\/h2>\n<div class=\"vbm243-grid\">\n<div class=\"vbm243-field\"><label for=\"vbm243-c\">Carbon C (mass %)<span class=\"vbm243-hint\">required non-negative plain decimal<\/span><\/label><input id=\"vbm243-c\" type=\"text\" inputmode=\"decimal\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-si\">Silicon Si (mass %)<span class=\"vbm243-hint\">used by Pcm; CEIIW does not contain Si<\/span><\/label><input id=\"vbm243-si\" type=\"text\" inputmode=\"decimal\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-mn\">Manganese Mn (mass %)<\/label><input id=\"vbm243-mn\" type=\"text\" inputmode=\"decimal\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-cr\">Chromium Cr (mass %)<\/label><input id=\"vbm243-cr\" type=\"text\" inputmode=\"decimal\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-mo\">Molybdenum Mo (mass %)<\/label><input id=\"vbm243-mo\" type=\"text\" inputmode=\"decimal\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-v\">Vanadium V (mass %)<\/label><input id=\"vbm243-v\" type=\"text\" inputmode=\"decimal\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-ni\">Nickel Ni (mass %)<\/label><input id=\"vbm243-ni\" type=\"text\" inputmode=\"decimal\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-cu\">Copper Cu (mass %)<\/label><input id=\"vbm243-cu\" type=\"text\" inputmode=\"decimal\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-b\">Boron B value<span class=\"vbm243-hint\">Pcm includes 5B; enter the controlled reported value<\/span><\/label><input id=\"vbm243-b\" type=\"text\" inputmode=\"decimal\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-b-unit\">Boron B input unit<\/label><select id=\"vbm243-b-unit\"><option value=\"wt\">mass %<\/option><option value=\"ppm\">ppm by mass<\/option><\/select><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-record\">Calculation record ID<\/label><input id=\"vbm243-record\" type=\"text\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-material\">Material, heat and sample identifiers<\/label><input id=\"vbm243-material\" type=\"text\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-certificate\">Material test certificate \/ laboratory report and revision<\/label><input id=\"vbm243-certificate\" type=\"text\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-product\">Controlled product specification and grade<\/label><input id=\"vbm243-product\" type=\"text\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-product-form\">Product form, delivery condition and thickness<\/label><input id=\"vbm243-product-form\" type=\"text\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-analysis\">Analysis type, laboratory method and uncertainty<\/label><input id=\"vbm243-analysis\" type=\"text\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-basis\">Composition basis and unit confirmation<\/label><input id=\"vbm243-basis\" type=\"text\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-reporting\">Below-detection \/ less-than-value treatment<\/label><input id=\"vbm243-reporting\" type=\"text\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-formula-source\">Required equation source, edition and clause\/table record<\/label><input id=\"vbm243-formula-source\" type=\"text\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-governing\">Governing code, contract, WPS\/PQR or material requirement<\/label><input id=\"vbm243-governing\" type=\"text\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-person\">Responsible welding\/materials engineer \/ reviewer<\/label><input id=\"vbm243-person\" type=\"text\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field\"><label for=\"vbm243-date\">Review date<\/label><input id=\"vbm243-date\" type=\"text\" inputmode=\"numeric\" placeholder=\"YYYY-MM-DD\" autocomplete=\"off\"><\/div>\n<div class=\"vbm243-field full\"><label for=\"vbm243-notes\">Notes and exclusions<span class=\"vbm243-hint\">Optional: report qualifiers, sampling location, heat treatment, hydrogen, heat input, restraint and joint variables.<\/span><\/label><textarea id=\"vbm243-notes\"><\/textarea><\/div>\n<\/div>\n<div class=\"vbm243-checks\">\n <label class=\"vbm243-check\"><input id=\"vbm243-c1\" type=\"checkbox\"><span>All nine element values come from the same controlled heat\/sample analysis, use the stated mass basis, and every reported \u201cless than\u201d or below-detection value has a documented treatment.<\/span><\/label><br \/>\n <label class=\"vbm243-check\"><input id=\"vbm243-c2\" type=\"checkbox\"><span>The required carbon-equivalent equation and any permitted composition range were verified in the governing current specification; neither equation is assumed universal.<\/span><\/label><br \/>\n <label class=\"vbm243-check\"><input id=\"vbm243-c3\" type=\"checkbox\"><span>No EN\/AISI\/SAE\/DIN\/JIS grade equivalence, strength, hardness, toughness or delivery-condition property will be inferred from these indices.<\/span><\/label><br \/>\n <label class=\"vbm243-check\"><input id=\"vbm243-c4\" type=\"checkbox\"><span>No weldability, hydrogen-cracking risk, preheat, interpass, PWHT, WPS\/PQR or acceptance decision will be inferred from CEIIW or Pcm alone.<\/span><\/label>\n<\/div>\n<div class=\"vbm243-actions\"><button class=\"vbm243-primary\" type=\"submit\">Calculate documented indices<\/button><button class=\"vbm243-secondary\" id=\"vbm243-clear\" type=\"button\">Clear<\/button><\/div>\n<div id=\"vbm243-error\" class=\"vbm243-error\" role=\"alert\"><\/div>\n<\/form>\n<section id=\"vbm243-results\" class=\"vbm243-card vbm243-results\" aria-live=\"polite\">\n<h2>Composition indices<\/h2>\n<div class=\"vbm243-result-grid\">\n<div class=\"vbm243-result primary\">\n<div class=\"vbm243-result-label\">CEIIW<\/div>\n<div class=\"vbm243-result-value\" id=\"vbm243-r-ce\">\u2014<\/div>\n<\/div>\n<div class=\"vbm243-result primary\">\n<div class=\"vbm243-result-label\">Pcm (Ito\u2013Bessyo)<\/div>\n<div class=\"vbm243-result-value\" id=\"vbm243-r-pcm\">\u2014<\/div>\n<\/div>\n<div class=\"vbm243-result\">\n<div class=\"vbm243-result-label\">CEIIW contribution check<\/div>\n<div class=\"vbm243-result-value\" id=\"vbm243-r-ce-parts\">\u2014<\/div>\n<\/div>\n<div class=\"vbm243-result\">\n<div class=\"vbm243-result-label\">Pcm contribution check<\/div>\n<div class=\"vbm243-result-value\" id=\"vbm243-r-pcm-parts\">\u2014<\/div>\n<\/div>\n<div class=\"vbm243-result\">\n<div class=\"vbm243-result-label\">Normalized boron B<\/div>\n<div class=\"vbm243-result-value\" id=\"vbm243-r-b\">\u2014<\/div>\n<\/div>\n<div class=\"vbm243-result\">\n<div class=\"vbm243-result-label\">Entered-element subtotal<\/div>\n<div class=\"vbm243-result-value\" id=\"vbm243-r-sum\">\u2014<\/div>\n<\/div>\n<\/div>\n<div class=\"vbm243-status\" id=\"vbm243-r-status\"><\/div>\n<\/section>\n<section class=\"vbm243-card\">\n<h2>Equations, units and classification<\/h2>\n<div class=\"vbm243-formula\">CEIIW = C + Mn\/6 + (Cr + Mo + V)\/5 + (Ni + Cu)\/15<br \/>Pcm = C + Si\/30 + (Mn + Cu + Cr)\/20 + Ni\/60 + Mo\/15 + V\/10 + 5B<br \/>Bmass% = Bppm \/ 10 000<\/div>\n<table>\n<thead>\n<tr>\n<th>Quantity<\/th>\n<th>Input basis<\/th>\n<th>Meaning and boundary<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>C, Si, Mn, Cr, Mo, V, Ni, Cu, B<\/td>\n<td>mass percent; B may be converted from ppm by mass<\/td>\n<td>controlled chemical-analysis values for one heat\/sample; not nominal website presets<\/td>\n<\/tr>\n<tr>\n<td>CEIIW<\/td>\n<td>dimensionless index reported on the mass-% convention<\/td>\n<td>IIW composition-characterising equation; not a universal weldability class or code acceptance value<\/td>\n<\/tr>\n<tr>\n<td>Pcm<\/td>\n<td>dimensionless index reported on the mass-% convention<\/td>\n<td>Ito\u2013Bessyo equation developed for lower-carbon steels; applicability must come from the governing specification<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"vbm243-small\">Because every term is a mass percentage multiplied by a dimensionless coefficient, each index is dimensionless. Industry documents commonly print the numeric result with a \u201c%\u201d convention; this worksheet shows the numeric index and its explicit mass-% input basis.<\/p>\n<\/section>\n<section class=\"vbm243-card\">\n<h2>Removed unsafe claims<\/h2>\n<ul>\n<li><strong>No grade cross-reference database.<\/strong> Labels such as S235JR, A36, SS400, 42CrMo4 and 4140 are not declared interchangeable. Exact chemistry, product form, delivery condition, dimensions, testing and properties must be checked in the applicable specifications and certificate.<\/li>\n<li><strong>No invented compositions or strengths.<\/strong> The old table\u2019s single C\/Mn\/alloy values and Rp\/Rm values were uncontrolled presets, not certificate data or complete grade limits.<\/li>\n<li><strong>No CE threshold verdict.<\/strong> \u201cGood\/fair\/poor\u201d bands and universal 50\u2013300 \u00b0C preheat outputs were removed. Hydrogen level, heat input, restraint, joint geometry, thickness, consumables, process, ambient conditions and the governing code matter.<\/li>\n<li><strong>No missing boron term.<\/strong> The old displayed Pcm equation included 5B while its code omitted B. Boron is now an explicit controlled input with mass-%\/ppm conversion.<\/li>\n<li><strong>No universal equation claim.<\/strong> Nippon Steel\u2019s current product catalogue visibly uses a product-specific Ceq equation different from CEIIW, while its Pcm equation includes 5B. Formula choice is specification-dependent.<\/li>\n<li><strong>No hidden state.<\/strong> Defaults, URL parameters, local history, automatic grade calculation, clipboard output, dynamic HTML and external KaTeX were removed.<\/li>\n<\/ul>\n<\/section>\n<section class=\"vbm243-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\/TR 17671-2:2002 Edition 1 remains current after confirmation in 2022 and gives arc-welding guidance for ferritic steels, excluding ferritic stainless steels.<\/td>\n<td>Official ISO status and scope; not used as an unverified clause-level formula source<\/td>\n<td><a href=\"https:\/\/www.iso.org\/standard\/30008.html\" target=\"_blank\" rel=\"noopener\">ISO\/TR 17671-2:2002<\/a><\/td>\n<\/tr>\n<tr>\n<td>AWS D1.1\/D1.1M:2025 is the 25th edition for welded structures made from commonly used carbon and low-alloy constructional steels; AWS now lists the 2025-AMD1 publication. Exact preheat and qualification rules are not reproduced here.<\/td>\n<td>Official AWS edition\/scope and amendment status<\/td>\n<td><a href=\"https:\/\/cm.aws.org\/standards-and-publications\/codes-and-standards\/d1-1\/\" target=\"_blank\" rel=\"noopener\">AWS D1.1\/D1.1M:2025-AMD1<\/a><\/td>\n<\/tr>\n<tr>\n<td>TWI publishes CEIIW exactly as used here and explains that carbon-equivalent equations were developed for different steel populations; Pcm was developed for lower-carbon steels.<\/td>\n<td>Authoritative welding research\/technical source<\/td>\n<td><a href=\"https:\/\/www.twi-global.com\/technical-knowledge\/published-papers\/evaluation-of-necessary-delay-before-inspection-for-hydrogen-cracks-may-2001\" target=\"_blank\" rel=\"noopener\">TWI CEIIW equation<\/a>; <a href=\"https:\/\/www.twi-global.com\/technical-knowledge\/faqs\/faq-what-is-the-difference-between-the-various-carbon-equivalent-formulae-used-in-relation-to-hydrogen-cracking\" target=\"_blank\" rel=\"noopener\">TWI formula scope<\/a><\/td>\n<\/tr>\n<tr>\n<td>Nippon Steel\u2019s 2025 steel-plate catalogue, PDF page 9 (printed pages 14\u201315), gives Pcm with the 5B term and displays a different product-specific Ceq equation, demonstrating why the equation source must be controlled.<\/td>\n<td>Manufacturer product document; page visually inspected<\/td>\n<td><a href=\"https:\/\/www.nipponsteel.com\/product\/catalog_download\/pdf\/A001en.pdf\" target=\"_blank\" rel=\"noopener\">Nippon Steel A001en, PDF p. 9<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"vbm243-small\">Accessed: 15 July 2026. Exact grade equivalence, chemical limits, mechanical-property tables, AWS\/EN preheat rules and acceptance criteria remain <strong>NEEDS_LICENSED_SOURCE<\/strong>.<\/p>\n<\/section>\n<section class=\"vbm243-card\">\n<h2>Reference check<\/h2>\n<p>For C=0.18, Si=0.40, Mn=1.50, Cr=0, Mo=0, V=0.05, Ni=0, Cu=0 and B=0 mass %, CEIIW=0.44 and Pcm=0.273333333333. If B is entered as 20 ppm instead, B=0.002 mass % and Pcm increases by 0.01 while CEIIW is unchanged.<\/p>\n<\/section>\n<section class=\"vbm243-card\">\n<h2>Questions<\/h2>\n<details>\n<summary>Does a lower result prove that welding is safe?<\/summary>\n<p>No. Use the governing material and welding specification, qualified WPS\/PQR and engineering review of hydrogen, heat input, restraint, thickness, process, consumables and service requirements.<\/p>\n<\/details>\n<details>\n<summary>Can this identify an equivalent steel grade?<\/summary>\n<p>No. Cross-designation requires a requirement-by-requirement comparison of current specifications and the actual certificate; similar names or nominal compositions are not proof of equivalence.<\/p>\n<\/details>\n<details>\n<summary>Why calculate both equations?<\/summary>\n<p>Only to reproduce two named arithmetic definitions. The applicable specification decides whether CEIIW, Pcm, another equation or no carbon-equivalent index is required.<\/p>\n<\/details>\n<\/section>\n<p><script>\n(function(){'use strict';var form=document.getElementById('vbm243-form'),error=document.getElementById('vbm243-error'),results=document.getElementById('vbm243-results');\nfunction text(id){return document.getElementById(id).value.trim()}function requiredText(id,label){var v=text(id);if(!v)throw new Error(label+' is required.');return v}function decimal(id,label,max){var raw=text(id);if(!\/^(?:\\d+(?:[.,]\\d*)?|[.,]\\d+)$\/.test(raw))throw new Error(label+' must be one non-negative plain decimal using a point or comma.');var v=Number(raw.replace(',','.'));if(!Number.isFinite(v)||v<0||v>max)throw new Error(label+' must be finite and between 0 and '+max+'.');return v}function fmt(v){if(!Number.isFinite(v))throw new Error('The calculated result is outside the finite numeric range.');return Number(v.toPrecision(12)).toString()}function setText(id,value){document.getElementById(id).textContent=value}\nfunction compute(C,Si,Mn,Cr,Mo,V,Ni,Cu,Braw,Bunit){var B=Bunit==='ppm'?Braw\/10000:Braw,sum=C+Si+Mn+Cr+Mo+V+Ni+Cu+B;if(!Number.isFinite(B)||B<0||B>100)throw new Error('Normalized boron must be finite and between 0 and 100 mass %.');if(!Number.isFinite(sum)||sum>100)throw new Error('The entered-element subtotal must not exceed 100 mass %.');var ceParts=[C,Mn\/6,(Cr+Mo+V)\/5,(Ni+Cu)\/15],pcmParts=[C,Si\/30,(Mn+Cu+Cr)\/20,Ni\/60,Mo\/15,V\/10,5*B],ce=ceParts.reduce(function(a,b){return a+b},0),pcm=pcmParts.reduce(function(a,b){return a+b},0);[ce,pcm,sum].concat(ceParts,pcmParts).forEach(function(x){if(!Number.isFinite(x)||x<0)throw new Error('The calculated result is outside the finite numeric range.')});return{ce:ce,pcm:pcm,B:B,sum:sum,ceParts:ceParts,pcmParts:pcmParts}}\nfunction render(r){setText('vbm243-r-ce',fmt(r.ce));setText('vbm243-r-pcm',fmt(r.pcm));setText('vbm243-r-ce-parts',r.ceParts.map(fmt).join(' + '));setText('vbm243-r-pcm-parts',r.pcmParts.map(fmt).join(' + '));setText('vbm243-r-b',fmt(r.B)+' mass %');setText('vbm243-r-sum',fmt(r.sum)+' mass %');setText('vbm243-r-status','Arithmetic composition indices only. No grade equivalence, property, weldability, cracking-risk, preheat, WPS\/PQR or acceptance result has been generated. Record: '+requiredText('vbm243-record','Calculation record ID')+'; material: '+requiredText('vbm243-material','Material, heat and sample identifiers')+'.');results.classList.add('show')}\nfunction setError(message){error.textContent=message;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{var C=decimal('vbm243-c','Carbon C',100),Si=decimal('vbm243-si','Silicon Si',100),Mn=decimal('vbm243-mn','Manganese Mn',100),Cr=decimal('vbm243-cr','Chromium Cr',100),Mo=decimal('vbm243-mo','Molybdenum Mo',100),V=decimal('vbm243-v','Vanadium V',100),Ni=decimal('vbm243-ni','Nickel Ni',100),Cu=decimal('vbm243-cu','Copper Cu',100),unit=document.getElementById('vbm243-b-unit').value,B=decimal('vbm243-b','Boron B',unit==='ppm'?1000000:100);[['vbm243-record','Calculation record ID'],['vbm243-material','Material, heat and sample identifiers'],['vbm243-certificate','Material test certificate \/ laboratory report and revision'],['vbm243-product','Controlled product specification and grade'],['vbm243-product-form','Product form, delivery condition and thickness'],['vbm243-analysis','Analysis type, laboratory method and uncertainty'],['vbm243-basis','Composition basis and unit confirmation'],['vbm243-reporting','Below-detection \/ less-than-value treatment'],['vbm243-formula-source','Required equation source, edition and clause\/table record'],['vbm243-governing','Governing code, contract, WPS\/PQR or material requirement'],['vbm243-person','Responsible welding\/materials engineer \/ reviewer'],['vbm243-date','Review date']].forEach(function(x){requiredText(x[0],x[1])});for(var i=1;i<=4;i++)if(!document.getElementById('vbm243-c'+i).checked)throw new Error('Confirm all four analysis-source, equation-scope, equivalence and welding-decision boundary statements.');render(compute(C,Si,Mn,Cr,Mo,V,Ni,Cu,B,unit))}catch(err){setError(err.message)}});\nform.addEventListener('keydown',function(e){if(e.key==='Enter'&&e.target.tagName!=='TEXTAREA'&&e.target.tagName!=='BUTTON'&&e.target.tagName!=='SELECT'){e.preventDefault();form.requestSubmit()}});document.getElementById('vbm243-clear').addEventListener('click',function(){form.reset();form.querySelectorAll('input[type=text],textarea').forEach(function(el){el.value=''});results.classList.remove('show');clearError();document.getElementById('vbm243-c').focus()});form.querySelectorAll('input,select,textarea').forEach(function(el){el.addEventListener('input',function(){results.classList.remove('show');clearError()});el.addEventListener('change',function(){results.classList.remove('show');clearError()})});\n})();\n<\/script>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Calculate CEIIW and Pcm from one controlled chemical analysis, including boron and ppm conversion\u2014without grade-equivalence, preheat or weldability verdicts.<\/p>","protected":false},"featured_media":0,"template":"","meta":{"ai_generated_summary":"","footnotes":""},"categories":[],"tags":[],"class_list":["post-100243","calculator","type-calculator","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/vibromera.eu\/ms\/wp-json\/wp\/v2\/calculator\/100243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vibromera.eu\/ms\/wp-json\/wp\/v2\/calculator"}],"about":[{"href":"https:\/\/vibromera.eu\/ms\/wp-json\/wp\/v2\/types\/calculator"}],"version-history":[{"count":3,"href":"https:\/\/vibromera.eu\/ms\/wp-json\/wp\/v2\/calculator\/100243\/revisions"}],"predecessor-version":[{"id":102588,"href":"https:\/\/vibromera.eu\/ms\/wp-json\/wp\/v2\/calculator\/100243\/revisions\/102588"}],"wp:attachment":[{"href":"https:\/\/vibromera.eu\/ms\/wp-json\/wp\/v2\/media?parent=100243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vibromera.eu\/ms\/wp-json\/wp\/v2\/categories?post=100243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vibromera.eu\/ms\/wp-json\/wp\/v2\/tags?post=100243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}