Math Solver Free

Probability Calculator

Simple, complement, AND & OR probabilities — decimal, percent, and fraction.

Enter probabilities as decimals between 0 and 1 (0.5 = 50%). AND/OR assume independent events.

Decimal
0.166667
Percent
16.666667%
Fraction
1/6
P = 0.166667

Step 1: P(A) = favorable ÷ total = 1 ÷ 6

Step 2: = 0.166667 = 16.666667% = 1/6

Probability in Plain English

Probability measures how likely an event is, expressed as a number between 0 (impossible) and 1 (certain). This calculator handles the four questions students and teachers meet most often: the chance of a single event, the chance it does not happen, the chance two independent events both happen, and the chance at least one of them happens. Enter counts of outcomes, or decimals such as 0.25, and it returns the result as a decimal, a percentage, and a simplified fraction, with the working shown underneath, so you can follow every step of the calculation yourself.

A coin flip sits at 0.5, a specific lottery ticket at roughly 1 in 300 million — everything that follows is built from that one idea: favorable outcomes ÷ total outcomes.

The Four Rules on This Page

  • Simple: P(A) = favorable ÷ total.
  • Complement: P(not A) = 1 − P(A) — sometimes the “not” is easier to compute.
  • AND (independent): multiply — P(A)×P(B). Two coin flips both heads: 0.5 × 0.5 = 0.25.
  • OR (independent): add, then subtract the overlap — P(A)+P(B)−P(A)×P(B).

Reading the symbols: in these formulas, P(A) means the probability that event A happens, and P(B) is the same for a second event, B. Favorable outcomes are the results you count as a success — rolling a 6, drawing a red card — while total outcomes are every result that could possibly occur. The multiplication in P(A) × P(B) is only valid when the events are independent, meaning the result of one does not change the odds of the other.

How to Use the Probability Calculator

  1. Pick a mode with the tabs at the top: P(A) simple, Complement, A AND B, or A OR B.
  2. For simple probability, type the Favorable outcomes and the Total outcomes — for example, 1 and 6 for rolling a six on a die.
  3. For the other modes, enter probabilities as decimals between 0 and 1 in the P(A) box, and in the P(B) box as well for AND and OR, so 25% is typed as 0.25.
  4. Read the headline answer first, then compare the Decimal, Percent, and Fraction panels and follow the working shown underneath to check each step yourself.

Worked Example 1: Drawing a Heart from a Deck

A standard deck has 52 cards, of which 13 are hearts. What is the probability of drawing a heart at random? Step 1: count the favorable outcomes — the hearts — which is 13. Step 2: count the total outcomes — every card in the deck — which is 52. Step 3: divide: P(heart) = 13 ÷ 52 = 0.25. Step 4: convert if you need another format: 0.25 × 100 = 25%, and 13/52 simplifies to 1/4 by dividing top and bottom by 13. So a single random draw gives you a heart one time in four, on average. The calculator's simple mode returns all three formats at once: decimal 0.25, percent 25%, and fraction 1/4, with this same division shown in the working. That also means the complement — not drawing a heart — is 1 − 0.25 = 0.75, or 75%.

Worked Example 2: Heads and a Six — AND versus OR

Flip a fair coin and roll a fair die at the same time. What is the chance of heads AND a six? The events are independent — the coin cannot influence the die — so multiply: P(heads) = 1/2 = 0.5 and P(six) = 1/6 ≈ 0.1667, giving 0.5 × 0.1667 ≈ 0.0833, about 8.33%, or exactly 1/12. Now ask a different question: heads OR a six (or both). Add the two probabilities, then subtract the overlap counted twice: 0.5 + 0.1667 − 0.0833 = 0.5833, about 58.33%, exactly 7/12. Notice how much larger the OR answer is: needing only one of two things to go your way is far easier than needing both. Enter 0.5 in P(A) and 0.1667 in P(B), then switch between the A AND B and A OR B tabs to see both results with the working underneath.

When Probability Calculations Help

Reach for this calculator whenever a decision depends on how likely something is. A card player works out the chance of completing a flush before calling a bet. A picnic organiser checks a 30% rain forecast and uses the complement — a 70% chance of staying dry — to decide whether to book a shelter. A factory inspector who knows 2% of items are faulty can calculate the chance that two sampled items are both faulty (0.02 × 0.02 = 0.0004). Students also use it to check homework answers before submitting them.

Three Mistakes to Avoid

  • Typing 25 instead of 0.25: the P(A) and P(B) boxes expect decimals between 0 and 1, so a 25% chance must be entered as 0.25; entering 25 is rejected because no probability can exceed 1.
  • Forgetting the overlap in OR problems: adding P(A) + P(B) counts the cases where both happen twice, which can push the total above 100% — an instant sign something is wrong. Always subtract P(A) × P(B).
  • Assuming events are independent when they are not: drawing a second card without replacing the first changes the deck from 52 cards to 51, so the simple multiplication rule no longer applies directly.

The Classic Trap

People add probabilities for AND (“10% and 10% = 20%”) — wrong. Two independent 10% events both happening is 0.1 × 0.1 = 1%, not 20%. Multiplication shrinks; addition grows. When in doubt, the calculator keeps you honest.

Counting the outcomes first? Our factorial calculator handles permutations and combinations. And if the ideas themselves are new, start with our plain-English guide to what probability is — it builds the intuition behind every formula on this page.

Frequently Asked Questions

What is the basic probability formula?

P(A) = favorable outcomes ÷ total outcomes. Count the results you want, divide by every result that could happen, and you get a decimal between 0 and 1. Rolling a 6 on a fair die is 1 ÷ 6 ≈ 0.1667, or about 16.67%. Multiply the decimal by 100 to state it as a percentage.

How do you calculate AND vs OR probability?

For independent events, multiply for AND: P(A and B) = P(A) × P(B), because both things must happen together. For OR, use P(A or B) = P(A) + P(B) − P(A) × P(B), subtracting the overlap so outcomes where both happen are not counted twice. If either answer falls outside 0 to 1, something has gone wrong.

What is complement probability?

The complement is everything except the event: P(not A) = 1 − P(A). If rain has a 25% chance today, the chance of no rain is 100% − 25% = 75%. Complements are often the fastest route when the direct event has many cases but the opposite has few — for example, at least one six in several rolls.

Can a probability be greater than 1 or less than 0?

No. A probability always sits between 0 and 1 inclusive: 0 means the event cannot happen, and 1 means it is certain. If a calculation produces 1.2 or −0.1, an error has crept in — usually double-counting outcomes in an OR problem, or a favorable count larger than the total count. This calculator rejects probabilities outside that range.

Does the AND/OR math assume the events are independent?

Yes. The multiplication rule on this page only holds when one event does not change the other event's odds, like separate coin flips or dice rolls. Drawing cards from a deck without replacing them is dependent — after removing one card, only 51 remain — so those problems need adjusted counts rather than simple multiplication of the original probabilities.

Is this probability calculator free?

Yes — every tool on Math Solver Free is completely free, with no sign-up, no account, and no usage limits. All calculations run privately in your browser, so the numbers you enter never leave your device, and you can use the calculator as often as you like on any device.

Related Tools & Guides

About the MathSolverFree Team

The MathSolverFree Team builds and maintains the calculators and step-by-step solvers on this site. Every tool is checked against worked textbook examples before it is published, and the method behind each solver is written out in full — in the worked examples on the page and in our guides — so you can see exactly how an answer is reached, not just the answer itself.

How we build and test our tools·More about the team