Probability Calculator
Calculate probability from favorable and total outcomes.
What is probability?
Probability measures how likely an event is to happen, on a scale from 0 to 1. A probability of 0 means it cannot happen, 1 means it is certain, and 0.5 means it is just as likely to happen as not. You can also read it as a percentage, so 0.5 is a 50% chance.
$$P(A) = \frac{\text{favorable outcomes}}{\text{total outcomes}}$$
For equally likely outcomes, you simply count the outcomes you care about and divide by the total number of possible outcomes.
How to use this calculator
- Enter the number of favorable outcomes, the outcomes that count as a success.
- Enter the total number of possible outcomes.
- Check that the total outcomes number is not zero and is at least as large as the favorable outcomes.
- Read the probability as a fraction, decimal, or percent after the calculator computes it.
The formula explained
The formula computes the probability of an event by dividing favorable outcomes by total outcomes. This gives a value between 0 and 1, where 0 means impossible and 1 means certain.
- P(A) = the probability of event A
- favorable outcomes = the number of outcomes that match the event
- total outcomes = the number of all possible outcomes
Step by step method
- Count how many outcomes make the event happen.
- Count the total number of equally likely outcomes.
- Divide favorable outcomes by total outcomes to get the probability.
Worked example
Problem. A bag has 5 red marbles and 15 blue marbles. What is the probability of picking a red marble at random?
- Favorable outcomes, red marbles, are 5.
- Total outcomes are 5 + 15 = 20.
- Compute probability: \(P(\text{red}) = \frac{5}{20} = \frac{1}{4} = 0.25\).
Answer. The probability is \(\frac{1}{4}\), or 25%.
Tips and common mistakes
- Make sure the favorable outcomes are part of the total outcomes, not added separately twice.
- This formula works best when each outcome is equally likely, like a fair die, a shuffled deck, or a random draw from a bag.
Frequently asked questions
Can a probability be greater than 1?+
No. A single probability always lands between 0 and 1, or 0% and 100%. If a calculation gives something outside that range, it usually means the favorable or total counts were entered incorrectly.
What is the probability of an event not happening?+
Subtract the probability of it happening from 1. If there is a 0.3 chance of rain, then there is a 0.7 chance of no rain, because the two must add up to 1.
Does this assume every outcome is equally likely?+
Yes. The favorable over total formula works when each outcome has the same chance, like a fair die or a well-shuffled deck. Loaded dice or weighted choices need a more detailed model.
More Mathematics Tools
Explore related calculators in this category
Absolute Value Calculator
Calculate the absolute value of any number. Use this free calculator for fast, accurate answers, complete with the formula and a worked example.
Absolute Value Equation Solver
Solve equations of the form |ax + b| = c.
Adding Fractions Calculator
Add two fractions with step-by-step simplification.
One-Way ANOVA Calculator
Perform one-way ANOVA on multiple groups.
You Might Also Like
Popular tools from other categories
AC to DC Converter Calculator
Convert AC voltage to DC voltage for different rectifier configurations. Free online calculator with instant, step-by-step results.
Acid-Base Titration Calculator
Calculate concentration from titration data. Get quick, accurate results with this free online calculator, including formulas and worked examples.
ABV Calculator
Calculate alcohol by volume from original and final gravity. Free calculator with instant calculations, the underlying formula, and an easy-to-follow example.
Amortization Schedule Calculator - Free Online
Free Generate a complete amortization schedule. Step-by-step solutions and formulas included. Free, accurate results with step-by-step explanations.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.