HexMathv1.0.4
Probability calculator
This probability calculator finds the chance of an event from equally likely outcomes, such as coins, dice, cards and marbles. Type the question or scan a word problem. HexMath counts the favorable and total outcomes, using complements and combinations when they help, and returns the probability as an exact fraction with each step shown.
Loading math input...
What this page covers
- Equally likely outcomes: coins, dice, cards, marbles and spinners.
- The complement rule, for questions with not or at least one.
- Counting with combinations, such as choosing items from a group.
- Not covered here: chains of several events with and or or (see the probability calculator for multiple events) and odds (type the problem into the solver).
How to enter the problem
- Type it or paste it. Write the question in words, with the numbers, as it appears in the problem.
- Scan it. Fit the one problem in the frame.
- Choose a photo. Several problems in one photo are solved as a list.
- Then tap Solve.
Worked examples
Example 1: Find the probability of exactly 2 heads in 5 fair coin flips.
Problem
Find the probability of exactly 2 heads in 5 fair coin flips.
Answer
VerifiedThe answer is
Explanation
- Count all outcomesEach flip has results, so flips have equally likely outcomes.
- Count the favourable outcomesChoose which of the flips are heads
- Divide
- Simplify
Example 2: Two fair dice are rolled. What is the probability that the sum is at least 10?
Problem
Two fair dice are rolled. What is the probability that the sum is at least 10?
Answer
VerifiedThe answer is
Explanation
- Count all outcomesEach die has 6 faces, so there are equally likely ordered pairs.
- List the favorable pairsSum 10: . Sum 11: . Sum 12: . That is 6 pairs.
- Divide
Example 3: A box of 10 bulbs has 3 faulty ones. You pick 3 bulbs at random. What is the probability that exactly one is faulty?
Problem
A box of 10 bulbs has 3 faulty ones. You pick 3 bulbs at random. What is the probability that exactly one is faulty?
Answer
VerifiedThe answer is
Explanation
- Count all ways to pick 3 bulbs
- Count the favorable picksChoose 1 of the 3 faulty bulbs and 2 of the 7 good ones
- Divide and simplify
Common mistakes
- Dividing the number of heads by the number of flips. For 2 heads in 5 flips that gives , not .
- Counting and as one outcome. With two dice the ordered pairs are the equally likely outcomes.
- Adding probabilities that overlap, or forgetting the complement when the question says at least one.
- Using permutations when the order of the chosen items does not matter.
Checks, assumptions and limits
- Check the range. A probability is between 0 and 1, and the probabilities of all outcomes add up to 1. For the example in the solver above, the chances of 0 to 5 heads add up to .
- This page assumes equally likely outcomes, fair coins and dice, and random draws unless the problem says otherwise.
- HexMath can make mistakes. Double check important steps.
Frequently asked questions
The final answer is an exact fraction where the question allows it. Ask a follow-up question in the same thread if you want it as a decimal or a percentage.
Yes. Write the question in words with the numbers. The steps count the outcomes, then divide.
Yes. Use the camera on the one problem, or choose a photo. Several problems in one photo are solved as a list.
This page gives probabilities, not odds. For odds, compare the favorable outcomes to the unfavorable ones instead of to the total: a probability of 1/4 means odds of 1 to 3.
Related tasks
Ready to solve your next math problem?
Create a free account for 3 math questions a day in your browser. No card.
Last updated: · HexMath