Probability Calculator

Calculate basic probability and combinations.

Fraction

1/2

Decimal

0.500000

Percentage

50.0000%

How to use Probability Calculator

1

Select Your Calculation Type

Click the dropdown menu labeled 'Calculation Type' at the top of the calculator. Choose between 'Simple Probability', 'Combinations (nCr)', 'Permutations (nPr)', or 'Conditional Probability' based on your needs.

2

Enter Your Numbers in the Input Fields

Input your values into the numeric fields that appear. For Simple Probability, enter 'Favorable Outcomes' and 'Total Outcomes'. For Combinations/Permutations, enter 'n' (total items) and 'r' (items to choose). Fields show examples in light gray placeholder text.

3

Click Calculate Button

Press the blue 'Calculate' button below the input fields. Results display instantly in the 'Results' panel showing the probability as a decimal, percentage, fraction, and odds ratio.

4

View Detailed Breakdown

Scroll to the 'Calculation Details' section to see the formula used, step-by-step computation, and explanation. Click 'Copy Result' to copy the answer to your clipboard or 'Reset' to clear fields.

Related Tools

Probability calculator: single, AND, OR, and complement

Probability calculator: single, AND, OR, and complement

Calculate basic probability, combined probability for multiple events, and complement probability at ToolHQ's probability calculator, free, no account required, with all four common probability types in one tool.

Probability measures the likelihood that an event will occur, expressed as a number between 0 (impossible) and 1 (certain), or as a percentage between 0% and 100%.

Whether you are solving a homework problem, planning under uncertainty, or estimating risk in a real-world decision, probability calculations follow a small set of formulas. ToolHQ's probability calculator covers the four types you need most: single event, both events (AND), either event (OR), and complement (not the event).

Key Takeaways

  • Calculate single event probability from favorable and total outcomes
  • Combined AND probability (both events occur) for two independent events
  • Union OR probability (either event occurs) with the correct addition formula
  • Complement probability (event does not occur) = 1 minus the probability
  • No data is stored or transmitted, all calculations run locally in your browser

What is a probability calculator and how does it work?

Probability is calculated by dividing the number of favorable outcomes by the total number of possible outcomes, but when multiple events are involved, the relationships between events determine which formula to use.

The four core formulas:

1. Single event probability: P(A) = Favorable outcomes / Total possible outcomes

Example: Rolling a 4 on a standard die: P(4) = 1/6 = 0.167 = 16.7%

2. AND probability (both events occur, independent events): P(A ∩ B) = P(A) × P(B)

Example: Rolling a 4 AND flipping heads: P = (1/6) × (1/2) = 1/12 = 8.3%

3. OR probability (either event occurs, not mutually exclusive): P(A ∪ B) = P(A) + P(B) - P(A ∩ B)

The subtraction prevents double-counting outcomes where both events occur. Example: Rolling a 4 OR flipping heads: P = 1/6 + 1/2 - 1/12 = 7/12 = 58.3%

