Meaning and conditions
For a nonnegative continuous event time with density f and positive survival S, h=f/S. The general definition does not require a constant rate. This calculator explicitly restricts h(t)=λ≥0; λ>0 gives a proper exponential model, while λ=0 is treated as a no-finite-event limiting case.[1][2]
The Kaplan-Meier estimator describes an empirical survival curve. An incidence rate summarizes events and person-time; only an additional exponential distribution supplies the constant time structure used here.[1][2]
Derivation and relations
A limiting conditional interval probability defines a rate. Its integral determines survival; the rate alone does not.[1][2]
- Define T as nonnegative continuous time to an event. S(t)=P(T>t) describes survival; f(t) is a density, not a probability at one exact time.
- Over a small interval the conditional event probability is approximately f(t)Δt/S(t). Divide by Δt and take the limit to obtain h(t)=f(t)/S(t).
- Since S′(t)=−f(t), h(t)=−d ln S(t)/dt. Integrate using S(0)=1: H(t)=∫0ᵗh(u)du=−ln S(t), giving S(t)=exp(−H(t)).
- Under the additional assumption h(t)=λ>0, obtain H=λt, S=exp(−λt), F=1−exp(−λt) and f=λexp(−λt). Invert F for t when 0≤F<1 and λ>0.
See the model
Constant rate, changing probability
Free with a Quanta account. Your download stays ready after registration.
Two complete worked examples
Integrate a per-day rate correctly
- Given
- Fictional exponential model with λ=0.1d−1 and t=5d.
- Find
- Distinguish cumulative hazard, survival, risk and density.
Units cancel in the product.
Calculate survival and its complement.
The density retains inverse-time units.
Result: Survival about 60.65%, event by day 5 about 39.35%; hazard 0.1 per day and density about 0.06065 per day.
Check: S+F=1; H=0.5 is neither F=0.3935 nor current density. Every value is from the authored model.
Time until a specified model risk
- Given
- The same model principle, now λ=0.2d−1 with target F=0.8.
- Find
- Find the finite time to the target cumulative model risk.
Rearrange the survival expression.
Insert the positive survival complement.
Check by substitution.
Result: The model time is approximately 8.047 days. It does not predict when a particular person will experience an event.
Check: Units: a dimensionless logarithm divided by d−1 gives days. F=1 has no finite solution in this positive finite-rate model.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Units, interpretation and limits
Hazard and density have inverse-time units, time uses the matching time basis, and H and probabilities are dimensionless. Seconds and days are available. Combining a per-day hazard with an unconverted number of seconds changes the model by a factor of 86400.[1][2]
The exponential model assumes conditions constant over time. The authored teaching graphic does not establish that pattern in a real study. Time-varying rates require the integralH(t); this bounded calculator does not estimate arbitrary curves from data.[1][2]
Five exercises with distinct learning goals
Calculate · Foundation
Constant hazard 2d−1 over 0.5d: calculate F and S in the exponential model.
Show hint
λt=1, but F is not 1.
Learning goal: Convert rate into interval probability
Show solution and calculation
H=2·0.5=1, so S=e−1≈0.367879 and F=1−e−1≈0.632121.
A rate of 2 per day is valid and is not a200% point probability.
Rearrange · Application
At t=5d, survival is S=e−0⋅5. Find the constant hazard.
Show hint
Use λ=−ln S/t; S must be positive.
Learning goal: Recover constant hazard from survival
Show solution and calculation
λ=−ln(e−0⋅5)/5=0.5/5=0.1d−1.
This inversion uses the additional constant-hazard assumption; one survival value does not determine a general time-varying hazard curve.
Interpret · Application
For continuous T, is P(T=5d)=h(5d) correct? Explain using units.
Show hint
A point probability is dimensionless; hazard has inverse-time units.
Learning goal: Separate hazard and point probability
Show solution and calculation
No.
In a continuous model P(T=5d)=0 while h(5d) may be a positive conditional rate.
A probability requires an interval; for small Δt the conditional probability is approximately h(t)Δt.
Error analysis · Application
A script uses F=1−exp(H) at H=0.5. Identify the error and correct value.
Show hint
Cumulative hazard is nonnegative and S≤1.
Learning goal: Check the sign in the survival formula
Show solution and calculation
The exponent is missing a minus sign.1−exp(0.5) is negative and cannot be a probability.
Correctly, F=1−exp(−0.5)≈0.393469, with S=exp(−H) and H=−ln S.
Transfer · Challenge
Use λ=2d−1 over Δt=0.01d. Compare exact conditional interval probability with λΔt.
Show hint
With constant hazard, this conditional probability does not depend on the starting time.
Learning goal: Match time units and short intervals
Show solution and calculation
Exactly,1−exp(−0.02)≈0.0198013.
The approximation λΔt=0.02 is slightly higher and works only for small products.
In seconds,λ=2/86400s−1 and Δt=864s give the same product 0.02.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Sources for this explanation
Quanta · Updated November 9, 2026
- NIST/SEMATECH e-Handbook: 8.1.2.3 Failure or hazard rate
- NIST/SEMATECH e-Handbook: 8.1.6.1 Exponential
- NIST/SEMATECH e-Handbook: 1.3.6.6.7 Exponential Distribution
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Added a full article with explicit validity conditions, two authored examples, five checked exercises and an original native data graphic.
Cite this reference page
Quanta. Hazard function. Updated November 9, 2026. https://quanta-study.de/en/formula-sheet/hazard-funktion
When citing a specific scientific statement, also cite the specialist source linked to that statement.