THR / Hazard-Rate Calculator
Failure rates, dangerous-failure split, hardware architectures with CCF, SIL bands and THR apportionment per EN 50129 / EN 50126-2
Work through the quantitative side of a safety function: build a failure rate from components, split it into dangerous detected/undetected parts, apply a hardware architecture with common cause failures, compare the result with the TFFR/SIL bands and apportion a THR. Each section feeds the next, but every input can be overridden.
Random hardware failures only
The numbers on this page cover random hardware failures only. Per EN 50128 / EN 50716, software has no failure rate: software integrity is systematic and is achieved by the techniques and process of the selected SIL. Selecting software options below changes the obligations list, never the computed rate. Combining a SIL-X software process with an insufficient hardware architecture does not make the function SIL X.
1. Failure rate from components (series model)
Series ("parts count") model: the item fails when any component fails, so the rates add up. Assumes constant failure rates during useful life and independent failures.
MTTF is not a lifetime: only 36.8 % of units survive to t = MTTF.
2. Dangerous-failure split
Only some failure modes are dangerous (wrong-side), and diagnostics detect a share of those. The wrong-side fraction comes from an FMEA; the diagnostic coverage (DC) from the diagnostic design.
Pre-filled from section 1 when you calculate there; you can override it.
3. Hardware architecture
Simplified first-order formulas (λ·T ≪ 1, constant rates, identical channels, β-factor model for common cause failures). The exact forms are in IEC 61508-6 Annex B.
HR = λ_DU (+ λ_DD if detected faults are not negated). No redundancy, no CCF term.
PFH ≈ λ_DU²·T1 + β·λ_DU. T1 is the proof-test interval during which an undetected fault can stay latent.
HR ≈ 2·λ_D²·T_neg + β·λ_D. Uses λ_D (not λ_DU): a single dangerous failure is revealed by channel disagreement within T_neg.
Safety side equals a single 2oo2 pair: HR ≈ 2·λ_D²·T_neg + β·λ_D. The standby pair adds availability (the system keeps running after one pair shuts down), not safety. Assumes a fail-safe switchover.
PFH ≈ 3·λ_DU²·T1 + β·λ_DU. The factor 3 counts the three channel pairs; any two failed channels outvote the third.
λ_D and λ_DU come from section 2; recalculate there after changing inputs.
β is the share of dangerous failures assumed common to the channels. Typical assessed values are in the percent range; values far below that must be justified by demonstrated independence.
4. Software architecture and development approach (qualitative)
Software integrity is systematic: it is achieved by techniques, process and independence of roles, not by a rate. This section lists obligations; it never changes the numbers above.
One software channel implements the function; integrity rests entirely on the development process and verification.
What it protects against
Nothing at runtime beyond its own defensive checks; correctness is argued from the process evidence.
What it does not protect against
Residual design and specification errors; a single coding fault can defeat the function.
Typical use
Lower-SIL functions, or SIL 3–4 only together with a hardware comparison architecture (e.g. 2oo2 over diverse channels).
A primary channel computes the function; an independent, simpler monitor (safety bag) checks the output against safety rules and can force the safe state.
What it protects against
Dangerous outputs of the primary channel that violate the monitored safety rules, including some systematic faults of the primary.
What it does not protect against
Errors in the safety rules themselves, hazards outside the monitored envelope, and shared-specification errors between channel and monitor.
Typical use
Interlocking logic and supervision functions where a compact set of safety conditions can be stated independently.
Two or more independently developed versions of the software compute the function; a voter compares the results.
What it protects against
Independent implementation (coding, compiler, library) faults that produce differing outputs.
What it does not protect against
Shared-specification errors: all versions are built from the same requirements, so a wrong requirement defeats every version. Experiments also show correlated faults in "hard" parts of the problem.
Typical use
Historically in vital computers; costly, and its added value over one well-verified channel plus diverse hardware is debated.
Two diverse software channels run on a self-checking pair; outputs are compared continuously and any disagreement forces the safe state.
What it protects against
Random hardware faults of either processing lane and software faults that make the channels disagree.
What it does not protect against
Shared-specification errors and identical faults producing the same wrong output in both channels.
Typical use
SIL 3–4 signalling platforms (composite fail-safety per EN 50129) where the comparison also covers the hardware.
Orientation list of measure groups
Orientation only – the binding selection is the published Annex A tables of EN 50128 / EN 50716 agreed with the assessor. "HR" below means highly recommended.
- Defined lifecycle, quality assurance and configuration management (always required).
- Documented requirements, design, and testing with defined entry/exit criteria.
- Verification of each phase output; functional and black-box testing.
- No independence of roles formally required, but reviewer separation is good practice.
- Defined lifecycle, quality assurance and configuration management (always required).
- Documented requirements, design, and testing with defined entry/exit criteria.
- Verification of each phase output; functional and black-box testing.
- Independence: tester independent of implementer; validator independent of the project team.
- Design and coding standards, modular approach, strongly typed language subset (HR).
- Static analysis and data/control flow analysis (HR); structural coverage measured at statement/branch level.
- Tool qualification: classify tools T1/T2/T3 and justify T2/T3 tools (output-verifying or output-generating).
- Defined lifecycle, quality assurance and configuration management (always required).
- Documented requirements, design, and testing with defined entry/exit criteria.
- Independence: separate verifier, validator and assessor organisationally independent of the developers.
- Formal or semi-formal methods for specification and design (HR at SIL 3–4).
- Static analysis, coding standard enforcement, and structural coverage up to branch/condition level (HR).
- Full traceability requirements → design → code → tests; impact analysis for every change.
- T3 (code-generating) tools qualified or their output verified as if hand-written.
- Phase-gated V model: each specification phase verified before the next; validation against the requirements baseline.
- Testing is the main verification instrument: unit, integration and validation tests with coverage evidence.
- The model becomes a specification artefact: model reviews, model coverage and model–code equivalence checks are added obligations.
- The code generator is a T3 tool: qualify it or verify the generated code as if hand-written.
- Testing can move to model level only where the generator qualification argument supports it.
- Formal specification of the safety requirements and proof of key properties replaces part of the testing argument.
- Proof tools are T2 tools: validate them and keep the proof assumptions explicit and reviewed.
- Testing is still required: proofs cover the modelled properties, not the compiler, hardware or the unmodelled environment.
5. THR apportionment
Split a hazard-level THR across independent contributors under an OR gate. For an OR gate the rates add, so the allocations must sum to no more than the THR.
| Subsystem | Weight | TFFR (/h) | SIL band |
|---|
6. Sensitivity
Vary one parameter of the architecture in section 3 over a logarithmic range and watch the total rate move between SIL bands. The CCF term usually dominates long before the independent term matters.
DC affects λ_DU only. The 2oo2 / 2×2oo2 formulas use λ_D, so their result does not change with DC.
| Value | Total (/h) | SIL band |
|---|
Formulas and assumptions
Every result on this page uses one of the formulas below. All of them assume a constant failure rate (exponential model, useful-life region of the bathtub curve) and, for the architectures, λ·T ≪ 1, identical channels and the β-factor model for common cause failures.
1 FIT = 1e-9 /h; rates per year divide by 8760 h.
Valid for constant λ only; MTTF is not a lifetime (R(MTTF) = e⁻¹ ≈ 36.8 %).
Probability of surviving to t without failure; constant λ.
Inherent steady-state availability; ignores logistics delays and preventive maintenance.
Series ("parts count") model: any component failure fails the item; independent failures.
Wrong-side fraction from FMEA; DC from the diagnostic design; both in [0, 1].
Single channel; detected dangerous failures are negated (safe state forced) unless stated otherwise.
Simplified from IEC 61508-6; T1 = proof-test interval; λ_DU·T1 ≪ 1; independence apart from β.
Railway composite fail-safety: both channels must agree; T_neg = detection + negation time; conservative (any second dangerous failure within T_neg counts); λ_D·T_neg ≪ 1.
Safety side of 2×2oo2 equals a single 2oo2 pair; the hot-standby pair adds availability, not safety; assumes fail-safe switchover.
Majority voter; factor 3 counts the channel pairs; λ_DU·T1 ≪ 1.
TFFR bands per hour and per function (EN 50129); below 1e-9 /h there is no SIL 5 – split the function or add barriers.
OR-gate apportionment: contributor rates add, so Σ TFFR_i ≤ THR.
These are simplified first-order expressions for early design estimates. The exact forms are in IEC 61508-6 Annex B and in project safety analyses. Results from this page are not a safety case.
All calculations run locally in the browser; nothing is sent to a server.