4. Complement probability (event does not occur): P(A') = 1 - P(A)

Example: Not rolling a 4: P = 1 - 1/6 = 5/6 = 83.3%

ToolHQ's calculator applies these formulas to any probability values you enter, returning the result as both a decimal and a percentage.

All calculations run locally in your browser, no data is stored or transmitted.


When to use a probability calculator

You need a probability calculator whenever you need to quantify likelihood, in education, decision-making, quality control, finance, or games of chance:

  • Education: Solving probability problems in statistics, mathematics, or science classes
  • Risk assessment: Estimating the probability of compound failures in systems or processes
  • Quality control: Calculating defect rates and compound probabilities across production stages
  • Games and sports: Working out odds in card games, dice games, or sports betting scenarios
  • Weather and forecasting: Understanding what "30% chance of rain" means for a three-day forecast
  • Decision-making: Calculating probability of multiple independent factors all going favorably

Mini-story 1: Hannah was studying for a statistics exam and got stuck on a compound probability problem. The question asked for the probability of drawing a heart AND drawing an ace in two draws from separate decks. She knew the individual probabilities (1/4 for heart, 1/13 for ace) but kept making errors combining them. She entered both values into ToolHQ's AND probability calculator and got the answer, 1/52 = 1.9%, along with the formula confirmation that she should multiply, not add. The worked answer helped her understand why multiplication applies when events are independent.

Calculate probability free at ToolHQ


How to use the ToolHQ probability calculator

The process is immediate:

  1. Go to the tool. Navigate to ToolHQ's probability calculator. No account or sign-up required.
  2. Choose your calculation type. Select: single event, AND probability, OR probability, or complement.
  3. Enter your probability values. For single events, enter favorable outcomes and total outcomes. For multi-event calculations, enter the probability of each event as a decimal (0.25) or fraction (1/4).
  4. Read the result. The calculator returns the probability as a decimal and as a percentage.
  5. Verify with the formula. The tool shows the formula used alongside the result so you can confirm the logic applies to your scenario.

Probability formula reference table

Calculation type Formula When to use
Single event P(A) = favorable / total One event with known outcome counts
AND (both occur) P(A ∩ B) = P(A) × P(B) Two independent events, both must happen
OR (either occurs) P(A ∪ B) = P(A) + P(B) - P(A ∩ B) At least one of two events must happen
Complement (not A) P(A') = 1 - P(A) Probability the event does NOT occur
Mutually exclusive OR P(A ∪ B) = P(A) + P(B) Either event, but both cannot occur at once

Why the OR formula subtracts: When you add P(A) + P(B), any outcomes where both events occur are counted twice, once in P(A) and once in P(B). Subtracting P(A ∩ B) removes the duplicate. For mutually exclusive events (events that cannot both happen), P(A ∩ B) = 0, so the subtraction disappears.

Everyday examples:

  • Weather: "30% chance of rain today AND tomorrow" (independent) = 0.3 × 0.3 = 9%
  • Quality control: Probability a batch has no defects when each item has a 99% pass rate across 100 items = 0.99^100 = 36.6%
  • Sports: Probability a team wins at least one of two games at 60% win rate each = 1 - (0.4 × 0.4) = 84%

For statistical analysis beyond basic probability, ToolHQ's statistics calculator handles mean, standard deviation, variance, and descriptive stats for any dataset.

Mini-story 2: Sam works in quality assurance at a manufacturing facility. Three separate inspection stages each catch 95% of defects. He needed to know the probability that a defective item passes all three inspections. Using the AND formula for independent events: 0.05 × 0.05 × 0.05 = 0.000125, or 0.0125%, less than 1 in 8,000 defective items escapes all three stages. He presented this calculation to justify the three-stage inspection design to management, showing that each additional stage reduces escape probability by a factor of 20.


Frequently asked questions

What is the probability formula for basic events?

P(A) = number of favorable outcomes / total number of possible outcomes. Example: probability of drawing a red card from a standard deck = 26/52 = 0.5 = 50%.

How do I calculate the probability that both events occur?

Multiply the individual probabilities: P(A ∩ B) = P(A) × P(B) for independent events. This assumes one event does not affect the other.

How do I calculate the probability that at least one event occurs?

Use P(A ∪ B) = P(A) + P(B) - P(A ∩ B). The subtraction prevents double-counting scenarios where both events happen.

What is the complement of a probability?

The complement is the probability that an event does NOT occur: P(A') = 1 - P(A). If there is a 30% chance of rain, the complement is a 70% chance of no rain.

Is the probability calculator free?

Yes. ToolHQ's probability calculator is completely free, with no account, no sign-up, and no usage limits.


The short version

Probability calculations are at the core of statistics, risk assessment, quality control, gaming, and everyday decision-making. The four formulas cover nearly every basic scenario: single event (favorable/total), AND (multiply), OR (add then subtract overlap), and complement (1 minus). ToolHQ's probability calculator handles all four types with any probability values you enter, returning both decimal and percentage results. It is free, instant, and requires no account.

For related statistical tools, ToolHQ's statistics calculator computes mean, variance, and standard deviation from datasets, the percentage calculator converts between fractions and percentages, and the random number generator produces random outcomes for simulations. Explore more calculator tools at ToolHQ.

Calculate probability free at ToolHQ