UtilityToolsLab

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

Free eBooks·About·Changelog·Privacy Policy·Terms of Service·Report a bug
HomeProbability & DistributionsProbability Calc

Related Tools

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

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

Calculate Ethereum gas fees in ETH and USD. Supports EIP-1559 (base fee + tip) and legacy gas price. Six transaction type presets included.

Satoshi/BTC

Convert between Satoshi, Bit, mBTC and BTC with BigInt precision. No floating-point rounding at the satoshi level, no price feed, no network call.

Token Supply

Convert ERC-20 token amounts to the base-unit integer a contract call takes and back, and measure any holding against total supply. BigInt-exact.

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. The binomial trial row shows E[X] = 1.0000, Variance = 0.8333, and Std Dev = 0.9129, the expected results across 6 independent trials.

How It Calculates Log-Odds and Binomial Stats

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.

The binomial trial stats treat the sample space size as n and use E[X] = n × p, Var = n × p × (1 − p), Std Dev = √Var.

Input Limits and Validation Rules

  • Both fields accept whole numbers only. Entering a decimal or a letter triggers the error message “Both fields must be whole numbers.”
  • 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%

Binomial Trial Stats — treating sample space as n

E[X] = n·p

1

Var = n·p·q

0.8333

Std Dev

0.9129