{"id":4677,"date":"2026-11-19T03:37:45","date_gmt":"2026-11-19T03:37:45","guid":{"rendered":"https:\/\/www.flow-engineering.be\/outils-six-sigma\/"},"modified":"2026-11-19T03:43:43","modified_gmt":"2026-11-19T03:43:43","slug":"outils-six-sigma","status":"publish","type":"page","link":"https:\/\/www.flow-engineering.be\/en\/outils-six-sigma\/","title":{"rendered":"Outils Six Sigma"},"content":{"rendered":"<style>\n.content-area:has(.fe-tl),.site-main:has(.fe-tl),.entry-content-wrap:has(.fe-tl),.entry:has(.fe-tl){margin-top:0 !important;padding-top:0 !important;padding-bottom:0 !important;box-shadow:none !important;background:transparent !important}\nbody:has(.fe-tl){background:#EEF2F7 !important}\nbody:has(.fe-tl) .entry-hero,body:has(.fe-tl) .entry-header{display:none !important}\n.fe-tl{width:100vw;margin:0 calc(50% - 50vw);font-family:Geist,system-ui,-apple-system,\"Segoe UI\",Roboto,sans-serif;-webkit-font-smoothing:antialiased;color:#0F172A;background:#EEF2F7;font-size:15px;line-height:1.5}\n.fe-tl *{box-sizing:border-box}\n.fe-tl [hidden]{display:none !important}\n.fe-tl h1,.fe-tl h2,.fe-tl h3,.fe-tl p{margin:0}\n.fe-tl button,.fe-tl input,.fe-tl textarea,.fe-tl select{font-family:inherit;text-transform:none;letter-spacing:0}\n.fe-tl a{text-decoration:none}\n.fe-tl-w{max-width:1180px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}\n.fe-tl-head{background:linear-gradient(135deg,#06B6D4,#2563EB 60%,#5B21B6);color:#fff;padding-block:26px 0}\n.fe-tl-crumb{font-size:12.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:rgba(255,255,255,.8)}\n.fe-tl h1{font-size:clamp(26px,3vw,34px);line-height:1.15;font-weight:700;letter-spacing:-.02em;color:#fff;margin:4px 0 6px}\n.fe-tl-lead{font-size:15.5px;line-height:1.55;color:rgba(255,255,255,.9);max-width:760px}\n.fe-tl-tabs{display:flex;gap:6px;margin-top:20px;overflow-x:auto;scrollbar-width:none}\n.fe-tl-tabs::-webkit-scrollbar{display:none}\n.fe-tl-tab{flex:0 0 auto;border:0;background:rgba(255,255,255,.14);color:#fff;padding:11px 16px;border-radius:10px 10px 0 0;font-size:14.5px;font-weight:600;cursor:pointer;line-height:1.2}\n.fe-tl-tab:hover{background:rgba(255,255,255,.24)}\n.fe-tl-tab[aria-selected=\"true\"]{background:#EEF2F7;color:#0F172A}\n.fe-tl-body{padding-block:22px 48px}\n.fe-tl-card{background:#fff;border:1px solid #DDE4EE;border-radius:12px;padding:22px}\n.fe-tl-card h2{font-size:20px;line-height:1.25;font-weight:650;letter-spacing:-.01em;margin-bottom:4px}\n.fe-tl-card > p{color:#64748B;font-size:14.5px;max-width:760px}\n.fe-tl-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:22px;margin-top:18px}\n.fe-tl-in{display:flex;flex-direction:column;gap:12px}\n.fe-tl-f label,.fe-tl-lab{display:block;font-size:13px;font-weight:600;color:#334155;margin-bottom:5px}\n.fe-tl-f small{font-weight:500;color:#94A3B8}\n.fe-tl input[type=text],.fe-tl textarea{width:100%;border:1px solid #CBD5E1;border-radius:8px;padding:10px 12px;font-size:15.5px;color:#0F172A;background:#fff;outline:none;font-variant-numeric:tabular-nums}\n.fe-tl textarea{min-height:84px;font-size:14px;resize:vertical}\n.fe-tl input[type=text]:focus,.fe-tl textarea:focus{border-color:#2563EB;box-shadow:0 0 0 3px rgba(37,99,235,.15)}\n.fe-tl-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}\n.fe-tl-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}\n.fe-tl-seg{display:flex;background:#F1F5F9;border-radius:9px;padding:3px;gap:3px}\n.fe-tl-seg button{flex:1;border:0;background:transparent;padding:8px 6px;border-radius:7px;font-size:13.5px;font-weight:600;color:#475569;cursor:pointer}\n.fe-tl-seg button[aria-pressed=\"true\"]{background:#fff;color:#0F172A;box-shadow:0 1px 2px rgba(15,23,42,.12)}\n.fe-tl-chk{display:flex;gap:10px;align-items:flex-start;font-size:14px;font-weight:600;color:#0F172A;cursor:pointer}\n.fe-tl-chk input{width:18px;height:18px;margin-top:2px;accent-color:#2563EB}\n.fe-tl-chk span small{display:block;font-weight:400;color:#64748B;font-size:12.5px;line-height:1.4}\n.fe-tl-hint{font-size:12.5px;color:#64748B}\n.fe-tl-out{display:flex;flex-direction:column;gap:14px;min-width:0}\n.fe-tl-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}\n.fe-tl-kpi{background:#F6F8FB;border:1px solid #E7ECF3;border-radius:10px;padding:10px 12px;min-width:0}\n.fe-tl-kpi small{display:block;font-size:11.5px;font-weight:600;color:#64748B;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n.fe-tl-kpi b{display:block;font-size:22px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n.fe-tl-k3{grid-template-columns:repeat(3,minmax(0,1fr))}\n.fe-tl-kpi.is-main{background:#EFF6FF;border-color:#BFDBFE}\n.fe-tl-kpi.is-main b{color:#1D4ED8}\n.fe-tl-kpi.ok b{color:#15803D}.fe-tl-kpi.mid b{color:#B45309}.fe-tl-kpi.ko b{color:#B91C1C}\n.fe-tl-chart{background:#F8FAFC;border:1px solid #E7ECF3;border-radius:10px;padding:6px}\n.fe-tl-chart svg{display:block;width:100%;height:auto}\n.fe-tl-msg{font-size:14px;line-height:1.5;padding:10px 12px;border-radius:9px;background:#F6F8FB}\n.fe-tl-msg.ok{background:#F0FDF4}.fe-tl-msg.mid{background:#FFFBEB}.fe-tl-msg.ko{background:#FEF2F2}\n.fe-tl-tbl{width:100%;border-collapse:collapse;font-size:13.5px;font-variant-numeric:tabular-nums}\n.fe-tl-tbl th{font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:#64748B;text-align:right;padding:6px 8px;border-bottom:1px solid #E7ECF3;font-weight:600}\n.fe-tl-tbl td{text-align:right;padding:6px 8px;border-bottom:1px solid #F1F5F9}\n.fe-tl-tbl th:first-child,.fe-tl-tbl td:first-child{text-align:left}\n.fe-tl-tbl tr.is-on td{background:#EFF6FF;font-weight:650;color:#1D4ED8}\n.fe-tl-ppm{width:100%;border-collapse:collapse;font-size:13.5px;font-variant-numeric:tabular-nums}\n.fe-tl-ppm th,.fe-tl-ppm td{padding:6px 8px;border-bottom:1px solid #F1F5F9;text-align:right}\n.fe-tl-ppm th{font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:#64748B;font-weight:600}\n.fe-tl-ppm th:first-child,.fe-tl-ppm td:first-child{text-align:left}\n.fe-tl-learn{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}\n.fe-tl-box{border:1px solid #E7ECF3;border-radius:10px;padding:14px 16px;font-size:14px;line-height:1.6;background:#FBFCFD}\n.fe-tl-box h3{font-size:12px;font-weight:650;text-transform:uppercase;letter-spacing:.06em;color:#64748B;margin-bottom:6px}\n.fe-tl-box.is-trap h3{color:#B45309}\n.fe-tl-steps{display:flex;flex-direction:column;gap:8px}\n.fe-tl-step{display:grid;grid-template-columns:80px minmax(0,1fr) 34px;gap:8px;align-items:center}\n.fe-tl-step span{font-size:13.5px;font-weight:600;color:#334155}\n.fe-tl-x{border:1px solid #E2E8F0;background:#fff;border-radius:8px;height:40px;color:#94A3B8;cursor:pointer;font-size:16px}\n.fe-tl-x:hover{color:#B91C1C;border-color:#FCA5A5}\n.fe-tl-add,.fe-tl-reset{align-self:flex-start;border:1px dashed #94A3B8;background:transparent;color:#334155;padding:8px 12px;border-radius:8px;font-size:13.5px;font-weight:600;cursor:pointer}\n.fe-tl-reset{border-style:solid;border-color:#E2E8F0;color:#64748B;font-weight:500}\n.fe-tl-sep{height:1px;background:#E7ECF3;margin:22px 0}\n.fe-tl-cta{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;justify-content:space-between;margin-top:22px;padding:18px 20px;border-radius:12px;background:#fff;border:1px solid #DDE4EE}\n.fe-tl-cta p{font-size:15.5px;font-weight:600;color:#0F172A}\n.fe-tl-train{margin-top:8px;font-size:14px}\n.fe-tl-train a{color:#1D4ED8 !important;font-weight:600}\n.fe-tl-train a:hover{text-decoration:underline !important}\n.fe-tl-go{display:inline-block;padding:11px 16px;border-radius:9px;background:#FACC15;color:#1F1A00 !important;font-weight:650;font-size:14.5px}\n.fe-tl-go:hover{background:#EAB308}\n.fe-tl-faq{margin-top:22px}\n.fe-tl-faq h2{font-size:20px;font-weight:650;margin-bottom:10px}\n.fe-tl-faq details{background:#fff;border:1px solid #DDE4EE;border-radius:10px;padding:0 16px;margin-bottom:8px}\n.fe-tl-faq summary{cursor:pointer;padding:13px 0;font-weight:600;font-size:15px;list-style:none}\n.fe-tl-faq summary::-webkit-details-marker{display:none}\n.fe-tl-faq summary::after{content:\"+\";float:right;color:#64748B;font-weight:500}\n.fe-tl-faq details[open] summary::after{content:\"\u2212\"}\n.fe-tl-faq details p{padding:0 0 14px;color:#334155;font-size:14.5px;line-height:1.6}\n.fe-tl-priv{font-size:12.5px;color:#64748B;margin-top:14px}\n.fe-tl-more{margin-top:14px;font-size:14px;color:#334155}\n.fe-tl-more a{color:#1D4ED8 !important;text-decoration:underline !important;text-underline-offset:3px}\n@media (max-width:900px){\n.fe-tl-grid,.fe-tl-learn{grid-template-columns:minmax(0,1fr)}\n.fe-tl-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}\n.fe-tl-card{padding:18px 16px}\n.fe-tl-3{grid-template-columns:1fr 1fr}\n.fe-tl-kpi small{white-space:normal;line-height:1.25}\n.fe-tl-k3 .fe-tl-kpi{padding:9px 9px}\n.fe-tl-k3 .fe-tl-kpi b{font-size:17px}\n}\n<\/style><div class=\"fe-tl\" data-no-translation>\n  <header class=\"fe-tl-head\"><div class=\"fe-tl-w\">\n    <div class=\"fe-tl-crumb\">Free tools<\/div>\n    <h1>Six Sigma calculators<\/h1>\n    <p class=\"fe-tl-lead\">The three calculations you keep redoing on projects and in the exam, without opening Minitab.<\/p>\n    <div class=\"fe-tl-tabs\" role=\"tablist\">\n      <button class=\"fe-tl-tab\" role=\"tab\" data-t=\"sigma\" aria-selected=\"true\">Sigma level \u2194 DPMO<\/button>\n      <button class=\"fe-tl-tab\" role=\"tab\" data-t=\"cpk\" aria-selected=\"false\">Capability Cp \/ Cpk<\/button>\n      <button class=\"fe-tl-tab\" role=\"tab\" data-t=\"rty\" aria-selected=\"false\">DPU \u00b7 DPMO \u00b7 RTY<\/button>\n    <\/div>\n  <\/div><\/header>\n\n  <div class=\"fe-tl-w fe-tl-body\">\n\n    <section class=\"fe-tl-card\" id=\"sigma\" data-p=\"sigma\">\n      <h2>Sigma level, DPMO, PPM and yield converter<\/h2>\n      <p>Enter one value, the others are calculated. By convention, the sigma level includes the 1.5 \u03c3 long-term shift.<\/p>\n      <div class=\"fe-tl-grid\">\n        <div class=\"fe-tl-in\">\n          <div><span class=\"fe-tl-lab\">I know<\/span>\n            <div class=\"fe-tl-seg\" id=\"fe-s-mode\">\n              <button type=\"button\" data-m=\"sig\" aria-pressed=\"true\">Sigma level<\/button>\n              <button type=\"button\" data-m=\"dpmo\" aria-pressed=\"false\">DPMO \/ PPM<\/button>\n              <button type=\"button\" data-m=\"yield\" aria-pressed=\"false\">Yield (%)<\/button>\n            <\/div><\/div>\n          <div class=\"fe-tl-f\"><label for=\"fe-s-v\" id=\"fe-s-vl\">Sigma level<\/label><input type=\"text\" inputmode=\"decimal\" id=\"fe-s-v\" autocomplete=\"off\"><\/div>\n          <label class=\"fe-tl-chk\"><input type=\"checkbox\" id=\"fe-s-shift\" checked><span>Include the 1.5 \u03c3 shift (industry convention)<small>Short-term process sigma = long-term Z + 1.5. Untick to use the raw normal distribution.<\/small><\/span><\/label>\n          <div><span class=\"fe-tl-lab\">Reference table<\/span>\n            <table class=\"fe-tl-tbl\"><thead><tr><th>\u03c3<\/th><th>DPMO<\/th><th>Yield<\/th><\/tr><\/thead><tbody id=\"fe-s-tbl\"><\/tbody><\/table><\/div>\n        <\/div>\n        <div class=\"fe-tl-out\">\n          <div class=\"fe-tl-kpis\">\n            <div class=\"fe-tl-kpi is-main\"><small>Sigma level<\/small><b id=\"fe-s-o1\">\u2013<\/b><\/div>\n            <div class=\"fe-tl-kpi\"><small>DPMO<\/small><b id=\"fe-s-o2\">\u2013<\/b><\/div>\n            <div class=\"fe-tl-kpi\"><small>Yield<\/small><b id=\"fe-s-o3\">\u2013<\/b><\/div>\n            <div class=\"fe-tl-kpi\"><small>Long-term Z<\/small><b id=\"fe-s-o4\">\u2013<\/b><\/div>\n          <\/div>\n          <div class=\"fe-tl-chart\" id=\"fe-s-chart\"><\/div>\n          <div class=\"fe-tl-msg\" id=\"fe-s-msg\"><\/div>\n        <\/div>\n      <\/div>\n      <div class=\"fe-tl-learn\"><div class=\"fe-tl-box\"><h3>Formulas<\/h3><b>DPMO<\/b> = (1 \u2212 \u03a6(\u03c3 \u2212 1.5)) \u00d7 10\u2076<br><b>\u03c3<\/b> = \u03a6\u207b\u00b9(1 \u2212 DPMO \/ 10\u2076) + 1.5<br><b>Yield<\/b> = 1 \u2212 DPMO \/ 10\u2076<\/div><div class=\"fe-tl-box is-trap\"><h3>Exam trap<\/h3>\u201c6 \u03c3 = 3.4 DPMO\u201d is only true <b>with<\/b> the 1.5 \u03c3 shift. Without the shift, 6 \u03c3 gives about 0.001 DPMO (one-sided). On the exam, check which convention the question uses.<\/div><\/div>      <p class=\"fe-tl-more\"><b>Go further:<\/b> <a href=\"https:\/\/www.flow-engineering.be\/en\/lean-six-sigma\/\">Lean Six Sigma and the DMAIC method<\/a> \u00b7 <a href=\"https:\/\/www.flow-engineering.be\/en\/jeux-six-sigma\/?jeu=spc\">SPC game: filling line<\/a><\/p>      <p class=\"fe-tl-train\"><a href=\"https:\/\/www.flow-engineering.be\/en\/products\/\">Practise sigma level and DPMO with exam questions \u2192<\/a><\/p>    <\/section>\n\n    <section class=\"fe-tl-card\" id=\"cpk\" data-p=\"cpk\" hidden>\n      <h2>Process capability calculator: Cp, Cpk, Pp, Ppk<\/h2>\n      <p>Enter the specification limits and the process mean and standard deviation, or paste your measurements.<\/p>\n      <div class=\"fe-tl-grid\">\n        <div class=\"fe-tl-in\">\n          <div class=\"fe-tl-2\">\n            <div class=\"fe-tl-f\"><label for=\"fe-c-lsl\">LSL (lower limit)<\/label><input type=\"text\" inputmode=\"decimal\" id=\"fe-c-lsl\" autocomplete=\"off\"><\/div>\n            <div class=\"fe-tl-f\"><label for=\"fe-c-usl\">USL (upper limit)<\/label><input type=\"text\" inputmode=\"decimal\" id=\"fe-c-usl\" autocomplete=\"off\"><\/div>\n          <\/div>\n          <div class=\"fe-tl-f\"><label for=\"fe-c-m\">Mean (x\u0304)<\/label><input type=\"text\" inputmode=\"decimal\" id=\"fe-c-m\" autocomplete=\"off\"><\/div>\n          <div class=\"fe-tl-2\">\n            <div class=\"fe-tl-f\"><label for=\"fe-c-sw\">\u03c3 within (short term)<\/label><input type=\"text\" inputmode=\"decimal\" id=\"fe-c-sw\" autocomplete=\"off\"><\/div>\n            <div class=\"fe-tl-f\"><label for=\"fe-c-so\">\u03c3 overall (long term) <small>optional<\/small><\/label><input type=\"text\" inputmode=\"decimal\" id=\"fe-c-so\" autocomplete=\"off\"><\/div>\n          <\/div>\n          <div class=\"fe-tl-f\"><label for=\"fe-c-data\">Or paste your measurements (in production order) <small>optional<\/small><\/label>\n            <textarea id=\"fe-c-data\" placeholder=\"e.g. 20.01 20.03 19.99 \u2026\"><\/textarea>\n            <div class=\"fe-tl-hint\" id=\"fe-c-dh\">Mean, \u03c3 overall (s) and \u03c3 within (MR\u0304 \/ 1.128) are then calculated from your data.<\/div><\/div>\n          <button type=\"button\" class=\"fe-tl-reset\" data-reset=\"cpk\">Reset example<\/button>\n        <\/div>\n        <div class=\"fe-tl-out\">\n          <div class=\"fe-tl-kpis\">\n            <div class=\"fe-tl-kpi\"><small>Cp<\/small><b id=\"fe-c-cp\">\u2013<\/b><\/div>\n            <div class=\"fe-tl-kpi is-main\" id=\"fe-c-kcpk\"><small>Cpk<\/small><b id=\"fe-c-cpk\">\u2013<\/b><\/div>\n            <div class=\"fe-tl-kpi\"><small>Pp<\/small><b id=\"fe-c-pp\">\u2013<\/b><\/div>\n            <div class=\"fe-tl-kpi\"><small>Ppk<\/small><b id=\"fe-c-ppk\">\u2013<\/b><\/div>\n          <\/div>\n          <div class=\"fe-tl-chart\" id=\"fe-c-chart\"><\/div>\n          <table class=\"fe-tl-ppm\"><thead><tr><th>Expected PPM out of tolerance<\/th><th>&lt; LSL<\/th><th>&gt; USL<\/th><th>Total<\/th><\/tr><\/thead>\n            <tbody><tr><td>within<\/td><td id=\"fe-c-w1\">\u2013<\/td><td id=\"fe-c-w2\">\u2013<\/td><td id=\"fe-c-w3\">\u2013<\/td><\/tr>\n            <tr><td>overall<\/td><td id=\"fe-c-v1\">\u2013<\/td><td id=\"fe-c-v2\">\u2013<\/td><td id=\"fe-c-v3\">\u2013<\/td><\/tr><\/tbody><\/table>\n          <div class=\"fe-tl-msg\" id=\"fe-c-msg\"><\/div>\n        <\/div>\n      <\/div>\n      <div class=\"fe-tl-learn\"><div class=\"fe-tl-box\"><h3>Formulas<\/h3><b>Cp<\/b> = (USL \u2212 LSL) \/ 6\u03c3<sub>within<\/sub><br><b>Cpk<\/b> = min(USL \u2212 x\u0304 ; x\u0304 \u2212 LSL) \/ 3\u03c3<sub>within<\/sub><br><b>Pp, Ppk<\/b>: same formulas with \u03c3<sub>overall<\/sub><\/div><div class=\"fe-tl-box is-trap\"><h3>Exam trap<\/h3>Cp measures the <b>spread<\/b> only, Cpk also takes <b>centring<\/b> into account. Cp \u2265 1.33 with a low Cpk means a well-dispersed but off-centre process: re-centre before reducing variation.<\/div><\/div>      <p class=\"fe-tl-more\"><b>Go further:<\/b> <a href=\"https:\/\/www.flow-engineering.be\/en\/jeux-six-sigma\/?jeu=capabilite\">Capability game: shaft machining<\/a> \u00b7 <a href=\"https:\/\/www.flow-engineering.be\/en\/jeux-six-sigma\/?jeu=msa\">Gage R&amp;R game: the caliper<\/a> \u00b7 <a href=\"https:\/\/www.flow-engineering.be\/en\/lean-six-sigma\/\">Lean Six Sigma<\/a><\/p>      <p class=\"fe-tl-train\"><a href=\"https:\/\/www.flow-engineering.be\/en\/products\/\">Practise Cp and Cpk with exam questions \u2192<\/a><\/p>    <\/section>\n\n    <section class=\"fe-tl-card\" id=\"rty\" data-p=\"rty\" hidden>\n      <h2>DPU, DPMO and rolled throughput yield (RTY) calculator<\/h2>\n      <p>From your defect count, calculate DPU, DPMO and sigma level, then the rolled yield of a multi-step process.<\/p>\n      <div class=\"fe-tl-grid\">\n        <div class=\"fe-tl-in\">\n          <div class=\"fe-tl-3\">\n            <div class=\"fe-tl-f\"><label for=\"fe-d-u\">Units inspected<\/label><input type=\"text\" inputmode=\"decimal\" id=\"fe-d-u\" autocomplete=\"off\"><\/div>\n            <div class=\"fe-tl-f\"><label for=\"fe-d-d\">Defects found<\/label><input type=\"text\" inputmode=\"decimal\" id=\"fe-d-d\" autocomplete=\"off\"><\/div>\n            <div class=\"fe-tl-f\"><label for=\"fe-d-o\">Opportunities per unit<\/label><input type=\"text\" inputmode=\"decimal\" id=\"fe-d-o\" autocomplete=\"off\"><\/div>\n          <\/div>\n          <label class=\"fe-tl-chk\"><input type=\"checkbox\" id=\"fe-d-shift\" checked><span>Include the 1.5 \u03c3 shift (industry convention)<\/span><\/label>\n        <\/div>\n        <div class=\"fe-tl-out\">\n          <div class=\"fe-tl-kpis\">\n            <div class=\"fe-tl-kpi\"><small>DPU<\/small><b id=\"fe-d-dpu\">\u2013<\/b><\/div>\n            <div class=\"fe-tl-kpi\"><small>DPMO<\/small><b id=\"fe-d-dpmo\">\u2013<\/b><\/div>\n            <div class=\"fe-tl-kpi is-main\"><small>Sigma level<\/small><b id=\"fe-d-sig\">\u2013<\/b><\/div>\n            <div class=\"fe-tl-kpi\"><small>FTY<\/small><b id=\"fe-d-fty\">\u2013<\/b><\/div>\n          <\/div>\n          <div class=\"fe-tl-msg\" id=\"fe-d-msg\"><\/div>\n        <\/div>\n      <\/div>\n      <div class=\"fe-tl-sep\"><\/div>\n      <h2 style=\"font-size:17px\">Rolled throughput yield (RTY)<\/h2>\n      <div class=\"fe-tl-grid\">\n        <div class=\"fe-tl-in\">\n          <div class=\"fe-tl-steps\" id=\"fe-r-steps\"><\/div>\n          <button type=\"button\" class=\"fe-tl-add\" id=\"fe-r-add\">+ Add a step<\/button>\n        <\/div>\n        <div class=\"fe-tl-out\">\n          <div class=\"fe-tl-kpis fe-tl-k3\">\n            <div class=\"fe-tl-kpi is-main\"><small>RTY<\/small><b id=\"fe-r-rty\">\u2013<\/b><\/div>\n            <div class=\"fe-tl-kpi\"><small>Normalised yield<\/small><b id=\"fe-r-norm\">\u2013<\/b><\/div>\n            <div class=\"fe-tl-kpi ko\"><small>Hidden factory<\/small><b id=\"fe-r-hid\">\u2013<\/b><\/div>\n          <\/div>\n          <div class=\"fe-tl-chart\" id=\"fe-r-chart\"><\/div>\n          <div class=\"fe-tl-msg\" id=\"fe-r-msg\"><\/div>\n        <\/div>\n      <\/div>\n      <div class=\"fe-tl-learn\"><div class=\"fe-tl-box\"><h3>Formulas<\/h3><b>DPU<\/b> = D \/ U<br><b>DPMO<\/b> = D \/ (U \u00d7 O) \u00d7 10\u2076<br><b>FTY<\/b> \u2248 e<sup>\u2212DPU<\/sup> (Poisson)<br><b>RTY<\/b> = Y\u2081 \u00d7 Y\u2082 \u00d7 \u2026 \u00d7 Y\u2099<br><b>Normalised yield<\/b> = RTY<sup>1\/n<\/sup><\/div><div class=\"fe-tl-box is-trap\"><h3>Exam trap<\/h3>RTY is the <b>product<\/b> of the step yields, not their average. Four steps at 95 % give an RTY of 81 %, not 95 %.<\/div><\/div>      <p class=\"fe-tl-more\"><b>Go further:<\/b> <a href=\"https:\/\/www.flow-engineering.be\/en\/lean-six-sigma\/\">Lean Six Sigma and the DMAIC method<\/a> \u00b7 <a href=\"https:\/\/www.flow-engineering.be\/en\/jeux-six-sigma\/\">All Six Sigma games<\/a><\/p>      <p class=\"fe-tl-train\"><a href=\"https:\/\/www.flow-engineering.be\/en\/products\/\">Practise DPU, DPMO and RTY with exam questions \u2192<\/a><\/p>    <\/section>\n\n    <section class=\"fe-tl-faq\"><h2>Frequently asked questions<\/h2><details><summary>What is the 1.5 sigma shift?<\/summary><p>Over the long term, a process mean drifts by about 1.5 standard deviations. By convention, Six Sigma quotes the short-term sigma level, so 6 \u03c3 corresponds to a long-term Z of 4.5, i.e. 3.4 defects per million opportunities.<\/p><\/details><details><summary>What is the difference between Cp and Cpk?<\/summary><p>Cp compares the tolerance width with the process spread (6\u03c3) and ignores centring. Cpk uses the distance from the mean to the nearest limit, so it drops when the process is off-centre. Cpk is always less than or equal to Cp.<\/p><\/details><details><summary>What is the difference between Cpk and Ppk?<\/summary><p>Cpk uses the within (short-term) standard deviation, Ppk the overall (long-term) one. A Ppk much lower than Cpk shows that the process shifts or drifts over time.<\/p><\/details><details><summary>Are DPMO and PPM the same?<\/summary><p>PPM counts defective parts per million parts, DPMO counts defects per million opportunities. They are equal only when each unit has a single defect opportunity.<\/p><\/details><details><summary>How do you calculate rolled throughput yield?<\/summary><p>Multiply the first-pass yields of all the steps: RTY = Y1 \u00d7 Y2 \u00d7 \u2026 \u00d7 Yn. It gives the probability that a unit goes through the whole process without any defect or rework.<\/p><\/details><\/section>\n    <div class=\"fe-tl-cta\"><p>Train on these topics with exam questions and explanations<\/p><a class=\"fe-tl-go\" href=\"https:\/\/www.flow-engineering.be\/en\/products\/\">Try the White Belt for free<\/a><\/div>    <p class=\"fe-tl-priv\">All calculations run in your browser: no data is sent or stored.<\/p>\n  <\/div>\n<\/div>\n<script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"What is the 1.5 sigma shift?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Over the long term, a process mean drifts by about 1.5 standard deviations. By convention, Six Sigma quotes the short-term sigma level, so 6 \u03c3 corresponds to a long-term Z of 4.5, i.e. 3.4 defects per million opportunities.\"}},{\"@type\":\"Question\",\"name\":\"What is the difference between Cp and Cpk?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Cp compares the tolerance width with the process spread (6\u03c3) and ignores centring. Cpk uses the distance from the mean to the nearest limit, so it drops when the process is off-centre. Cpk is always less than or equal to Cp.\"}},{\"@type\":\"Question\",\"name\":\"What is the difference between Cpk and Ppk?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Cpk uses the within (short-term) standard deviation, Ppk the overall (long-term) one. A Ppk much lower than Cpk shows that the process shifts or drifts over time.\"}},{\"@type\":\"Question\",\"name\":\"Are DPMO and PPM the same?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"PPM counts defective parts per million parts, DPMO counts defects per million opportunities. They are equal only when each unit has a single defect opportunity.\"}},{\"@type\":\"Question\",\"name\":\"How do you calculate rolled throughput yield?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Multiply the first-pass yields of all the steps: RTY = Y1 \u00d7 Y2 \u00d7 \u2026 \u00d7 Yn. It gives the probability that a unit goes through the whole process without any defect or rework.\"}}]}<\/script>\n<script>\nwindow.FE_TL = {\"lang\":\"en\",\"one\":\"1 defect in\",\"opp\":\"opportunities\",\"step\":\"Step\",\"rm\":\"Remove\",\"sig\":\"Sigma level\",\"dpmo\":\"DPMO \\\/ PPM\",\"yield\":\"Yield (%)\",\"cap\":\"Capable process (Cpk \u2265 1.33).\",\"lim\":\"Borderline process (1 \u2264 Cpk < 1.33): to be improved.\",\"no\":\"Process not capable (Cpk < 1).\",\"off\":\"The process is off-centre: re-centring it would bring Cpk up to Cp = \",\"drift\":\"Ppk is clearly below Cpk: the process drifts or shifts over time (special causes).\",\"err\":\"Enter at least one limit, the mean and a \u03c3 greater than 0.\",\"onesided\":\"One-sided specification: only Cpk is meaningful.\",\"n\":\"values\",\"cw\":\"Within (Cp\\\/Cpk)\",\"co\":\"Overall (Pp\\\/Ppk)\",\"hid\":\"of units need at least one rework or are scrapped somewhere in the process.\"};\n<\/script>\n<script>\n(function () {\n  var L = window.FE_TL, FR = L.lang === 'fr', LOC = FR ? 'fr-BE' : 'en-GB';\n  var $ = function (id) { return document.getElementById(id); };\n  var root = document.querySelector('.fe-tl'); if (!root) return;\n\n  \/* ---------- Maths ---------- *\/\n  function erfc(x) { var z = Math.abs(x), t = 1 \/ (1 + 0.5 * z);\n    var r = t * Math.exp(-z * z - 1.26551223 + t * (1.00002368 + t * (0.37409196 + t * (0.09678418 + t * (-0.18628806 + t * (0.27886807 + t * (-1.13520398 + t * (1.48851587 + t * (-0.82215223 + t * 0.17087277)))))))));\n    return x >= 0 ? r : 2 - r; }\n  function Q(z) { return 0.5 * erfc(z \/ Math.SQRT2); }            \/* P(Z > z) *\/\n  function Phi(z) { return 1 - Q(z); }\n  function invLow(p) { \/* Acklam : z tel que Phi(z) = p *\/\n    var a = [-39.69683028665376, 220.9460984245205, -275.9285104469687, 138.3577518672690, -30.66479806614716, 2.506628277459239],\n        b = [-54.47609879822406, 161.5858368580409, -155.6989798598866, 66.80131188771972, -13.28068155288572],\n        c = [-0.007784894002430293, -0.3223964580411365, -2.400758277161838, -2.549732539343734, 4.374664141464968, 2.938163982698783],\n        d = [0.007784695709041462, 0.3224671290700398, 2.445134137142996, 3.754408661907416], q, r, x;\n    if (p <= 0) return -Infinity; if (p >= 1) return Infinity;\n    if (p < 0.02425) { q = Math.sqrt(-2 * Math.log(p)); x = (((((c[0] * q + c[1]) * q + c[2]) * q + c[3]) * q + c[4]) * q + c[5]) \/ ((((d[0] * q + d[1]) * q + d[2]) * q + d[3]) * q + 1); }\n    else if (p > 1 - 0.02425) { q = Math.sqrt(-2 * Math.log(1 - p)); x = -(((((c[0] * q + c[1]) * q + c[2]) * q + c[3]) * q + c[4]) * q + c[5]) \/ ((((d[0] * q + d[1]) * q + d[2]) * q + d[3]) * q + 1); }\n    else { q = p - 0.5; r = q * q; x = (((((a[0] * r + a[1]) * r + a[2]) * r + a[3]) * r + a[4]) * r + a[5]) * q \/ (((((b[0] * r + b[1]) * r + b[2]) * r + b[3]) * r + b[4]) * r + 1); }\n    return x; }\n  function zFromTail(p) { \/* z tel que Q(z) = p, pr\u00e9cis dans la queue *\/\n    var z = -invLow(p);\n    for (var i = 0; i < 2; i++) { var e = Q(z) - p, u = e * Math.sqrt(2 * Math.PI) * Math.exp(z * z \/ 2); z = z + u \/ (1 + z * u \/ 2); }\n    return z; }\n\n  \/* ---------- Format ---------- *\/\n  function num(s) { if (s == null) return NaN; s = String(s).trim().replace(\/\\s\/g, '').replace(',', '.'); return s === '' ? NaN : Number(s); }\n  function f(x, d) { if (!isFinite(x)) return '\u2013'; return x.toLocaleString(LOC, {minimumFractionDigits: d, maximumFractionDigits: d}); }\n  function fs(x) { \/* 3 chiffres significatifs, sans notation scientifique *\/\n    if (!isFinite(x)) return '\u2013'; if (x === 0) return '0';\n    var a = Math.abs(x); if (a >= 100) return f(x, 0); if (a >= 10) return f(x, 1); if (a >= 1) return f(x, 2);\n    var d = Math.min(8, 2 - Math.floor(Math.log10(a))); return f(x, d); }\n  function pct(p) { if (!isFinite(p)) return '\u2013'; var v = p * 100; return (v >= 99.99 && v < 100 ? fs4(v) : f(v, v >= 10 ? 2 : 3)) + ' %'; }\n  function fs4(v) { var d = 2; while (d < 8 && Number(v.toFixed(d)) >= 100) d++; return f(v, Math.max(4, d)); }\n  function esc(s) { return String(s).replace(\/[&<>\"]\/g, function (c) { return {'&': '&amp;', '<': '&lt;', '>': '&gt;', '\"': '&quot;'}[c]; }); }\n\n  \/* ---------- SVG cloche ---------- *\/\n  function bell(o) { \/* o: {lo, hi, curves:[{m,s,color,dash,fill}], lines:[{x,label,color}], shade:{from,to}, hist} *\/\n    var W = 640, H = 230, P = 26, B = H - 34, x0 = o.lo, x1 = o.hi;\n    var X = function (v) { return P + (v - x0) \/ (x1 - x0) * (W - 2 * P); };\n    var ymax = 0, curves = o.curves.map(function (c) { var pts = []; for (var i = 0; i <= 160; i++) { var v = x0 + (x1 - x0) * i \/ 160, y = Math.exp(-0.5 * Math.pow((v - c.m) \/ c.s, 2)) \/ c.s; pts.push([v, y]); if (y > ymax) ymax = y; } return {c: c, pts: pts}; });\n    var hmax = 0; if (o.hist) o.hist.forEach(function (h) { if (h.d > hmax) hmax = h.d; }); ymax = Math.max(ymax, hmax);\n    var Y = function (y) { return B - y \/ ymax * (B - 14); };\n    var s = '<svg viewBox=\"0 0 ' + W + ' ' + H + '\" role=\"img\">';\n    if (o.hist) o.hist.forEach(function (h) { s += '<rect x=\"' + X(h.a).toFixed(1) + '\" y=\"' + Y(h.d).toFixed(1) + '\" width=\"' + Math.max(1, X(h.b) - X(h.a) - 1).toFixed(1) + '\" height=\"' + (B - Y(h.d)).toFixed(1) + '\" fill=\"#93C5FD\" opacity=\".55\"\/>'; });\n    curves.forEach(function (k) {\n      if (k.c.tails) { k.c.tails.forEach(function (t) { var a = Math.max(t[0], x0), b = Math.min(t[1], x1); if (b <= a) return; var d = 'M' + X(a).toFixed(1) + ',' + B; k.pts.forEach(function (p) { if (p[0] >= a && p[0] <= b) d += ' L' + X(p[0]).toFixed(1) + ',' + Y(p[1]).toFixed(1); }); d += ' L' + X(b).toFixed(1) + ',' + B + 'Z'; s += '<path d=\"' + d + '\" fill=\"#DC2626\" opacity=\".28\"\/>'; }); }\n      var d = ''; k.pts.forEach(function (p, i) { d += (i ? ' L' : 'M') + X(p[0]).toFixed(1) + ',' + Y(p[1]).toFixed(1); });\n      s += '<path d=\"' + d + '\" fill=\"none\" stroke=\"' + k.c.color + '\" stroke-width=\"2.2\"' + (k.c.dash ? ' stroke-dasharray=\"6 5\"' : '') + '\/>';\n    });\n    s += '<line x1=\"' + P + '\" x2=\"' + (W - P) + '\" y1=\"' + B + '\" y2=\"' + B + '\" stroke=\"#CBD5E1\" stroke-width=\"1.5\"\/>';\n    (o.lines || []).forEach(function (l) { if (!isFinite(l.x) || l.x < x0 || l.x > x1) return; var x = X(l.x).toFixed(1);\n      s += '<line x1=\"' + x + '\" x2=\"' + x + '\" y1=\"10\" y2=\"' + B + '\" stroke=\"' + l.color + '\" stroke-width=\"2\"' + (l.dash ? ' stroke-dasharray=\"5 4\"' : '') + '\/>';\n      s += '<text x=\"' + x + '\" y=\"' + (B + 18) + '\" text-anchor=\"middle\" font-size=\"12.5\" font-weight=\"600\" fill=\"' + l.color + '\" font-family=\"Geist,system-ui,sans-serif\">' + esc(l.label) + '<\/text>'; });\n    (o.legend || []).forEach(function (g, i) { var y = 16 + i * 17; s += '<line x1=\"' + (W - 170) + '\" x2=\"' + (W - 146) + '\" y1=\"' + y + '\" y2=\"' + y + '\" stroke=\"' + g.color + '\" stroke-width=\"2.2\"' + (g.dash ? ' stroke-dasharray=\"6 5\"' : '') + '\/><text x=\"' + (W - 140) + '\" y=\"' + (y + 4) + '\" font-size=\"12\" fill=\"#334155\" font-family=\"Geist,system-ui,sans-serif\">' + esc(g.label) + '<\/text>'; });\n    return s + '<\/svg>'; }\n\n  \/* ---------- Onglets ---------- *\/\n  var tabs = [].slice.call(root.querySelectorAll('.fe-tl-tab')), panes = [].slice.call(root.querySelectorAll('[data-p]'));\n  function show(t, push) { if (!panes.some(function (p) { return p.dataset.p === t; })) t = 'sigma';\n    tabs.forEach(function (b) { b.setAttribute('aria-selected', b.dataset.t === t ? 'true' : 'false'); });\n    panes.forEach(function (p) { p.hidden = p.dataset.p !== t; });\n    if (push) { try { history.replaceState(null, '', '#' + t); } catch (e) {} } }\n  tabs.forEach(function (b) { b.addEventListener('click', function () { show(b.dataset.t, true); }); });\n  show((location.hash || '').slice(1), false);\n  window.addEventListener('hashchange', function () { show((location.hash || '').slice(1), false); });\n\n  \/* ---------- 1. Sigma ---------- *\/\n  var sMode = 'sig', sEx = {sig: '4,5', dpmo: '6210', yield: '99,38'};\n  if (!FR) sEx = {sig: '4.5', dpmo: '6210', yield: '99.38'};\n  var sv = $('fe-s-v'), sh = $('fe-s-shift');\n  root.querySelectorAll('#fe-s-mode button').forEach(function (b) { b.addEventListener('click', function () {\n    var cur = sCalc(); sMode = b.dataset.m;\n    root.querySelectorAll('#fe-s-mode button').forEach(function (x) { x.setAttribute('aria-pressed', x === b ? 'true' : 'false'); });\n    $('fe-s-vl').textContent = L[sMode];\n    if (cur) { sv.value = sMode === 'sig' ? f(cur.sig, 2) : sMode === 'dpmo' ? fs(cur.dpmo).replace(\/\\s\/g, '') : (cur.y * 100).toLocaleString(LOC, {maximumFractionDigits: 6}); }\n    else sv.value = sEx[sMode];\n    sRun(); }); });\n  function sCalc() {\n    var v = num(sv.value), s = sh.checked ? 1.5 : 0, p, sig;\n    if (!isFinite(v)) return null;\n    if (sMode === 'sig') { sig = v; p = Q(v - s); }\n    else if (sMode === 'dpmo') { if (v <= 0 || v >= 1e6) return null; p = v \/ 1e6; sig = zFromTail(p) + s; }\n    else { if (v <= 0 || v >= 100) return null; p = 1 - v \/ 100; sig = zFromTail(p) + s; }\n    return {sig: sig, p: p, dpmo: p * 1e6, y: 1 - p, zlt: sig - s}; }\n  function sRun() {\n    var r = sCalc(), s = sh.checked ? 1.5 : 0;\n    var tb = ''; for (var k = 1; k <= 6; k++) { var p = Q(k - s); tb += '<tr' + (r && Math.round(r.sig) === k ? ' class=\"is-on\"' : '') + '><td>' + k + ' \u03c3<\/td><td>' + fs(p * 1e6) + '<\/td><td>' + pct(1 - p) + '<\/td><\/tr>'; }\n    $('fe-s-tbl').innerHTML = tb;\n    if (!r) { ['fe-s-o1', 'fe-s-o2', 'fe-s-o3', 'fe-s-o4'].forEach(function (i) { $(i).textContent = '\u2013'; }); $('fe-s-chart').innerHTML = ''; $('fe-s-msg').textContent = ''; return; }\n    $('fe-s-o1').textContent = f(r.sig, 2) + ' \u03c3'; $('fe-s-o2').textContent = fs(r.dpmo); $('fe-s-o3').textContent = pct(r.y); $('fe-s-o4').textContent = f(r.zlt, 2);\n    var z = Math.max(-1, Math.min(6.5, r.zlt));\n    $('fe-s-chart').innerHTML = bell({lo: -4, hi: Math.max(4.6, z + 0.8), curves: [{m: 0, s: 1, color: '#2563EB', tails: [[z, 99]]}],\n      lines: [{x: 0, label: '\u03bc', color: '#15803D'}, {x: z, label: 'Z = ' + f(r.zlt, 2), color: '#DC2626', dash: true}]});\n    var one = r.p > 0 ? 1 \/ r.p : Infinity;\n    $('fe-s-msg').innerHTML = '<b>' + esc(L.one) + ' ' + (isFinite(one) ? fs(one) : '\u221e') + '<\/b> ' + esc(L.opp) + '.'; }\n  sv.addEventListener('input', sRun); sh.addEventListener('change', sRun);\n  sv.value = sEx.sig; sRun();\n\n  \/* ---------- 2. Capabilit\u00e9 ---------- *\/\n  var C = {lsl: $('fe-c-lsl'), usl: $('fe-c-usl'), m: $('fe-c-m'), sw: $('fe-c-sw'), so: $('fe-c-so'), data: $('fe-c-data')};\n  var cEx = FR ? {lsl: '19,95', usl: '20,05', m: '20,012', sw: '0,012', so: '0,014'} : {lsl: '19.95', usl: '20.05', m: '20.012', sw: '0.012', so: '0.014'};\n  function cSet(o) { for (var k in o) C[k].value = o[k]; C.data.value = ''; }\n  var hist = null, dh0 = $('fe-c-dh').textContent;\n  function cData() {\n    var v = (C.data.value.match(\/-?\\d+(?:[.,]\\d+)?\/g) || []).map(num).filter(isFinite);\n    if (v.length < 2) { hist = null; $('fe-c-dh').textContent = dh0; return false; }\n    var n = v.length, m = v.reduce(function (a, b) { return a + b; }, 0) \/ n;\n    var s = Math.sqrt(v.reduce(function (a, b) { return a + (b - m) * (b - m); }, 0) \/ (n - 1));\n    var mr = 0; for (var i = 1; i < n; i++) mr += Math.abs(v[i] - v[i - 1]); var sw = (mr \/ (n - 1)) \/ 1.128;\n    var dg = function (x) { return Number(x.toPrecision(5)).toLocaleString(LOC, {maximumFractionDigits: 8}); };\n    C.m.value = dg(m); C.so.value = dg(s); C.sw.value = dg(sw > 0 ? sw : s);\n    var mn = Math.min.apply(null, v), mx = Math.max.apply(null, v), k = Math.max(5, Math.min(20, Math.round(Math.sqrt(n)))), w = (mx - mn) \/ k || 1;\n    var bins = []; for (var j = 0; j < k; j++) bins.push({a: mn + j * w, b: mn + (j + 1) * w, c: 0});\n    v.forEach(function (x) { var j = Math.min(k - 1, Math.floor((x - mn) \/ w)); bins[j].c++; });\n    hist = bins.map(function (b) { return {a: b.a, b: b.b, d: b.c \/ (n * w) * Math.sqrt(2 * Math.PI)}; });\n    $('fe-c-dh').textContent = n + ' ' + L.n + ' \u00b7 x\u0304 = ' + dg(m) + ' \u00b7 s = ' + dg(s) + ' \u00b7 \u03c3 within = ' + dg(sw);\n    return true; }\n  function cRun() {\n    var lsl = num(C.lsl.value), usl = num(C.usl.value), m = num(C.m.value), sw = num(C.sw.value), so = num(C.so.value);\n    if (!isFinite(so) || so <= 0) so = sw;\n    var msg = $('fe-c-msg'), ids = ['fe-c-cp', 'fe-c-cpk', 'fe-c-pp', 'fe-c-ppk', 'fe-c-w1', 'fe-c-w2', 'fe-c-w3', 'fe-c-v1', 'fe-c-v2', 'fe-c-v3'];\n    if (!isFinite(m) || !(sw > 0) || (!isFinite(lsl) && !isFinite(usl)) || (isFinite(lsl) && isFinite(usl) && usl <= lsl)) {\n      ids.forEach(function (i) { $(i).textContent = '\u2013'; }); $('fe-c-chart').innerHTML = ''; msg.className = 'fe-tl-msg'; msg.textContent = L.err; return; }\n    var two = isFinite(lsl) && isFinite(usl);\n    var cp = two ? (usl - lsl) \/ (6 * sw) : NaN, pp = two ? (usl - lsl) \/ (6 * so) : NaN;\n    var cpu = isFinite(usl) ? (usl - m) \/ (3 * sw) : Infinity, cpl = isFinite(lsl) ? (m - lsl) \/ (3 * sw) : Infinity, cpk = Math.min(cpu, cpl);\n    var ppu = isFinite(usl) ? (usl - m) \/ (3 * so) : Infinity, ppl = isFinite(lsl) ? (m - lsl) \/ (3 * so) : Infinity, ppk = Math.min(ppu, ppl);\n    var tail = function (s) { var a = isFinite(lsl) ? Phi((lsl - m) \/ s) * 1e6 : 0, b = isFinite(usl) ? Q((usl - m) \/ s) * 1e6 : 0; return [a, b, a + b]; };\n    var w = tail(sw), o = tail(so);\n    $('fe-c-cp').textContent = f(cp, 2); $('fe-c-cpk').textContent = f(cpk, 2); $('fe-c-pp').textContent = f(pp, 2); $('fe-c-ppk').textContent = f(ppk, 2);\n    [['fe-c-w', w], ['fe-c-v', o]].forEach(function (x) { for (var i = 0; i < 3; i++) $(x[0] + (i + 1)).textContent = fs(x[1][i]); });\n    var cls = cpk >= 1.33 ? 'ok' : cpk >= 1 ? 'mid' : 'ko';\n    $('fe-c-kcpk').className = 'fe-tl-kpi is-main ' + cls;\n    var t = '<b>' + esc(cpk >= 1.33 ? L.cap : cpk >= 1 ? L.lim : L.no) + '<\/b>';\n    if (!two) t += ' ' + esc(L.onesided);\n    else if (cp - cpk > 0.15 * cp && cp - cpk > 0.1) t += ' ' + esc(L.off) + f(cp, 2) + '.';\n    if (so > sw * 1.2 && ppk < cpk - 0.1) t += ' ' + esc(L.drift);\n    msg.className = 'fe-tl-msg ' + cls; msg.innerHTML = t;\n    var sm = Math.max(sw, so), lo = Math.min(isFinite(lsl) ? lsl : m - 4 * sm, m - 4 * sm), hi = Math.max(isFinite(usl) ? usl : m + 4 * sm, m + 4 * sm), pad = (hi - lo) * 0.06;\n    var tails = []; if (isFinite(lsl)) tails.push([-Infinity, lsl]); if (isFinite(usl)) tails.push([usl, Infinity]);\n    var curves = [{m: m, s: sw, color: '#2563EB', tails: tails}], legend = [{label: L.cw, color: '#2563EB'}];\n    if (so !== sw) { curves.push({m: m, s: so, color: '#7C3AED', dash: true}); legend.push({label: L.co, color: '#7C3AED', dash: true}); }\n    var lines = [{x: m, label: 'x\u0304', color: '#15803D'}]; if (isFinite(lsl)) lines.push({x: lsl, label: 'LSL', color: '#DC2626'}); if (isFinite(usl)) lines.push({x: usl, label: 'USL', color: '#DC2626'});\n    $('fe-c-chart').innerHTML = bell({lo: lo - pad, hi: hi + pad, curves: curves, lines: lines, legend: legend, hist: hist}); }\n  ['lsl', 'usl', 'm', 'sw', 'so'].forEach(function (k) { C[k].addEventListener('input', function () { if (k === 'm' || k === 'sw' || k === 'so') { hist = null; } cRun(); }); });\n  C.data.addEventListener('input', function () { cData(); cRun(); });\n  root.querySelector('[data-reset=\"cpk\"]').addEventListener('click', function () { cSet(cEx); hist = null; $('fe-c-dh').textContent = dh0; cRun(); });\n  cSet(cEx); cRun();\n\n  \/* ---------- 3. DPU \/ DPMO \/ RTY ---------- *\/\n  var D = {u: $('fe-d-u'), d: $('fe-d-d'), o: $('fe-d-o'), sh: $('fe-d-shift')};\n  D.u.value = '500'; D.d.value = '37'; D.o.value = '8';\n  function dRun() {\n    var u = num(D.u.value), d = num(D.d.value), o = num(D.o.value), s = D.sh.checked ? 1.5 : 0;\n    if (!(u > 0) || !(o > 0) || !(d >= 0) || d > u * o) { ['fe-d-dpu', 'fe-d-dpmo', 'fe-d-sig', 'fe-d-fty'].forEach(function (i) { $(i).textContent = '\u2013'; }); $('fe-d-msg').textContent = ''; return; }\n    var dpu = d \/ u, dpo = d \/ (u * o), dpmo = dpo * 1e6, sig = dpo > 0 ? zFromTail(dpo) + s : Infinity, fty = Math.exp(-dpu);\n    $('fe-d-dpu').textContent = f(dpu, 3); $('fe-d-dpmo').textContent = fs(dpmo); $('fe-d-sig').textContent = isFinite(sig) ? f(sig, 2) + ' \u03c3' : '> 8 \u03c3'; $('fe-d-fty').textContent = pct(fty);\n    $('fe-d-msg').innerHTML = 'DPO = ' + fs(dpo) + ' \u00b7 ' + esc(L.one) + ' ' + (dpo > 0 ? fs(1 \/ dpo) : '\u221e') + ' ' + esc(L.opp) + '.'; }\n  ['u', 'd', 'o'].forEach(function (k) { D[k].addEventListener('input', dRun); }); D.sh.addEventListener('change', dRun); dRun();\n\n  var steps = FR ? ['98', '95', '99', '97'] : ['98', '95', '99', '97'], box = $('fe-r-steps');\n  function rDraw() {\n    box.innerHTML = steps.map(function (v, i) { return '<div class=\"fe-tl-step\"><span>' + esc(L.step) + ' ' + (i + 1) + '<\/span><input type=\"text\" inputmode=\"decimal\" value=\"' + esc(v) + '\" data-i=\"' + i + '\" aria-label=\"' + esc(L.step) + ' ' + (i + 1) + ' (%)\"><button type=\"button\" class=\"fe-tl-x\" data-x=\"' + i + '\" aria-label=\"' + esc(L.rm) + '\"' + (steps.length < 2 ? ' disabled' : '') + '>\u00d7<\/button><\/div>'; }).join('');\n    rRun(); }\n  function rRun() {\n    var ys = steps.map(function (v) { return num(v) \/ 100; });\n    if (!ys.length || ys.some(function (y) { return !(y > 0 && y <= 1); })) { ['fe-r-rty', 'fe-r-norm', 'fe-r-hid'].forEach(function (i) { $(i).textContent = '\u2013'; }); $('fe-r-chart').innerHTML = ''; $('fe-r-msg').textContent = ''; return; }\n    var cum = [], r = 1; ys.forEach(function (y) { r *= y; cum.push(r); });\n    var norm = Math.pow(r, 1 \/ ys.length);\n    $('fe-r-rty').textContent = pct(r); $('fe-r-norm').textContent = pct(norm); $('fe-r-hid').textContent = pct(1 - r);\n    $('fe-r-msg').innerHTML = '<b>' + pct(1 - r) + '<\/b> ' + esc(L.hid);\n    var W = 640, H = 210, P = 30, n = ys.length, bw = Math.min(70, (W - 2 * P) \/ n * 0.62), gap = (W - 2 * P) \/ n, B = H - 34, s = '<svg viewBox=\"0 0 ' + W + ' ' + H + '\" role=\"img\">';\n    var mn = Math.max(0, Math.floor((Math.min.apply(null, cum) - 0.05) * 10) \/ 10), Y = function (v) { return B - (v - mn) \/ (1 - mn) * (B - 18); };\n    [mn, (1 + mn) \/ 2, 1].forEach(function (g) { s += '<line x1=\"' + P + '\" x2=\"' + (W - P) + '\" y1=\"' + Y(g).toFixed(1) + '\" y2=\"' + Y(g).toFixed(1) + '\" stroke=\"#E2E8F0\"\/><text x=\"' + (P - 4) + '\" y=\"' + (Y(g) + 4).toFixed(1) + '\" text-anchor=\"end\" font-size=\"11\" fill=\"#94A3B8\" font-family=\"Geist,system-ui,sans-serif\">' + f(g * 100, 0) + '<\/text>'; });\n    ys.forEach(function (y, i) { var x = P + gap * i + (gap - bw) \/ 2;\n      s += '<rect x=\"' + x.toFixed(1) + '\" y=\"' + Y(y).toFixed(1) + '\" width=\"' + bw.toFixed(1) + '\" height=\"' + (B - Y(y)).toFixed(1) + '\" rx=\"4\" fill=\"#BFDBFE\"\/>';\n      s += '<rect x=\"' + (x + bw * 0.25).toFixed(1) + '\" y=\"' + Y(cum[i]).toFixed(1) + '\" width=\"' + (bw * 0.5).toFixed(1) + '\" height=\"' + (B - Y(cum[i])).toFixed(1) + '\" rx=\"3\" fill=\"#2563EB\"\/>';\n      s += '<text x=\"' + (x + bw \/ 2).toFixed(1) + '\" y=\"' + (Y(cum[i]) - 6).toFixed(1) + '\" text-anchor=\"middle\" font-size=\"12\" font-weight=\"600\" fill=\"#1D4ED8\" font-family=\"Geist,system-ui,sans-serif\">' + f(cum[i] * 100, 1) + '<\/text>';\n      s += '<text x=\"' + (x + bw \/ 2).toFixed(1) + '\" y=\"' + (B + 18) + '\" text-anchor=\"middle\" font-size=\"12\" fill=\"#334155\" font-family=\"Geist,system-ui,sans-serif\">' + esc(L.step) + ' ' + (i + 1) + '<\/text>'; });\n    $('fe-r-chart').innerHTML = s + '<\/svg>'; }\n  box.addEventListener('input', function (e) { var i = e.target.dataset.i; if (i != null) { steps[+i] = e.target.value; rRun(); } });\n  box.addEventListener('click', function (e) { var b = e.target.closest('[data-x]'); if (b && steps.length > 1) { steps.splice(+b.dataset.x, 1); rDraw(); } });\n  $('fe-r-add').addEventListener('click', function () { if (steps.length < 12) { steps.push(FR ? '96' : '96'); rDraw(); } });\n  rDraw();\n})();<\/script>\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":4679,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_surecart_dashboard_logo_width":"180px","_surecart_dashboard_show_logo":true,"_surecart_dashboard_navigation_orders":true,"_surecart_dashboard_navigation_invoices":true,"_surecart_dashboard_navigation_subscriptions":true,"_surecart_dashboard_navigation_downloads":true,"_surecart_dashboard_navigation_saved":true,"_surecart_dashboard_navigation_billing":true,"_surecart_dashboard_navigation_account":true,"_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"class_list":["post-4677","page","type-page","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.flow-engineering.be\/en\/wp-json\/wp\/v2\/pages\/4677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flow-engineering.be\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.flow-engineering.be\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.flow-engineering.be\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flow-engineering.be\/en\/wp-json\/wp\/v2\/comments?post=4677"}],"version-history":[{"count":1,"href":"https:\/\/www.flow-engineering.be\/en\/wp-json\/wp\/v2\/pages\/4677\/revisions"}],"predecessor-version":[{"id":4680,"href":"https:\/\/www.flow-engineering.be\/en\/wp-json\/wp\/v2\/pages\/4677\/revisions\/4680"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.flow-engineering.be\/en\/wp-json\/wp\/v2\/media\/4679"}],"wp:attachment":[{"href":"https:\/\/www.flow-engineering.be\/en\/wp-json\/wp\/v2\/media?parent=4677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}