UtilityToolsLab

© 2026 UtilityToolsLab. Built and maintained by the UtilityToolsLab Team.

About·Changelog·Privacy Policy·Terms of Service·Contact
HomeProbability & DistributionsProbability Calc

Related Tools

Normal Distribution

Probability Calculator — P(E) & Odds

Calculate P(E), complement, odds ratio and log-odds from any event count and sample space. Shows fraction, decimal, and binomial trial stats instantly.

You Might Also Like

All Probability & Distributions

Normal Distribution

Compute z-score, CDF, PDF and tail probabilities for any normal distribution. Enter mean, standard deviation and a query value to get instant results.

Wei/ETH Converter

Convert between all 10 Ethereum denominations — Wei, Gwei, Szabo, Finney, ETH and more — with BigInt precision and instant copy for every result.

Gas Fee Calculator

How much will an Ethereum transaction cost? Enter gas units and fees to get the cost in Gwei, ETH and USD, in EIP-1559 or legacy mode, with 6 presets.

Satoshi/BTC

Convert sats to BTC and back, plus bits and mBTC, to the exact satoshi: 500 sats is 0.000005 BTC. BigInt maths, no rounding, no price feed, no sign-up.

Most probability questions reduce to the same arithmetic: how many outcomes you care about, divided by how many outcomes are possible. Probability Calculator makes that step immediate. Enter a favourable outcome count and a sample space size and it returns P(E) as both a decimal and a reduced fraction, the complement P(E′), the odds ratio, and the log-odds in one panel. The lead sample is rolling a 3 on a standard six-sided die: 1 favourable outcome out of 6, giving P(E) = 1/6 ≈ 0.166667, complement 5/6 ≈ 0.833333, odds 1 : 5, log-odds ≈ −1.6094.

Probability shows up in card games (13 hearts out of 52 = exactly 0.25), manufacturing quality control (3 defects in a batch of 200 = 0.015), and any scenario where you need to know how likely a single trial is before deciding whether to run a thousand of them.

Worked Example: Rolling a Die

  1. Type 1 in Favourable Outcomes and 6 in Sample Space, or press Load Sample to insert the same values automatically.
  2. P(E) appears immediately as 0.166667 (the decimal) and 1/6 (the reduced fraction).
  3. The complement P(E′) reads 0.833333, the probability of rolling anything other than a 3.
  4. The odds panel reads 1 : 5, meaning one way to succeed for every five ways to fail.
  5. Under Repeat it, the trial is repeated 10 times by default: a 3 turns up at least once with probability 83.8494%, and you can expect 1.6667 threes, with a variance of 1.3889 and a standard deviation of 1.1785. Change the 10 to however many times you roll.

How It Calculates Log-Odds and Repeated Trials

Log-odds is ln(p / (1 − p)). It is the quantity logistic regression models work in, useful for comparing two events on the same scale: a log-odds of 0 means exactly 50/50; negative values mean the event is less likely than not; positive values mean more likely than not. For rolling a 3 (p ≈ 0.167) the log-odds is ≈ −1.6094. For drawing a heart from a deck (p = 0.25) it is ≈ −1.0986. For the true/false test sample (p = 0.75) it is ≈ +1.0986, the mirror image, as expected. When p = 0 or p = 1 the log-odds is ±∞ and the tool reports that explicitly rather than showing a number that would silently overflow.

For repeated trials, n is the number of times you repeat the trial, not the size of the sample space. Each repeat is independent with the same p, so the expected number of successes is n × p, the variance is n × p × (1 − p), and the chance of at least one success is 1 − (1 − p)n, which is why ten rolls of a die are far likelier than not to show a 3 even though each roll is only 1/6. Odds are shown in lowest terms, so 13 hearts against 39 other cards reads 13 : 39 = 1 : 3.

Input Limits and Validation Rules

  • Both fields accept whole numbers only. Entering a decimal, a letter or shorthand such as 1e3 triggers the error message “Both fields must be whole numbers.” The Repeat it box takes 1 to 1,000,000,000 trials.
  • Favourable outcomes must not exceed the sample space. Entering 8 and 6 triggers “Favourable outcomes (8) cannot exceed the sample space (6).”
  • Sample space must be at least 1. A zero denominator is refused. A sample space of exactly 1 with 1 favourable outcome gives P(E) = 1, complement 0, and odds 1 : 0.
  • Fractions are reduced to lowest terms via GCD. Denominators above 1,000 switch to a decimal display because a fraction like 23/4781 adds less insight than 0.004810.

P(E)

0.166667

1/6

P(E′)

0.833333

5/6

Odds

1 : 5

for : against

Log-odds

-1.6094

ln(p / 1−p)

P(E) = 16.67%P(E′) = 83.33%
independent times

At least once

83.8494%

Expected n·p

1.6667

Var n·p·q

1.3889

Std Dev

1.1785