Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

Chebyshev and Markov Inequality Calculator

How to use
  1. Choose Chebyshev's inequality or Markov's inequality with the two buttons. Learn more about the two bounds
  2. For Chebyshev, type the mean μ, the standard deviation σ and the number of deviations k.
  3. For Markov, type the mean μ and the threshold t. The variable must be one that is never negative.
  4. Read the bound as a probability and as a percentage. Learn more about reading the answer
  5. The curve on the picture is only an example of a distribution with your numbers; the bound holds for every such distribution.
  6. How it was found shows the calculation.

Outside the interval, at most
P(∣X−μ∣≥2σ)≤122=0.25\displaystyle P(|X - \mu| \ge 2\sigma) \le \frac{1}{2^2} = 0.25
Inside the interval, at least
P(40<X<60)≥1−122=0.75\displaystyle P(40 < X < 60) \ge 1 - \frac{1}{2^2} = 0.75
The interval
μ±kσ=50±10=(40, 60)\displaystyle \mu \pm k\sigma = 50 \pm 10 = (40,\ 60)
As percentages
at least 75% inside, at most 25% outside\displaystyle \text{at least } 75\% \text{ inside, at most } 25\% \text{ outside}
How it was found

Chebyshev's inequality says that for any random variable with mean μ\mu and standard deviation σ\sigma, and any k>0k > 0: P(∣X−μ∣≥kσ)≤1k2P(|X - \mu| \ge k\sigma) \le \dfrac{1}{k^2}.

Here k=2k = 2, so kσ=2⋅5=10k\sigma = 2 \cdot 5 = 10 and the interval is from 50−10=4050 - 10 = 40 to 50+10=6050 + 10 = 60.

The probability of landing outside it is at most 122=0.25\dfrac{1}{2^2} = 0.25.

So the probability of landing inside is at least 1−0.25=0.751 - 0.25 = 0.75.

The bound uses nothing but the mean and the standard deviation, so it holds for every distribution. That is also why it is cautious: for the bell curve drawn here, far more than this lies inside.

Drawn by the tool
an example with this mean and deviation\text{an example with this mean and deviation}read-only
an example with this mean and deviation\text{an example with this mean and deviation}


Chebyshev's inequality

DemoChebyshev's inequality
Step 0 of 3
    For any random variable with mean μ\mu and standard deviation σ\sigma, and any k>0k > 0:

    P(∣X−μ∣≥kσ)≤1k2P\big(|X - \mu| \ge k\sigma\big) \le \dfrac{1}{k^2}


    Equivalently, at least 1−1k21 - \dfrac{1}{k^2} of the probability lies within kk standard deviations of the mean:

  • k=2k = 2: at least 75%75\%;
  • k=3k = 3: at least 88.89%88.89\%;
  • k=4k = 4: at least 93.75%93.75\%.

  • Nothing about the shape of the distribution is needed.
Within k=2k = 2 standard deviations of the mean lies at least 75%75\% of any distribution.

Reading the answer

    For Chebyshev:

  • Outside the interval, at most is the bound 1k2\dfrac{1}{k^2}.
  • Inside the interval, at least is 1−1k21 - \dfrac{1}{k^2}, with the interval written out.
  • The interval is μ±kσ\mu \pm k\sigma.

  • For Markov:

  • Upper bound is μt\dfrac{\mu}{t}, the most that can lie at or above the threshold.
  • The other side is the least that must lie below it.
  • Threshold in means says how many times the mean the threshold is.

  • A bound of 11 (or 100%100\%) means the inequality gives no information for those numbers.

Markov's inequality

DemoMarkov's inequality
Step 0 of 3
For a random variable that is never negative, with mean μ\mu, and any t>0t > 0:

P(X≥t)≤μtP(X \ge t) \le \dfrac{\mu}{t}


Only the mean is used. The idea: if too much probability sat at or above tt, those values alone would force the mean above μ\mu.

In terms of the mean: at most 1c\dfrac{1}{c} of the probability can lie at or above cc times the mean. No more than half of a non-negative quantity can be at least twice its average.
With mean μ\mu, at most one third of the probability can lie beyond 3μ3\mu.

How tight the bounds are

Both bounds hold for every distribution, so they have to allow for the worst one. For a particular distribution the true probability is usually much smaller.

For a normal distribution about 95.4%95.4\% lies within 22 standard deviations, while Chebyshev only promises 75%75\%. The bounds are for when the distribution is unknown, or when a guarantee is needed that does not depend on it.

Common mistakes

  • Reading the bound as the probability. It is a ceiling (or a floor), not the value.
  • Using Markov for a variable that can be negative. The inequality needs X≥0X \ge 0.
  • Using Chebyshev with k≤1k \le 1. The bound is then 11 or more and says nothing.
  • Putting the variance in place of the standard deviation. kk counts standard deviations.
  • Mixing up inside and outside. 1k2\dfrac{1}{k^2} bounds the outside; 1−1k21 - \dfrac{1}{k^2} the inside.