“We noticed you may be using an ad blocker. SEO Site Checker relies on ads to keep our SEO tools free. Please consider disabling your ad blocker to support us - thank you!”“We noticed you may be using an ad blocker. SEO Site Checker relies on ads to keep our SEO tools free. Please consider disabling your ad blocker to support us - thank you!”
Enter the total number of outcomes and how many of them count as your event. See the probability that it happens and the probability that it does not.
Result
Probability the event happens
Probability it does not happen
What Is a Probability Calculator?
Quick answer: A probability calculator divides the outcomes that count by all possible outcomes, which is how you calculate probability as a number from 0 to 1. This one handles a single event. Enter both numbers, press Calculate, and read the chance that it happens and the chance that it doesn't. Try it with your own numbers.
It works as a chance calculator for one event at a time. It suits setups where every outcome is equally likely, such as a fair coin, a fair die, a standard deck of 52 cards or marbles in a bag, and results you counted yourself, like 28 heads in 50 flips. The tool just divides one number by another, so it can't tell a fair die from a loaded one. Check that assumption before you type.
It doesn't show percentages, fractions or odds, and it has no separate boxes for two events. The sections below cover a workaround for each.
How to Use This Probability Calculator
Two boxes and one button. The labels are worded awkwardly, so here is the map from label to meaning, spelling included.
Count the total. Type the number of possible outcomes into the field labeled "No of possible outcome". A coin is 2, rolling a die is 6 and a deck of cards is 52.
Count what qualifies. Type the number of outcomes that count as your event into "No of possible event occured", for example 4 when the event is drawing an ace.
Press Calculate. Pressing Enter inside either field does the same.
Read the Result card. It has two rows, and the row names promise counts but deliver probabilities.
The first row, "No of possible event that occured", is the probability that your event happens. The second, "No of possible event that do not occured", is the probability that it doesn't. Despite the wording, both rows are numbers from 0 to 1, not counts: type 6 and 1 and you get 0.17 and 0.83.
Use whole numbers above zero, with the total larger than the event count. The card won't refresh while you type, so press Calculate again after every change. An error message means nothing new was calculated, whatever the card still shows.
The copy icon beside each row copies the rounded value shown. The math runs in your browser, and in our tests the numbers weren't sent to our server.
Probability Calculator Examples: Coin, Dice and Cards
Every row below was typed into the calculator and then checked against the exact fraction.
Question
Total outcomes
Outcomes that count
What the calculator shows (happens and does not happen)
Exact value
Heads on a coin toss
2
1
0.5 and 0.5
1/2
A six on one die
6
1
0.17 and 0.83
1/6 (16.67 percent)
An even number on one die
6
3
0.5 and 0.5
1/2
An ace from a deck
52
4
0.08 and 0.92
1/13 (7.69 percent)
A heart from a deck
52
13
0.25 and 0.75
1/4
One named card
52
1
0.02 and 0.98
1/52 (1.92 percent)
A face card
52
12
0.23 and 0.77
3/13 (23.08 percent)
A total of 7 on two dice
36
6
0.17 and 0.83
1/6
A red marble, 3 red in a bag of 10
10
3
0.3 and 0.7
3/10
You do the counting and nothing checks it: enter 13 for face cards instead of 12 and you get a tidy, wrong 0.25. A standard deck has 13 ranks in 4 suits, so 52 outcomes, and the jack, queen and king of each suit make 12 face cards. Count outcomes, not categories: a face card is one category but 12 outcomes.
Two dice have 36 outcomes, not 21, because a 1 on the first die with a 6 on the second is a different outcome from the reverse. Treat the dice as distinct and all 36 pairs are equally likely. That's why a total of 7 has 6 ways out of 36, which makes it the most common sum of two dice, while a total of 2 has exactly one.
As a dice probability calculator it needs only a total, 6 for one die or 36 for two, plus the count your question calls for. Rows two, three and eight are the dice examples. The fourth column is what the Result card prints, rounded, and the last is the exact fraction, so a small difference is only rounding, not an error. Change one count in the calculator and watch both numbers move.
How to Calculate Probability: The Formula Behind the Results
The probability formula fits on one line: P(event) = favorable outcomes / total outcomes. That ratio is the probability of an event, or its likelihood. "Favorable" only means counted in your event, not lucky.
An outcome is one result, like the king of spades, while an event is any set of results you care about, like drawing a king. The denominator is the size of the sample space, the full list of things that could happen. The formula holds only when those outcomes are equally likely.
Every result is a probability between 0 and 1. A value of 0 marks an event that cannot happen, and 1 marks one that always does. The complement of an event is everything else, and the complement rule says its chance is 1 minus the chance that the event happens. Before rounding, the two numbers on the Result card therefore add to 1.
Take the aces: four of the 52 cards qualify, so 4 divided by 52 gives 0.0769, or 1/13 once reduced. The calculator shows 0.08 for the ace and 0.92 for everything else, because 1 minus 0.0769 is 0.9231.
Inside the page, the script reads both boxes as numbers, divides the event count by the total, and subtracts that quotient from 1 for the second row. Each row is then rounded with JavaScript's Math.round(x * 100) / 100. Nothing else happens behind the button, so you can rebuild any answer on paper, give or take a hundredth on the exact ties covered below.
The Result card rounds each value to two decimal places and drops trailing zeros, so you see 0.5 and 1 instead of 0.50 and 1.00. Anything rarer than about 1 in 200 runs out of room: the value falls under 0.005 and displays as 0.
In our tests 1 out of 1,000 showed 0 and 1, and so did 1 out of 365. Two aces in a row, 12 out of 2,652, also showed 0 and 1, although the exact value is 0.0045. Don't read a 0 as impossible. Divide the two counts yourself, or use the percentage route in the next section, which prints more digits.
Each value is rounded on its own, so a displayed pair can add to 1.01. Take 1 out of 8: the exact values 0.125 and 0.875 each sit halfway between two candidates, and both round up, to 0.13 and 0.88.
Ties can go either way. The value 23 out of 40 is exactly 0.575, yet the card shows 0.57 and 0.43, because browsers store decimals in binary and 0.575 * 100 returns 57.49999999999999 in a console. Its mirror, 17 out of 40, shows 0.43 and 0.57, since 0.425 * 100 lands on exactly 42.5. We scanned every total up to 2,000 and every event count below it. Of the 2,600 exact ties each row meets, 80 in the first row and 340 in the second rounded down.
Turn a Probability Into a Percentage, Fraction or Odds
This isn't a percentage chance calculator on its own, because the card prints decimals. Multiply by 100 to get a percent chance, so 0.17 reads as about 17 percent. The boxes don't take percentages either, only the two whole-number counts.
For more digits, open the Percentage Calculator, choose the formula "Y out of X is What%", type the outcomes that count first and the total second, and press Calculate. In our tests it answered to three decimals: 1 and 6 gave 16.667, 1 and 36 gave 2.778, and 12 and 2,652 gave 0.452. That one calculates on our server.
If the arithmetic feels rusty, our guide on how to calculate a percentage walks through it. A fraction is just the two counts, reduced: 4 out of 52 is 1/13, and 3 out of 6 is 1/2. The calculator doesn't output fractions, so reduce the two counts by hand.
Odds in favor compare the outcomes that count with the ones that don't, which makes a six on a die 1 to 5. To turn odds of a to b into a probability, use a divided by (a plus b), so 1 to 5 becomes 1/6. Going the other way, a probability p becomes odds of p to (1 minus p), which turns 0.25 into 1 to 3.
Odds are not counts: odds of 1 to 5 describe a total of 6 and an event count of 1, but typing 5 and 1 shows 0.2 and 0.8, the answer to a different question. A six on a die is 1/6, 0.17 on the card and odds of 1 to 5, so if your own conversion disagrees, recheck which count you divided by.
Theoretical vs Experimental Probability
Theoretical probability comes from the setup, before anything happens: assume the outcomes are equally likely and count. A fair die gives 1 out of 6, so you enter 6 and 1 and get 0.17. Experimental (empirical) probability comes from what did happen. It is the number of times the event occurred divided by the number of trials, which some textbooks call the relative frequency.
The same two boxes cover both. For an experiment, the total is the number of trials and the event count is how many times it happened. Flip a coin 50 times, get 28 heads, enter 50 and 28, and the card shows 0.56 and 0.44 against a theoretical 0.5. Trials go first and the number of times it happened goes second; swap them and you'll get the error message instead of a result.
A gap of 0.06 is ordinary at this size. The exact binomial sum puts 28 or more heads in 50 fair flips at about 24 percent, and a miss that big in either direction at nearly half of all runs. The typical wobble in the proportion, the standard error, is about 0.07 at 50 flips and 0.022 at 500, so ten times the flips narrows it by a factor of about three.
This pattern is the law of large numbers: more trials tend to pull the experimental value toward the theoretical one, but any single run can still stray.
A persistent gap is also how you catch a bent coin or a loaded die: the formula assumes fairness, and the experiment reports what happened. A fair coin lands 70 or more heads in 100 flips about once in 25,000 runs (enter 100 and 70 and the card shows 0.7 and 0.3), and the 1/2 formula can't warn you, because it assumes the coin is fair. For exercises, try these free probability practice problems.
Sample size: treat a handful of trials as a hint, not a measurement. 28 heads in 50 flips and 280 in 500 print the same 0.56, but a rough 95 percent margin of error is about 14 points for the first and about 4 for the second.
Probability of Two Events and Multiple Events
This calculator does one event at a time. For two or more events, combine the counts first, then enter the combined counts once.
Never multiply the rounded results. Two sixes on two dice would be 0.17 times 0.17, which is 0.0289, but the exact value is 1/36, or 0.0278, so the shortcut overshoots by about four percent.
Under the multiplication rule, two independent events that must both happen mean multiplying the totals together and the event counts together. The addition rule covers either of two events that can't overlap (mutually exclusive): keep the total and add the event counts. If they can overlap, add and then subtract the overlap once.
Situation
What to enter
Calculator shows
Exact value
Two sixes on two dice (both must happen, independent events)
Multiply each count: total 36, event 1
0.03 and 0.97
1/36 (2.78 percent)
A king or a queen from a deck (either one, no overlap)
Add the event counts: total 52, event 8
0.15 and 0.85
2/13 (15.38 percent)
A heart or an ace (they overlap in the ace of hearts)
13 plus 4 minus 1: total 52, event 16
0.31 and 0.69
4/13 (30.77 percent)
No six in three rolls
5 times 5 times 5 out of 6 times 6 times 6: total 216, event 125
0.58 and 0.42, where 0.42 is the chance of at least one six
125/216 and 91/216 (0.4213)
Forget the overlap and the ace of hearts gets counted twice: entering 17 instead of 16 in the heart-or-ace row shows 0.33 instead of 0.31.
Draws without replacement are dependent events: each draw shrinks the deck, so the second card comes from 51, not 52. Two aces in a row is 4 times 3 favorable ordered pairs out of 52 times 51, which is 12 out of 2,652. The card shows 0 and 1 for that, since the exact value is 1/221, about 0.45 percent, so take the percent from the Percentage Calculator route above. Put the first card back and reshuffle, which is drawing with replacement, and the count becomes 16 out of 2,704, or 1/169.
For at least one, work backwards from 1 minus the chance of none. A single roll misses six 5 times out of 6, so three rolls in a row miss it 125 times out of 216. Enter 216 and 125 and the card's second row, 0.42, is the chance of at least one six (exactly 91/216, about 0.4213). Counting those 91 sequences directly means adding 75 with one six, 15 with two and 1 with three, so the complement row is the cheaper route.
Conditional probability, Bayes' rule and the binomial and normal distributions need other calculators. The textbook's section on addition and multiplication rules covers the formal versions.
What This Probability Calculator Cannot Do
Five limits worth knowing before you rely on a result.
One event only. There are no boxes for event A and event B, and no conditional probability, Bayes' rule, or binomial, normal and Poisson distributions. It shows no working either, so check your counts on paper first.
Two decimals, nothing else. You get no percent, fraction or odds, and the copy icon copies the rounded value, so it can't rescue a 0.
Whole numbers above zero. Zero or a negative number in either box shows "Invalid Input". An event count equal to or larger than the total shows "Outcome must be greater than the events occured". That rules out both an impossible event (0 outcomes, probability 0) and a certain event (all outcomes, probability 1). Your browser also flags a decimal in either field, because counts are meant to be whole.
Equally likely outcomes. A loaded die, a stacked deck or a streaky shooter breaks the formula, not the calculator.
Long-run frequency only. A probability describes a fair setup over many repetitions. It doesn't predict the next draw, and it isn't advice for games played for money.
Who Uses a Probability Calculator?
An online probability calculator fits problems you can count, where every outcome is equally likely.
Math homework. Students test their answers on coins, dice and cards, then compare the display with the exact fraction.
Classroom examples. Teachers can pair a counted experiment with the theoretical value in a statistics lesson.
Game nights. Players settle arguments in board games and card games with fair dice and a shuffled deck, where the equally likely assumption holds.
Counted results. A defect rate is an experimental probability: 3 faulty items in a sample of 20 is 20 and 3, which shows 0.15 and 0.85.
Related Free Calculators
Three neighboring calculators cover everyday problems close to this one.
Frequently Asked Questions (FAQs) is a list of common questions and answers provided to quickly address common concerns or inquiries.
How do you calculate probability?
Divide the number of outcomes that count by the total number of equally likely outcomes. For 4 aces in a 52-card deck that is 4 divided by 52, about 0.077, or 7.7 percent. The calculator on this page runs the same division from two numbers. Type 52 and 4 and it shows 0.08, the same value rounded to two decimals, plus 0.92 for no ace.
How do you calculate theoretical probability?
Theoretical probability comes from the setup, before anything happens: outcomes that count divided by total outcomes, assuming each is equally likely. A fair die gives 1 out of 6. In the calculator enter 6 and 1, which displays 0.17 and 0.83, the value 0.1667 rounded to two decimals. Check that every face is equally likely before you trust it.
How do you calculate experimental probability?
Divide the number of times the event happened by the number of trials. Flip a coin 50 times, see 28 heads, and the experimental probability is 28 divided by 50, which is 0.56. Enter the trials first and the hits second, 50 and 28, to see it. Small samples drift, and more trials tend to move the result closer to the theoretical value.
What is the probability of rolling two sixes with two dice?
It is 1/36, about 0.0278 or 2.78 percent. Each die shows a six with probability 1/6, and 1/6 times 1/6 is 1/36. In the calculator enter 36 and 1; the display rounds to two decimal places, so you will see 0.03 and 0.97. For 2.78 percent, enter 1 and 36 in the Percentage Calculator with the formula Y out of X is What%, which gives 2.778.
How do I find the probability of two events?
For independent events that must both happen, multiply their probabilities. For either of two events that cannot overlap, add them; if they can overlap, subtract the overlap once. For at least one, take 1 minus the chance of none. This calculator handles one event, so combine the counts first and run it once.
Why does the calculator say Invalid Input or that the outcome must be greater than the events?
One of the two boxes holds a number the calculator rejects. Zero or a negative value gives 'Invalid Input', and an event count equal to or above the total gives 'Outcome must be greater than the events occured'. Make the total the larger whole number, with both above zero. Probability 0 and probability 1 are the two cases you cannot enter.
Can I get the probability as a percentage?
Not directly. The calculator shows decimals from 0 to 1, rounded to two places, so multiply by 100 yourself: 0.17 is about 17 percent. For more digits use the Percentage Calculator with the formula Y out of X is What%: entering 1 and 6 gives 16.667. You cannot type percentages into this calculator.
How do I convert odds to probability?
Divide a by (a plus b). Odds of a to b in favor mean a outcomes that count for every b that do not, so odds of 3 to 2 give 3 divided by 5, which is 0.6. In reverse, a probability p gives odds of p to (1 minus p), so 0.6 is 0.6 to 0.4, or 3 to 2.
Can this calculator do conditional probability or dependent events?
Not directly, because it handles one event, but you can get dependent draws by combining counts first. Two aces in a row is 12 out of 2,652, which is 1/221. The display rounds that to 0 and 1, so take the percent from the Percentage Calculator, where 12 and 2652 gives 0.452. Conditional probability, P(A given B) equals P(A and B) divided by P(B), needs working out by hand.
Is the probability calculator free, and are my numbers sent anywhere?
It is free, with no sign up and no account. The calculation runs in your browser, and in our testing no request to our server carried the numbers you typed. Page analytics and ads still run, as on every page of the site. There is no usage cap, because the calculation never runs on our server.
We use cookies to personalize content and ads, to provide social media features and to analyze our traffic. You consent to our cookies if you continue to use our website.
Install SEO Site CheckerFree SEO tools - always in your pocket.