Introduction

Think of the last time you played a card game and paused to size up your odds: how many cards could actually help you, and how many are in the deck? That instinct to turn a real-world situation into a precise number is exactly what probability makes rigorous. Calculating these numbers isn't just for games; it’s how insurance companies set rates, how doctors explain the risks of a procedure, and how engineers ensure a bridge can withstand a rare storm.

Over the past three lessons, you developed the core toolkit: identifying outcomes and sample spaces, reading probabilities on the 0-to-1 scale, and recognizing when outcomes are equally likely. Now it is time to put that toolkit to work and learn how to compute the probability of a complete event, expressing the result as a fraction or decimal.

From Individual Outcomes to Events
The Probability Formula
Counting Outcomes That Match
Expressing Probability as a Fraction or Decimal
A Step-by-Step Example
Probability in the Real World
Conclusion and Next Steps

In this lesson, we applied the central calculation of probability: dividing the count of outcomes that match the event by the total number of equally likely outcomes to find P(event)P(\text{event}). We also saw how to simplify fractions, convert them to decimals, and confirm that every result lands within the 0-to-1 range.

The practice exercises that follow put this formula to work across a variety of settings — from charity raffles to card decks to café tip jars. Each one is a genuine opportunity to build confidence and fluency with the method. Let's get started!

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal