The Percentiles box under the parameter lists the mode, the quartiles, the median and the mean of the wait. Learn more about the percentiles
The panel on the right shows E(X) as the average time between events, with Additional Statistics (variance, standard deviation, coefficient of variation, skewness) behind a toggle and examples in context below the chart. Learn more about the panel
Click Compare to set an alternative rate and see the two expected waits side by side. Learn more about comparing
Use the tabs Visualization and Calculation for the falling density with its mean and median, or the steps and the integral; the box under the calculator explains the formula. Learn more about the tabs
Expected Value Calculator - Exponential Distribution
Calculate the expected value (average wait time) for an exponential distribution. Perfect for modeling time between events: server response times, time until failure, or any memoryless waiting process.
💡
Key Insight: E(X) = 2.00 is the reciprocal of the rate. With λ = 0.5, you expect 1/0.5 = 2.00 time units between events on average.
Parameter
Formula:E(X) = 1 / λ
Variance:1 / λ²
Memoryless:P(X>s+t | X>s) = P(X>t)
Percentiles
Mode:0.00
Q1 (25%):0.58
Median (50%):1.39
Q3 (75%):2.77
Mean:2.00
Expected Value
E(X) = 2.000
1 / λ = 1 / 0.5
Average time between events
Probability Density Function with E(X) = 2.00
Density
E(X) = 2.00
Median = 1.39
05.010.0
Note: Exponential decay from λ = 0.500 at x=0. Red line shows mean E(X), green shows median (always smaller for exponential). Memoryless property: P(X>s+t | X>s) = P(X>t).
📊Moderate wait times
Average: 2.00 time units between events
50% of waits are less than 1.39 units
Very variable: std dev = 2.00
Understanding Expected Value for Exponential Distribution
What Does E(X) Mean? The expected value E(X) represents the average waiting time or time between events. For exponential distributions, this is simply 1/λ where λ is the rate of events.
Interpreting Your Result. The average wait time is E(X); the median wait is shorter, about 69% of the mean; the variability is high, since the standard deviation equals the mean.
Real-World Examples.Server requests (λ = 2 per second): E(X) = 0.5 seconds between requests. Equipment failure (λ = 0.1 per hour): E(X) = 10 hours until failure. Customer arrivals (λ = 5 per minute): E(X) = 0.2 minutes between customers. Radioactive decay (λ = 0.01 per year): E(X) = 100 years.
Why E(X) = 1 / λ. The exponential distribution models the time until an event occurs when events happen at a constant rate λ. If events occur at rate λ per time unit, the average time between events is naturally 1/λ. This reciprocal relationship comes directly from integrating x · f(x) over the exponential density. Learn more about the exponential distribution
Use the calculator below to compute the expected value with step-by-step solutions and detailed explanations.
Setting the Rate
Demoλ = 2, λ = 0.1, λ = 0.25, Reset
Step 0 of 4
Under Parameter, set λ (Rate Parameter) with the slider, which runs from 0.01 to 5 in steps of 0.01, or by typing any positive number in the box; a value of 0 or less is ignored, and an emptied box makes the right panel show "Enter valid: λ > 0". While valid, the box reports the formula E(X)=1/λ, the variance 1/λ2 and the memoryless identity P(X>s+t∣X>s)=P(X>t), and the Key Insight line above the calculator restates E(X) as the reciprocal of the rate, the time units between events.
The rate and the wait share one unit of time: with λ=2 events per second the expected wait is 0.500 seconds and the context box below the chart reads "High rate (short wait times)"; with λ=0.1 per hour it is 10.000 hours and the context reads "Long wait times (rare events)". The server of the worked example, λ=0.5 per year, waits 2.000 years on average. There is no Calculate button; everything recomputes as you type.
Reset, at the top right of the parameter box, returns to λ=0.5, closes the comparison and the extra statistics, and selects the first tab. Why the wait is the reciprocal of the rate is explained in the exponential distribution.
Reading the Panel and the Percentiles
Demoλ = 0.1, the extra statistics, λ = 2
Step 0 of 3
The right panel is built around one number: E(X), the average time between events, to three decimals, with 1/λ filled in. Click ▶ Additional Statistics to open the variance, the standard deviation, which equals the mean, the coefficient of variation, always 1.0, and the skewness, always 2.0: every exponential distribution has the same shape, only the scale changes. Below the tabs, a context box turns the numbers into a scenario chosen from the mean: below 1 reads "High rate (short wait times)", up to 5 "Moderate wait times", up to 20 "Long wait times (rare events)", and above that "Very rare events", each with three lines such as the median wait or the standard deviation.
On the left, under the parameters, the Percentiles box lists the Mode, always 0, the first quartile Q1, the Medianln2/λ, the third quartile Q3 and the Mean. For λ=0.1 they read 0.00, 2.88, 6.93, 13.86 and 10.00, with a variance of 100.0000 and a standard deviation of 10.0000; for λ=2 they read 0.00, 0.14, 0.35, 0.69 and 0.50, with variance 0.2500 and standard deviation 0.5000. The median is always about 69% of the mean, because the long right tail pulls the mean up. The box under the calculator, Understanding Expected Value for Exponential Distribution, explains what E(X) means, gives four stock examples and shows why the formula is 1/λ; its link opens the first section below. The formula is worked through in formula and worked example.
Comparing Two Rates
Demoλ = 0.5 against 1, 0.25 and 0.5
Step 0 of 3
Click ▶ Compare under the parameter box to open an Alt λ. The panel then shows the current rate with its E(X), the alternative rate with its E(X), and the difference as a percentage of the current wait, marked with an arrow as a longer or shorter wait. The alternative opens as λ=1: against λ=0.5 that is E(X)=1.00, a 50.0% shorter wait than 2.00. Change the alternative to 0.25 and its wait becomes 4.00, 100.0% longer; set it to 0.5 and the panel says "Same".
The comparison shows the reciprocal rule: doubling the rate halves the wait, halving it doubles the wait. An alternative typed as 0 or less is replaced by 0.01. Why the wait is exactly 1/λ is explained in the exponential distribution.
The Two Tabs
DemoA steeper curve, the calculation, the chart
Step 0 of 3
Under the statistics are two tabs; they change what is drawn, not the numbers. Visualization (the default) draws the density f(x)=λe−λx, which starts at height λ at x=0 and falls away to the right, and marks the mean, the median to its left and the standard deviation around the mean; raising λ from 0.5 to 2 makes the curve start four times higher and fall four times faster, with the mark moving from 2 to 0.5. Calculation writes the formula and three steps: read off λ, write 1/λ, and compute, for λ=0.5 giving 2.0000; below the steps an Integration block shows the same result as ∫0∞xλe−λxdx by parts, and a one-line reason: a higher rate means less time between events.
Use the calculation tab to check a homework answer and the visualization to see the skewed shape and where the median and the mean sit. Reset returns to the visualization tab. The integral of the calculation tab is the one evaluated in formula and worked example.
The Exponential Distribution
The exponential distribution models the waiting time until the next event when events happen at a constant average rate λ. It is the continuous counterpart of the geometric distribution, and it is linked to the Poisson distribution: if events arrive at rate λ per unit of time, the time between events is exponential.
The expected waiting time is the reciprocal of the rate. A higher rate means events come more often, so the average wait is shorter.
Exponential models describe waiting times: time until the next customer arrives, the lifetime of an electronic part with no wear-out, or the time between earthquakes in a region.
The distribution is memoryless. If a part with an expected life of 2 years has already worked for 1 year, its expected remaining life is still 2 years. This fits random failures, but not parts that wear out with age.