Counting favorable and total outcomes
The classical definition of probability applies to experiments with a finite number of outcomes that are all equally likely, such as rolling a fair die, drawing a card from a shuffled deck or picking a name from a hat. The probability of an event is the number of outcomes that count as success divided by the number of possible outcomes. This page does that division. You enter the count of favorable outcomes and the count of equally likely outcomes, and it returns the probability as a decimal and as a percentage. The hard part is usually not the division but deciding what to count, and that is where most mistakes happen.
Favorable outcomes divided by total outcomes
The probability is P = favorable / total, and the percentage is 100 × P. The favorable count cannot exceed the total, and the total must be positive. Both numbers should be whole counts of outcomes. The result lies between 0, when nothing is favorable, and 1, when every outcome is favorable. The formula rests on one condition: each of the total outcomes must have the same chance. If that fails, as with a loaded die or a spinner with unequal sectors, the ratio of counts gives a number that is not a probability. The page cannot test fairness, which you have to justify from the physical setup.
Two favorable outcomes out of eight
The page starts with 2 favorable outcomes out of 8 equally likely outcomes. The probability is 2/8 = 0.25, or 25 percent. One way to picture it is a spinner divided into eight equal sectors with two shaded. The ratio can be reduced to 1/4, and the page returns the same value for 1 out of 4, 5 out of 20 or 50 out of 200, since only the ratio matters. Reducing a fraction before entering it never changes the answer, but using a total that does not match the favorable count, such as 2 out of 6, does, so check that both numbers describe the same experiment.
Dice and cards
Rolling two fair six-sided dice has 36 equally likely ordered outcomes. A sum of 7 can occur in 6 ways, so the probability is 6/36, about 0.1667, and a sum of 10 occurs in 3 ways, giving 3/36, about 0.0833. A single die showing an even number is 3/6 = 0.5. For cards, the chance that a card drawn from a 52-card deck is a heart is 13/52 = 0.25, a face card is 12/52, about 0.2308, and the ace of spades is 1/52, about 0.0192. Counting ordered outcomes for the two dice matters: treating the sums as 11 outcomes from 2 to 12 would wrongly make each equally likely. Sample spaces with structure repay a systematic list. For two dice, write a six-by-six grid and shade the cells that match the event, then count the shaded cells. For three coin flips, list all eight sequences. Writing the space out is slow for large problems, but it removes guesswork, and the totals you get can be entered here directly. For larger spaces, a counting formula such as combinations gives the totals without listing them.
Why equally likely is the hard condition
A classic trap is counting outcomes that are not equally likely. A family with two children has the combinations boy-boy, boy-girl, girl-boy and girl-girl, each about a quarter, but a list of the number of girls, 0, 1 or 2, has unequal chances of 1/4, 1/2 and 1/4. Likewise, the sum of two dice has 11 values but they are not equally probable. Historical errors of this kind caught out early probability thinkers, and d'Alembert is often cited for such a mistake about coin tosses. Always ask whether a physical symmetry makes the outcomes interchangeable before using this page.
Probability, percentage and odds
A probability of 0.25 is a 25 percent chance, one in four, or odds of 1 to 3 in favor. The three expressions carry the same information. Use percentages for general audiences, decimals in formulas and ratios when comparing frequencies. To convert to odds, divide the favorable count by the unfavorable count: 2 favorable and 6 unfavorable are odds of 2 to 6, which reduce to 1 to 3. The odds calculator and the probability-to-odds converter on this site handle that direction. When communicating risk, saying one in four often lands better than 25 percent.
Reading a probability correctly
A probability of 0.25 does not mean an event happens exactly once in every four trials. It describes long-run frequency: over many repetitions the proportion of favorable results tends toward 0.25. After a short run, the share can differ a lot. It also describes a single trial before the outcome is known, not afterward. A coin that has landed heads five times in a row is still 50-50 on the next flip, and the gambler's fallacy of expecting tails to be due ignores that independent trials have no memory.
Common input mistakes
Several errors recur. Counting the total incorrectly, such as using 6 for two dice instead of 36, is the most frequent. Another is mixing up "at least" and "exactly": the chance of at least one head in two flips counts three of four outcomes, not one. A third is double counting overlapping cases, such as counting a king of hearts as both a king and a heart when asking for a king or a heart; the union page handles that overlap correctly. A fourth is entering percentages as counts. If a problem is large, define favorable and total in words before touching a number. A fifth is ignoring order: choosing 2 people from 5 has 10 equally likely pairs if order does not matter, but 20 outcomes if it does. Either count works if you use it consistently for both favorable and total outcomes, and mixing them gives an answer that is wrong by a factor. When in doubt, test your counting method on a tiny case you can list by hand.
Equally likely outcomes are required
The calculation is only valid when each counted outcome is equally likely, so it is not a general method for weighted outcomes, such as an unfair coin or a sum of dice treated as eleven outcomes. It performs no sampling, does not count the outcomes for you and assumes finite, well-defined sets. For events that combine several conditions, use the union, conditional or independent events pages. The result is as reliable as your count and your assumption of symmetry.