{"id":24396,"date":"2026-03-18T03:40:59","date_gmt":"2026-03-18T03:40:59","guid":{"rendered":"https:\/\/www.mechstream.com\/?p=24396"},"modified":"2026-03-18T05:56:47","modified_gmt":"2026-03-18T05:56:47","slug":"tube-bending-wall-thinningrate-calculator","status":"publish","type":"post","link":"https:\/\/www.mechstream.com\/pt\/tube-bending-wall-thinningrate-calculator\/","title":{"rendered":"Tube Bending Wall ThinningRate Calculator"},"content":{"rendered":"\n<p>The <strong>Tube Bending Wall ThinningRate Calculator<\/strong> is an essential engineering tool designed to accurately estimate wall thickness reduction during tube bending processes. By inputting key parameters such as initial wall thickness, bending radius, and material properties, this <strong>Tube Bending Wall ThinningRate Calculator<\/strong> helps engineers predict thinning rates, ensuring structural integrity and product quality. It is widely used in industries like automotive, aerospace, and metal fabrication to optimize bending performance, reduce material failure risks, and improve production efficiency.<\/p>\n\n\n\n<!-- Tube Bending Wall Thinning Calculator \u2014 Scoped for WordPress embedding -->\n<link rel=\"preconnect\" href=\"https:\/\/fonts.googleapis.com\" \/>\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Inter:wght@400;500;600;700;800&#038;family=JetBrains+Mono:wght@400;600&#038;display=swap\" rel=\"stylesheet\" \/>\n\n<style>\n  #harsle-thinning-calc,\n  #harsle-thinning-calc *,\n  #harsle-thinning-calc *::before,\n  #harsle-thinning-calc *::after {\n    box-sizing: border-box;\n    margin: 0;\n    padding: 0;\n    border: 0;\n    font: inherit;\n    vertical-align: baseline;\n    line-height: normal;\n  }\n\n  #harsle-thinning-calc {\n    font-family: 'Inter', system-ui, -apple-system, sans-serif;\n    color: #1e293b;\n    font-size: 14px;\n    line-height: 1.5;\n    padding: 16px 0;\n    -webkit-font-smoothing: antialiased;\n    -moz-osx-font-smoothing: grayscale;\n  }\n\n  #harsle-thinning-calc .htc-grid {\n    display: grid;\n    grid-template-columns: 1fr;\n    gap: 24px;\n    max-width: 960px;\n    margin: 0 auto;\n    align-items: start;\n  }\n  @media (min-width: 1024px) {\n    #harsle-thinning-calc .htc-grid {\n      grid-template-columns: 1fr 1fr;\n    }\n  }\n\n  #harsle-thinning-calc .htc-unit-bar {\n    max-width: 960px;\n    margin: 0 auto 16px auto;\n    display: flex;\n    align-items: center;\n    justify-content: flex-end;\n    gap: 8px;\n  }\n  #harsle-thinning-calc .htc-unit-label {\n    font-size: 12px;\n    color: #64748b;\n    font-weight: 500;\n  }\n\n  \/* \u2500\u2500 Unit toggle \u2500\u2500 *\/\n  #harsle-thinning-calc .htc-toggle {\n    position: relative;\n    display: inline-flex;\n    background: #f1f5f9;\n    border: 1.5px solid #e2e8f0;\n    border-radius: 99px;\n    padding: 3px;\n  }\n  #harsle-thinning-calc .htc-toggle input[type=radio] {\n    display: none;\n  }\n  #harsle-thinning-calc .htc-toggle label {\n    padding: 5px 18px;\n    border-radius: 99px;\n    cursor: pointer;\n    font-size: 12px;\n    font-weight: 600;\n    letter-spacing: 0.04em;\n    color: #94a3b8;\n    transition: color 0.2s;\n    z-index: 1;\n    position: relative;\n    user-select: none;\n    display: inline-block;\n    line-height: 1.4;\n    background: transparent;\n    margin: 0;\n  }\n  #harsle-thinning-calc .htc-toggle input[type=radio]:checked + label {\n    color: #ffffff;\n  }\n  #harsle-thinning-calc .htc-thumb {\n    position: absolute;\n    top: 3px;\n    bottom: 3px;\n    width: calc(50% - 3px);\n    background: linear-gradient(135deg, #3b82f6, #2563eb);\n    border-radius: 99px;\n    transition: left 0.25s cubic-bezier(.4,0,.2,1), width 0.25s cubic-bezier(.4,0,.2,1);\n    left: 3px;\n    box-shadow: 0 2px 6px rgba(37,99,235,0.3);\n  }\n\n  \/* \u2500\u2500 Card \u2500\u2500 *\/\n  #harsle-thinning-calc .htc-card {\n    background: #f8fafc;\n    border: 1px solid #e2e8f0;\n    border-radius: 16px;\n    padding: 24px;\n    box-shadow: 0 1px 3px rgba(0,0,0,0.06);\n  }\n\n  #harsle-thinning-calc .htc-card-head {\n    display: flex;\n    align-items: flex-start;\n    justify-content: space-between;\n    margin-bottom: 20px;\n  }\n  #harsle-thinning-calc .htc-card-icon {\n    width: 28px;\n    height: 28px;\n    border-radius: 6px;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    flex-shrink: 0;\n  }\n  #harsle-thinning-calc .htc-card-title-wrap {\n    display: flex;\n    align-items: center;\n    gap: 8px;\n    margin-bottom: 4px;\n  }\n  #harsle-thinning-calc .htc-card-title {\n    font-size: 16px;\n    font-weight: 700;\n    color: #1e293b;\n    margin: 0;\n    padding: 0;\n    line-height: 1.3;\n  }\n  #harsle-thinning-calc .htc-card-desc {\n    font-size: 11px;\n    color: #94a3b8;\n    margin: 0;\n    padding: 0;\n  }\n\n  \/* \u2500\u2500 Badge \u2500\u2500 *\/\n  #harsle-thinning-calc .htc-badge {\n    display: inline-flex;\n    align-items: center;\n    padding: 2px 10px;\n    border-radius: 99px;\n    font-size: 10px;\n    font-weight: 700;\n    letter-spacing: 0.05em;\n    text-transform: uppercase;\n    white-space: nowrap;\n    flex-shrink: 0;\n  }\n  #harsle-thinning-calc .htc-badge-ok     { background: #dcfce7; color: #16a34a; border: 1px solid #86efac; }\n  #harsle-thinning-calc .htc-badge-warn   { background: #fef9c3; color: #ca8a04; border: 1px solid #fde047; }\n  #harsle-thinning-calc .htc-badge-danger { background: #fee2e2; color: #dc2626; border: 1px solid #fca5a5; }\n\n  \/* \u2500\u2500 Formula \u2500\u2500 *\/\n  #harsle-thinning-calc .htc-formula {\n    background: #f1f5f9;\n    border: 1px solid #e2e8f0;\n    border-radius: 8px;\n    padding: 10px 16px;\n    font-family: 'JetBrains Mono', monospace;\n    font-size: 13px;\n    color: #2563eb;\n    margin-bottom: 20px;\n  }\n\n  \/* \u2500\u2500 Label \u2500\u2500 *\/\n  #harsle-thinning-calc .htc-label {\n    display: block;\n    font-size: 12px;\n    font-weight: 600;\n    color: #64748b;\n    margin-bottom: 6px;\n  }\n  #harsle-thinning-calc .htc-label sub {\n    font-size: 10px;\n    vertical-align: baseline;\n    position: relative;\n    top: 3px;\n  }\n\n  \/* \u2500\u2500 Input \u2500\u2500 *\/\n  #harsle-thinning-calc .htc-input {\n    display: block;\n    width: 100%;\n    background: #ffffff;\n    border: 1.5px solid #cbd5e1;\n    border-radius: 8px;\n    color: #1e293b;\n    font-family: 'JetBrains Mono', monospace;\n    font-size: 15px;\n    padding: 10px 12px;\n    transition: border-color 0.2s, box-shadow 0.2s;\n    outline: none;\n    -moz-appearance: textfield;\n  }\n  #harsle-thinning-calc .htc-input::-webkit-inner-spin-button,\n  #harsle-thinning-calc .htc-input::-webkit-outer-spin-button {\n    -webkit-appearance: none;\n    margin: 0;\n  }\n  #harsle-thinning-calc .htc-input:focus {\n    border-color: #3b82f6;\n    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);\n  }\n  #harsle-thinning-calc .htc-input::placeholder { color: #94a3b8; }\n\n  #harsle-thinning-calc .htc-input-group {\n    margin-bottom: 16px;\n  }\n  #harsle-thinning-calc .htc-input-rel {\n    position: relative;\n  }\n  #harsle-thinning-calc .htc-input-has-icon {\n    padding-right: 36px;\n  }\n\n  \/* \u2500\u2500 Tooltip \u2500\u2500 *\/\n  #harsle-thinning-calc .htc-tip-wrap {\n    position: absolute;\n    right: 10px;\n    top: 50%;\n    transform: translateY(-50%);\n    display: inline-flex;\n    align-items: center;\n    cursor: help;\n  }\n  #harsle-thinning-calc .htc-tip-text {\n    position: absolute;\n    bottom: calc(100% + 6px);\n    left: 50%;\n    transform: translateX(-50%);\n    background: #1e293b;\n    border: 1px solid #334155;\n    color: #e2e8f0;\n    font-family: 'Inter', sans-serif;\n    font-size: 11px;\n    padding: 6px 10px;\n    border-radius: 6px;\n    white-space: nowrap;\n    opacity: 0;\n    pointer-events: none;\n    transition: opacity 0.2s;\n    z-index: 10;\n    box-shadow: 0 4px 12px rgba(0,0,0,0.15);\n  }\n  #harsle-thinning-calc .htc-tip-wrap:hover .htc-tip-text { opacity: 1; }\n\n  \/* \u2500\u2500 Button \u2500\u2500 *\/\n  #harsle-thinning-calc .htc-btn-wrap {\n    text-align: center;\n    margin-top: 20px;\n  }\n  #harsle-thinning-calc .htc-btn {\n    display: inline-block;\n    background: linear-gradient(135deg, #1d4ed8, #2563eb);\n    border: none;\n    border-radius: 10px;\n    color: #ffffff;\n    font-family: 'Inter', sans-serif;\n    font-weight: 700;\n    font-size: 15px;\n    letter-spacing: 0.05em;\n    text-transform: uppercase;\n    cursor: pointer;\n    padding: 10px 32px;\n    transition: all 0.2s;\n    box-shadow: 0 4px 15px rgba(37,99,235,0.25);\n    line-height: 1.4;\n    text-decoration: none;\n  }\n  #harsle-thinning-calc .htc-btn:hover {\n    transform: translateY(-1px);\n    box-shadow: 0 6px 20px rgba(37,99,235,0.4);\n    color: #ffffff !important;\n    text-decoration: none;\n  }\n  #harsle-thinning-calc .htc-btn:active { transform: translateY(0); }\n\n  \/* \u2500\u2500 Result box \u2500\u2500 *\/\n  #harsle-thinning-calc .htc-result {\n    background: #f0fdf4;\n    border: 1.5px solid #86efac;\n    border-radius: 12px;\n    padding: 16px;\n    margin-top: 16px;\n    transition: all 0.35s ease;\n  }\n  #harsle-thinning-calc .htc-result.htc-warn {\n    background: #fffbeb;\n    border-color: #fcd34d;\n  }\n  #harsle-thinning-calc .htc-result.htc-danger {\n    background: #fef2f2;\n    border-color: #fca5a5;\n    animation: htcPulse 1.5s ease-in-out infinite;\n  }\n  @keyframes htcPulse {\n    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }\n    50%      { box-shadow: 0 0 12px 4px rgba(239,68,68,0.12); }\n  }\n  #harsle-thinning-calc .htc-hidden { display: none !important; }\n\n  #harsle-thinning-calc .htc-result-head {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    margin-bottom: 12px;\n  }\n  #harsle-thinning-calc .htc-result-label {\n    font-size: 11px;\n    font-weight: 700;\n    color: #64748b;\n    text-transform: uppercase;\n    letter-spacing: 0.08em;\n  }\n\n  #harsle-thinning-calc .htc-result-val-wrap {\n    display: flex;\n    align-items: flex-end;\n    gap: 8px;\n    margin-bottom: 12px;\n  }\n  #harsle-thinning-calc .htc-result-num {\n    font-family: 'JetBrains Mono', monospace;\n    font-size: 44px;\n    font-weight: 700;\n    line-height: 1;\n    color: #16a34a;\n    transition: color 0.3s;\n  }\n  #harsle-thinning-calc .htc-result-num.htc-num-warn  { color: #ca8a04; }\n  #harsle-thinning-calc .htc-result-num.htc-num-danger { color: #dc2626; }\n  #harsle-thinning-calc .htc-result-pct {\n    font-size: 20px;\n    font-weight: 700;\n    color: #94a3b8;\n    margin-bottom: 4px;\n  }\n\n  \/* \u2500\u2500 Gauge \u2500\u2500 *\/\n  #harsle-thinning-calc .htc-gauge {\n    position: relative;\n    width: 140px;\n    height: 78px;\n    overflow: hidden;\n    margin: 0 auto 12px auto;\n  }\n  #harsle-thinning-calc .htc-gauge svg {\n    width: 140px;\n    height: 140px;\n    position: absolute;\n    top: 0;\n    left: 0;\n  }\n  #harsle-thinning-calc .htc-gauge path:last-of-type,\n  #harsle-thinning-calc #gauge-arc-m,\n  #harsle-thinning-calc #gauge-arc-e {\n    transition: stroke-dasharray 0.5s cubic-bezier(.4,0,.2,1), stroke 0.3s;\n  }\n\n  \/* \u2500\u2500 Divider \u2500\u2500 *\/\n  #harsle-thinning-calc .htc-divider {\n    height: 1px;\n    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);\n    margin: 8px 0;\n  }\n\n  \/* \u2500\u2500 Breakdown grid \u2500\u2500 *\/\n  #harsle-thinning-calc .htc-breakdown {\n    display: grid;\n    grid-template-columns: 1fr 1fr;\n    gap: 8px;\n    margin-top: 8px;\n  }\n  #harsle-thinning-calc .htc-breakdown span {\n    font-size: 12px;\n  }\n  #harsle-thinning-calc .htc-bd-label { color: #94a3b8; }\n  #harsle-thinning-calc .htc-bd-val   { color: #334155; font-family: 'JetBrains Mono', monospace; margin-left: 4px; }\n\n  \/* \u2500\u2500 Warning \u2500\u2500 *\/\n  #harsle-thinning-calc .htc-warning-box {\n    margin-top: 12px;\n    font-size: 12px;\n    font-weight: 600;\n    border-radius: 8px;\n    padding: 10px;\n    background: #fef2f2;\n    border: 1px solid #fca5a5;\n    color: #dc2626;\n    line-height: 1.5;\n  }\n\n  \/* \u2500\u2500 Ratio display \u2500\u2500 *\/\n  #harsle-thinning-calc .htc-ratio-box {\n    background: #f1f5f9;\n    border: 1px solid #e2e8f0;\n    border-radius: 8px;\n    padding: 10px 16px;\n    font-family: 'JetBrains Mono', monospace;\n    font-size: 12px;\n    color: #059669;\n    margin-bottom: 0;\n  }\n\n  \/* \u2500\u2500 Animation \u2500\u2500 *\/\n  #harsle-thinning-calc .htc-fade-in {\n    animation: htcFadeIn 0.4s ease;\n  }\n  @keyframes htcFadeIn {\n    from { opacity: 0; transform: translateY(6px); }\n    to   { opacity: 1; transform: none; }\n  }\n  @keyframes htcShake {\n    0%,100% { transform: translateX(0); }\n    20%     { transform: translateX(-5px); }\n    40%     { transform: translateX(5px); }\n    60%     { transform: translateX(-4px); }\n    80%     { transform: translateX(4px); }\n  }\n  #harsle-thinning-calc .htc-shake {\n    animation: htcShake 0.5s ease !important;\n  }\n\n  @media (max-width: 640px) {\n    #harsle-thinning-calc .htc-result-num { font-size: 36px; }\n    #harsle-thinning-calc .htc-gauge { width: 110px; height: 62px; }\n    #harsle-thinning-calc .htc-gauge svg { width: 110px; height: 110px; }\n  }\n<\/style>\n\n<div id=\"harsle-thinning-calc\">\n\n  <!-- Unit Toggle -->\n  <div class=\"htc-unit-bar\">\n    <span class=\"htc-unit-label\">Units:<\/span>\n    <div class=\"htc-toggle\" id=\"globalUnitToggle\">\n      <input type=\"radio\" name=\"htc_unit\" id=\"unit-mm\" value=\"mm\" checked \/>\n      <label for=\"unit-mm\">mm<\/label>\n      <input type=\"radio\" name=\"htc_unit\" id=\"unit-in\" value=\"in\" \/>\n      <label for=\"unit-in\">in<\/label>\n      <div class=\"htc-thumb\" id=\"toggleThumb\"><\/div>\n    <\/div>\n  <\/div>\n\n  <!-- Calculators Grid -->\n  <div class=\"htc-grid\">\n\n    <!-- Calculator 1: Measured Thinning -->\n    <div class=\"htc-card\">\n      <div class=\"htc-card-head\">\n        <div>\n          <div class=\"htc-card-title-wrap\">\n            <div class=\"htc-card-icon\" style=\"background:#eff6ff;\">\n              <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#3b82f6\" stroke-width=\"2.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M2 12h4l3-9 4 18 3-9 4 0\"\/><\/svg>\n            <\/div>\n            <h2 class=\"htc-card-title\">Measured Thinning<\/h2>\n          <\/div>\n          <p class=\"htc-card-desc\">Based on actual thickness measurements before and after bending<\/p>\n        <\/div>\n        <span class=\"htc-badge htc-badge-ok\">Method 1<\/span>\n      <\/div>\n\n      <div class=\"htc-formula\">W = (T\u2080 \u2212 T_min) \/ T\u2080 \u00d7 100%<\/div>\n\n      <div class=\"htc-input-group\">\n        <label class=\"htc-label\">\n          Original Wall Thickness \u2014 T\u2080\n          <span class=\"htc-unit-m\" style=\"color:#3b82f6; margin-left:4px;\">(mm)<\/span>\n        <\/label>\n        <input type=\"number\" id=\"m-t0\" class=\"htc-input\" placeholder=\"e.g. 6.35\" min=\"0\" step=\"0.01\" \/>\n      <\/div>\n      <div class=\"htc-input-group\">\n        <label class=\"htc-label\">\n          Minimum Wall Thickness After Bending \u2014 T<sub>min<\/sub>\n          <span class=\"htc-unit-m\" style=\"color:#3b82f6; margin-left:4px;\">(mm)<\/span>\n        <\/label>\n        <input type=\"number\" id=\"m-tmin\" class=\"htc-input\" placeholder=\"e.g. 5.20\" min=\"0\" step=\"0.01\" \/>\n      <\/div>\n\n      <div class=\"htc-btn-wrap\">\n        <button class=\"htc-btn\" onclick=\"htcCalcMeasured()\">Calculate<\/button>\n      <\/div>\n\n      <div id=\"m-result\" class=\"htc-result htc-hidden htc-fade-in\">\n        <div class=\"htc-result-head\">\n          <span class=\"htc-result-label\">Wall Thinning Rate<\/span>\n          <span id=\"m-badge\" class=\"htc-badge htc-badge-ok\">Safe<\/span>\n        <\/div>\n        <div class=\"htc-result-val-wrap\">\n          <span id=\"m-value\" class=\"htc-result-num\">0.00<\/span>\n          <span class=\"htc-result-pct\">%<\/span>\n        <\/div>\n        <div class=\"htc-gauge\">\n          <svg viewBox=\"0 0 140 140\">\n            <path d=\"M 15 125 A 55 55 0 0 1 125 125\" fill=\"none\" stroke=\"#e2e8f0\" stroke-width=\"10\" stroke-linecap=\"round\"\/>\n            <path id=\"gauge-arc-m\" d=\"M 15 125 A 55 55 0 0 1 125 125\" fill=\"none\" stroke=\"#10b981\" stroke-width=\"10\" stroke-linecap=\"round\" stroke-dasharray=\"0 173\" \/>\n            <line x1=\"69\" y1=\"26\" x2=\"69\" y2=\"18\" stroke=\"#f59e0b\" stroke-width=\"2\" stroke-linecap=\"round\"\/>\n            <line x1=\"108\" y1=\"44\" x2=\"114\" y2=\"38\" stroke=\"#ef4444\" stroke-width=\"2\" stroke-linecap=\"round\"\/>\n          <\/svg>\n        <\/div>\n        <div class=\"htc-divider\"><\/div>\n        <div class=\"htc-breakdown\">\n          <div><span class=\"htc-bd-label\">T\u2080<\/span><span id=\"m-show-t0\" class=\"htc-bd-val\">\u2014<\/span><\/div>\n          <div><span class=\"htc-bd-label\">T_min<\/span><span id=\"m-show-tmin\" class=\"htc-bd-val\">\u2014<\/span><\/div>\n          <div><span class=\"htc-bd-label\">\u0394T<\/span><span id=\"m-show-delta\" class=\"htc-bd-val\">\u2014<\/span><\/div>\n          <div><span class=\"htc-bd-label\">Unit<\/span><span id=\"m-show-unit\" class=\"htc-bd-val\">mm<\/span><\/div>\n        <\/div>\n        <div id=\"m-warning\" class=\"htc-warning-box htc-hidden\">\n          \u26a0 HIGH RISK: Thinning exceeds 25%. This tube may be structurally compromised. Immediate engineering review required before pressurization.\n        <\/div>\n      <\/div>\n    <\/div>\n\n    <!-- Calculator 2: Theoretical Estimation -->\n    <div class=\"htc-card\">\n      <div class=\"htc-card-head\">\n        <div>\n          <div class=\"htc-card-title-wrap\">\n            <div class=\"htc-card-icon\" style=\"background:#ecfdf5;\">\n              <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#10b981\" stroke-width=\"2.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><path d=\"M12 6v6l4 2\"\/><\/svg>\n            <\/div>\n            <h2 class=\"htc-card-title\">Theoretical Estimation<\/h2>\n          <\/div>\n          <p class=\"htc-card-desc\">Estimate from tube geometry and bending radius (pre-bend planning)<\/p>\n        <\/div>\n        <span class=\"htc-badge htc-badge-ok\" style=\"color:#059669; border-color:#86efac; background:#dcfce7;\">Method 2<\/span>\n      <\/div>\n\n      <div class=\"htc-formula\" style=\"color:#059669;\">W_est = D \/ (2R + D) \u00d7 100%<\/div>\n\n      <div class=\"htc-input-group\">\n        <label class=\"htc-label\">\n          Tube Outside Diameter \u2014 D\n          <span class=\"htc-unit-e\" style=\"color:#10b981; margin-left:4px;\">(mm)<\/span>\n        <\/label>\n        <div class=\"htc-input-rel\">\n          <input type=\"number\" id=\"e-d\" class=\"htc-input htc-input-has-icon\" placeholder=\"e.g. 50.8\" min=\"0\" step=\"0.01\" \/>\n          <div class=\"htc-tip-wrap\">\n            <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#94a3b8\" stroke-width=\"2\" stroke-linecap=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><line x1=\"12\" y1=\"16\" x2=\"12\" y2=\"12\"\/><line x1=\"12\" y1=\"8\" x2=\"12.01\" y2=\"8\"\/><\/svg>\n            <span class=\"htc-tip-text\">Nominal OD of the tube before bending<\/span>\n          <\/div>\n        <\/div>\n      <\/div>\n      <div class=\"htc-input-group\">\n        <label class=\"htc-label\">\n          Centerline Bending Radius \u2014 R\n          <span class=\"htc-unit-e\" style=\"color:#10b981; margin-left:4px;\">(mm)<\/span>\n        <\/label>\n        <div class=\"htc-input-rel\">\n          <input type=\"number\" id=\"e-r\" class=\"htc-input htc-input-has-icon\" placeholder=\"e.g. 152.4\" min=\"0\" step=\"0.01\" \/>\n          <div class=\"htc-tip-wrap\">\n            <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#94a3b8\" stroke-width=\"2\" stroke-linecap=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><line x1=\"12\" y1=\"16\" x2=\"12\" y2=\"12\"\/><line x1=\"12\" y1=\"8\" x2=\"12.01\" y2=\"8\"\/><\/svg>\n            <span class=\"htc-tip-text\">Distance from bend centerline to tube centerline (CLR)<\/span>\n          <\/div>\n        <\/div>\n      <\/div>\n      <div id=\"e-ratio-wrap\" class=\"htc-ratio-box htc-hidden\" style=\"margin-bottom:0;\">\n        Bend Ratio (R\/D): <span id=\"e-ratio\" style=\"color:#059669; font-weight:700;\">\u2014<\/span>\n        <span id=\"e-ratio-note\" style=\"margin-left:8px; color:#64748b;\"><\/span>\n      <\/div>\n\n      <div class=\"htc-btn-wrap\">\n        <button class=\"htc-btn\" style=\"background:linear-gradient(135deg,#059669,#10b981);\" onclick=\"htcCalcEstimated()\">Calculate<\/button>\n      <\/div>\n\n      <div id=\"e-result\" class=\"htc-result htc-hidden htc-fade-in\">\n        <div class=\"htc-result-head\">\n          <span class=\"htc-result-label\">Estimated Thinning<\/span>\n          <span id=\"e-badge\" class=\"htc-badge htc-badge-ok\">Safe<\/span>\n        <\/div>\n        <div class=\"htc-result-val-wrap\">\n          <span id=\"e-value\" class=\"htc-result-num\">0.00<\/span>\n          <span class=\"htc-result-pct\">%<\/span>\n        <\/div>\n        <div class=\"htc-gauge\">\n          <svg viewBox=\"0 0 140 140\">\n            <path d=\"M 15 125 A 55 55 0 0 1 125 125\" fill=\"none\" stroke=\"#e2e8f0\" stroke-width=\"10\" stroke-linecap=\"round\"\/>\n            <path id=\"gauge-arc-e\" d=\"M 15 125 A 55 55 0 0 1 125 125\" fill=\"none\" stroke=\"#10b981\" stroke-width=\"10\" stroke-linecap=\"round\" stroke-dasharray=\"0 173\" \/>\n            <line x1=\"69\" y1=\"26\" x2=\"69\" y2=\"18\" stroke=\"#f59e0b\" stroke-width=\"2\" stroke-linecap=\"round\"\/>\n            <line x1=\"108\" y1=\"44\" x2=\"114\" y2=\"38\" stroke=\"#ef4444\" stroke-width=\"2\" stroke-linecap=\"round\"\/>\n          <\/svg>\n        <\/div>\n        <div class=\"htc-divider\"><\/div>\n        <div class=\"htc-breakdown\">\n          <div><span class=\"htc-bd-label\">D<\/span><span id=\"e-show-d\" class=\"htc-bd-val\">\u2014<\/span><\/div>\n          <div><span class=\"htc-bd-label\">R<\/span><span id=\"e-show-r\" class=\"htc-bd-val\">\u2014<\/span><\/div>\n          <div><span class=\"htc-bd-label\">2R+D<\/span><span id=\"e-show-sum\" class=\"htc-bd-val\">\u2014<\/span><\/div>\n          <div><span class=\"htc-bd-label\">Unit<\/span><span id=\"e-show-unit\" class=\"htc-bd-val\">mm<\/span><\/div>\n        <\/div>\n        <div id=\"e-warning\" class=\"htc-warning-box htc-hidden\">\n          \u26a0 HIGH RISK: Estimated thinning exceeds 25%. Consider increasing the bending radius (R) or reducing tube OD to stay within safe limits.\n        <\/div>\n      <\/div>\n    <\/div>\n\n  <\/div><!-- end grid -->\n<\/div><!-- end #harsle-thinning-calc -->\n\n<script>\n(function() {\n  var currentUnit = 'mm';\n  var root = document.getElementById('harsle-thinning-calc');\n  var unitRadios = root.querySelectorAll('input[name=\"htc_unit\"]');\n  var toggleThumb = document.getElementById('toggleThumb');\n\n  unitRadios.forEach(function(radio) {\n    radio.addEventListener('change', function() {\n      currentUnit = radio.value;\n      updateUnitLabels();\n      moveThumb();\n      resetMeasured(true);\n      resetEstimated(true);\n    });\n  });\n\n  function moveThumb() {\n    var toggle = document.getElementById('globalUnitToggle');\n    var labels = toggle.querySelectorAll('label');\n    var w0 = labels[0].offsetWidth;\n    var w1 = labels[1].offsetWidth;\n    if (currentUnit === 'in') {\n      toggleThumb.style.left = (3 + w0) + 'px';\n      toggleThumb.style.width = w1 + 'px';\n    } else {\n      toggleThumb.style.left = '3px';\n      toggleThumb.style.width = w0 + 'px';\n    }\n  }\n\n  function updateUnitLabels() {\n    root.querySelectorAll('.htc-unit-m, .htc-unit-e').forEach(function(el) {\n      el.textContent = '(' + currentUnit + ')';\n    });\n    root.querySelectorAll('#m-show-unit, #e-show-unit').forEach(function(el) {\n      el.textContent = currentUnit;\n    });\n    if (currentUnit === 'in') {\n      document.getElementById('m-t0').placeholder   = 'e.g. 0.250';\n      document.getElementById('m-tmin').placeholder = 'e.g. 0.205';\n      document.getElementById('e-d').placeholder    = 'e.g. 2.000';\n      document.getElementById('e-r').placeholder    = 'e.g. 6.000';\n    } else {\n      document.getElementById('m-t0').placeholder   = 'e.g. 6.35';\n      document.getElementById('m-tmin').placeholder = 'e.g. 5.20';\n      document.getElementById('e-d').placeholder    = 'e.g. 50.8';\n      document.getElementById('e-r').placeholder    = 'e.g. 152.4';\n    }\n  }\n\n  function applyResult(resultId, valueId, badgeId, warningId, W) {\n    var resultEl = document.getElementById(resultId);\n    resultEl.classList.remove('htc-hidden', 'htc-warn', 'htc-danger');\n    resultEl.classList.add('htc-fade-in');\n    var valEl  = document.getElementById(valueId);\n    var badge  = document.getElementById(badgeId);\n    var warnEl = document.getElementById(warningId);\n    valEl.textContent = W.toFixed(2);\n    valEl.className = 'htc-result-num';\n    warnEl.classList.add('htc-hidden');\n\n    if (W > 25) {\n      resultEl.classList.add('htc-danger');\n      valEl.classList.add('htc-num-danger');\n      badge.className = 'htc-badge htc-badge-danger';\n      badge.textContent = 'HIGH RISK';\n      warnEl.classList.remove('htc-hidden');\n    } else if (W > 15) {\n      resultEl.classList.add('htc-warn');\n      valEl.classList.add('htc-num-warn');\n      badge.className = 'htc-badge htc-badge-warn';\n      badge.textContent = 'Review Required';\n    } else if (W > 10) {\n      resultEl.classList.add('htc-warn');\n      valEl.classList.add('htc-num-warn');\n      badge.className = 'htc-badge htc-badge-warn';\n      badge.textContent = 'Marginal';\n    } else {\n      badge.className = 'htc-badge htc-badge-ok';\n      badge.textContent = 'Acceptable';\n    }\n  }\n\n  window.htcCalcMeasured = function() {\n    var t0   = parseFloat(document.getElementById('m-t0').value);\n    var tmin = parseFloat(document.getElementById('m-tmin').value);\n    if (isNaN(t0) || isNaN(tmin)) { shakeInput('m-t0'); shakeInput('m-tmin'); return; }\n    if (t0 <= 0)    { alert('T\u2080 must be greater than 0.'); return; }\n    if (tmin <= 0)   { alert('T_min must be greater than 0.'); return; }\n    if (tmin >= t0)  { alert('T_min must be less than T\u2080 (thinning implies material was removed).'); return; }\n\n    var W = ((t0 - tmin) \/ t0) * 100;\n    applyResult('m-result', 'm-value', 'm-badge', 'm-warning', W);\n    var u = currentUnit;\n    document.getElementById('m-show-t0').textContent    = t0.toFixed(3) + ' ' + u;\n    document.getElementById('m-show-tmin').textContent  = tmin.toFixed(3) + ' ' + u;\n    document.getElementById('m-show-delta').textContent = (t0 - tmin).toFixed(3) + ' ' + u;\n    document.getElementById('m-show-unit').textContent  = u;\n    updateGauge('gauge-arc-m', W);\n  };\n\n  function resetMeasured(silent) {\n    document.getElementById('m-t0').value = '';\n    document.getElementById('m-tmin').value = '';\n    document.getElementById('m-result').classList.add('htc-hidden');\n    if (!silent) document.getElementById('m-t0').focus();\n  }\n\n  window.htcCalcEstimated = function() {\n    var D = parseFloat(document.getElementById('e-d').value);\n    var R = parseFloat(document.getElementById('e-r').value);\n    if (isNaN(D) || isNaN(R)) { shakeInput('e-d'); shakeInput('e-r'); return; }\n    if (D <= 0) { alert('D must be greater than 0.'); return; }\n    if (R <= 0) { alert('R must be greater than 0.'); return; }\n\n    var W = (D \/ (2 * R + D)) * 100;\n    var rd = R \/ D;\n    var ratioWrap = document.getElementById('e-ratio-wrap');\n    ratioWrap.classList.remove('htc-hidden');\n    document.getElementById('e-ratio').textContent = rd.toFixed(2);\n    var rdNote = '';\n    if (rd < 1.5)       rdNote = '\u26a0 Very tight \u2014 high risk';\n    else if (rd < 2.0)  rdNote = '\u26a0 Tight bend \u2014 review required';\n    else if (rd < 3.0)  rdNote = '\u2713 Acceptable for most applications';\n    else                 rdNote = '\u2713 Good \u2014 low thinning expected';\n    document.getElementById('e-ratio-note').textContent = rdNote;\n\n    applyResult('e-result', 'e-value', 'e-badge', 'e-warning', W);\n    var u = currentUnit;\n    document.getElementById('e-show-d').textContent   = D.toFixed(3) + ' ' + u;\n    document.getElementById('e-show-r').textContent   = R.toFixed(3) + ' ' + u;\n    document.getElementById('e-show-sum').textContent = (2*R + D).toFixed(3) + ' ' + u;\n    document.getElementById('e-show-unit').textContent = u;\n    updateGauge('gauge-arc-e', W);\n  };\n\n  function resetEstimated(silent) {\n    document.getElementById('e-d').value = '';\n    document.getElementById('e-r').value = '';\n    document.getElementById('e-result').classList.add('htc-hidden');\n    document.getElementById('e-ratio-wrap').classList.add('htc-hidden');\n    if (!silent) document.getElementById('e-d').focus();\n  }\n\n  var GAUGE_TOTAL = 173;\n  var GAUGE_MAX_PCT = 35;\n\n  function updateGauge(arcId, pct) {\n    var arc = document.getElementById(arcId);\n    var filled = Math.min(pct \/ GAUGE_MAX_PCT, 1) * GAUGE_TOTAL;\n    arc.setAttribute('stroke-dasharray', filled + ' ' + (GAUGE_TOTAL - filled));\n    if (pct > 25)      arc.setAttribute('stroke', '#ef4444');\n    else if (pct > 15) arc.setAttribute('stroke', '#f59e0b');\n    else if (pct > 10) arc.setAttribute('stroke', '#eab308');\n    else               arc.setAttribute('stroke', '#10b981');\n  }\n\n  function shakeInput(id) {\n    var el = document.getElementById(id);\n    el.classList.remove('htc-shake');\n    void el.offsetWidth;\n    el.classList.add('htc-shake');\n    el.style.borderColor = '#fca5a5';\n    setTimeout(function() { el.classList.remove('htc-shake'); el.style.borderColor = ''; }, 600);\n  }\n\n  document.getElementById('m-t0').addEventListener('keydown', function(e) { if (e.key === 'Enter') document.getElementById('m-tmin').focus(); });\n  document.getElementById('m-tmin').addEventListener('keydown', function(e) { if (e.key === 'Enter') htcCalcMeasured(); });\n  document.getElementById('e-d').addEventListener('keydown', function(e) { if (e.key === 'Enter') document.getElementById('e-r').focus(); });\n  document.getElementById('e-r').addEventListener('keydown', function(e) { if (e.key === 'Enter') htcCalcEstimated(); });\n\n  setTimeout(moveThumb, 100);\n})();\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>The Tube Bending Wall ThinningRate Calculator is an essential engineering tool designed to accurately estimate wall thickness reduction during tube bending processes. By inputting key&#8230;<\/p>","protected":false},"author":2,"featured_media":24404,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"pmpro_default_level":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8413],"tags":[8477,3047,2949,8498],"class_list":["post-24396","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-unit-and-industry-standard-conversion","tag-bending-calculator","tag-tube-bending","tag-tube-forming","tag-wall-thinning","pmpro-has-access"],"acf":[],"jetpack_featured_media_url":"https:\/\/www.mechstream.com\/wp-content\/uploads\/2026\/03\/Tube-Bending-Wall-ThinningRate-Calculator.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.mechstream.com\/pt\/wp-json\/wp\/v2\/posts\/24396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mechstream.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mechstream.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mechstream.com\/pt\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mechstream.com\/pt\/wp-json\/wp\/v2\/comments?post=24396"}],"version-history":[{"count":0,"href":"https:\/\/www.mechstream.com\/pt\/wp-json\/wp\/v2\/posts\/24396\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mechstream.com\/pt\/wp-json\/wp\/v2\/media\/24404"}],"wp:attachment":[{"href":"https:\/\/www.mechstream.com\/pt\/wp-json\/wp\/v2\/media?parent=24396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mechstream.com\/pt\/wp-json\/wp\/v2\/categories?post=24396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mechstream.com\/pt\/wp-json\/wp\/v2\/tags?post=24396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}