Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Number System and Arithmetic
  • Algebra
  • Set Theory
  • Probability
  • Statistics
  • Geometry
  • Calculus
  • Logarithms
  • Mensuration
  • Matrices
  • Trigonometry
  • Mathematics
Open In App
Next Article:
What are all the possible outcomes if a coin is tossed?
Next article icon

Tossing a Coin Probability Formula

Last Updated : 03 May, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

Coin Toss Probability helps us to determine the likelihood of getting heads or tails while flipping a coin. Before diving into the formula, it's essential to understand that when a fair coin is tossed, there are only two possible outcomes: Heads (H) and Tails(T).

In the fair coin toss definition, each outcome has an equal chance of occurring, which means the probability of getting heads and tails is 50 %.

Coin Toss probability


Tossing a coin probability formula is the formula that is used to find the probability in a coin toss experiment. Suppose we carried out an experiment in which we tossed two or more coins, and the probability of finding heads or tails in that experiment is calculated using the coin toss formula. The coin toss formula resembles the normal probability formula, and the coin toss probability formula is,

\text{Probability} = \dfrac{Number of Favourable Outcomes}{Total Outcomes}

The total outcome of the coin toss experiment is all the outcomes of the experiment. Suppose we toss two coins; then the total outcomes of the coin toss experiment are:

{(H, H), (H, T), (T, H), (H, H)}

And the favourable outcome in the outcome that we desire to suppose we want two heads in tossing two coins, then the favourable outcome is {(H, H)}.

➣ Learn all about the Probability in Maths- [Probability]

Tossing a Coin Probability

If we toss a coin, then there are only 2 possible outcomes, i.e. either a Head or a Tail. The given below is the illustration of all possible outcomes when a coin is tossed three times. The tree shows all the possible combinations of heads (H) and tails (T) for three coin tosses.

coin-toss
All the possible outcomes when three coins are tossed together

The coin toss probability formula is given as,

Coin Toss Probability Formula = (Number of Favourable Outcomes)/ (Total Possible Outcomes)

If a single coin is tossed, the Total Possible outcomes are either Head(H) or Tail(T) 
In a coin toss, we can have two favourable outcomes, either Head(H) or Tail(T)
Then, the total number of possible outcomes = 2

Tossing 1 Coin Probability

In a coin toss, there are only two possible outcomes. Therefore, using the coin toss probability formula:

  • On tossing a coin, the probability of getting a head is,

P(Head) = P(H) = 1/2

  • On tossing a coin, the probability of getting a tail is,

P(Tail) = P(T) = 1/2

Tossing 2 Coins Probability

If we toss two coins, then the sample space of the event is,

S = {(H, H), (H, T), (T, H), (T, T)}

Now, the event of getting exactly one head is represented as {(H, T), (T, H)}. Similarly, an example based on the above sample space is,

Example: Find the probability of getting exactly two heads when we toss two coins.

Solution:

The required case in two coin toss is,
A = {(H, H)}
=> n(A) = 1

Total sample space "S" = {(H, H), (H, T), (T, H), (T, T)}
=> n(s) =  4

Probability of getting exactly two heads = P(A) = (Favourable Case)/(Total Case)
 P(A) = 1/4

Thus, the probability of getting two heads in two coin toss is 1/4.

Tossing 3 Coins Probability

If we toss three coins, then the sample space of the event is,

S = {(H, H, H), (H, H, T), (H, T, H), (H, T, T), (T, T, H), (T, T, T), (T, H, H), (T, H, T)}

Now, the event of getting exactly three heads is represented as {(H, H  H), (T, H)}. Similarly, an example based on the above sample space is,

Example: Find the probability of getting exactly two heads when we toss three coins.

Solution:

The required case in two coin toss is,

A = {(H, H, T), (H, T, H), (T, H, H)}
=> n(A) = 3

Total sample space "S" = {(H, H, H), (H, H, T), (H, T, H), (H, T, T), (T, T, H), (T, T, T), (T, H, H), (T, H, T)}
=> n(s) =  8

Probability of getting exactly two heads = P(A) = (Favourable Case)/(Total Case)
 P(A) = 3/8

Thus, the probability of getting two heads in three coin toss is 3/8.

Check Similar Types of Probability Articles:

  • Card Probability
  • Dice Probability

Solved Examples on Tossing a Coin Probability

Example 1: Find the probability of getting a head when a coin is tossed.
Solution: 

Total Outcomes of Coin Toss = {H, T} (2)
Favorable Outcome = {H} (1)

Probability = Favourable Outcome/ Total Outcome
P(H) = 1/2 = 0.5

So there is a 50% chance of getting a head when a coin is tossed.

Example 2: Find the probability of getting at least 1 tail when two coins are tossed.
Solution: 

Let B be the event of getting at least 1 tail if two coins are tossed.

Total Outcomes of two coin toss = {(H, T), (T, H), (T, T), (H, H)} = 4
Number of Favorable Outcomes = {(H, T), (T, H), (T, T)} = 3

Probability of Getting at least 1 tail if 2 coins are tossed = P(B)
 P(B) = (Number of Favorable Outcomes)/(Total Possible Outcomes)
P(B) = 3/4 = 0.75

So there are 75% of chance of getting at least 1 tail when two coins are tossed.

Example 3: Find the probability of getting a head and a tail at the same time when a single coin is tossed.
Solution: 

The outcome of a coin toss is, {H, T}
We see that there is no outcome when the Head and Tail are achieved simultaneously.

Thus, the probability of getting head and tail simultaneously is Zero.

Example 4: Find the probability of getting three heads when 3 coins are tossed at the same time.
Solution: 

Let E be the event of getting three heads when 3 coins are tossed.

Total Possible Outcomes of three coin toss ({HHH}, {HHT}, {HTH}, {THH}, {HTT}, {TTH}, {THT}, {TTT})

Total Number of Possible Outcomes = 8
Favorable Outcomes = {HHH}
Number of Favorable Outcomes = 1

As per the Coin Toss Probability Formula,
P(E) = (Number of Favorable Outcomes)/(Total Number of Possible Outcomes)
P(E) = 1/8 = 0.125

So, there is a 12.5% chance of getting all 3 heads when 3 coins are tossed.

Example 5: Find the probability of getting at least two heads when 3 coins are tossed at the same time.
Solution: 

Let F be the event of getting at least two heads when 3 coins are tossed.

Total Possible Outcomes of three coin toss ({HHH}, {HHT}, {HTH}, {THH}, {HTT}, {TTH}, {THT}, {TTT})
Total Number of Possible Outcomes = 8

Favorable Outcomes = ({HHT}, {HTH}, {THH}, {HHH})
Number of Favorable Outcomes = 4

As per the Coin Toss Probability Formula,
P(F) = (Number of Favorable Outcomes)/(Total Number of Possible Outcomes)
P(F) = 4/8 
= 1/2 = 0.5

So, there is a 50% chance of getting at least two heads when 3 coins are tossed.

Related Article:

  • Probability Theory
  • Experimental Probability
  • Chance and Probability
  • Probability Theorems
  • Events in Probability

Next Article
What are all the possible outcomes if a coin is tossed?

A

akhilvasabhaktula03
Improve
Article Tags :
  • Mathematics
  • School Learning
  • Class 12
  • Maths MAQ
  • Maths-Formulas
  • Maths-Class-12

Similar Reads

    Probability in Maths
    Probability is the branch of mathematics where we determine how likely an event is to occur. It is represented as a numeric value ranging from 0 to 1. Probability can be calculated as:\text{Probability} = \dfrac{Favourable \ Outcome}{Total \ Number \ of \ Outcomes}Favourable outcomes refer to the ou
    4 min read
    Events in Probability
    Events in Probability- In Probability, an event can be defined as any outcome or set of outcomes from a random experiment. In other words, an event in probability is the subset of the respective sample space.Example:1. If you roll a die, the event could be "getting a 3" or "getting an even number."2
    14 min read

    Types of Event

    Types of Events in Probability
    Whenever an experiment is performed whose outcomes cannot be predicted with certainty, it is called a random experiment. In such cases, we can only measure which of the events is more likely or less likely to happen. This likelihood of events is measured in terms of probability and events refer to t
    13 min read
    Mutually Exclusive Events
    Mutually exclusive events are those that cannot occur at the same time; if one event happens, it eliminates the possibility of the other event occurring. For example, in a cricket match between India and Pakistan, only one team can win. If Pakistan wins, India loses, and vice versa. Therefore, "Indi
    8 min read

    Probability Based on Coin

    Tossing a Coin Probability Formula
    Coin Toss Probability helps us to determine the likelihood of getting heads or tails while flipping a coin. Before diving into the formula, it's essential to understand that when a fair coin is tossed, there are only two possible outcomes: Heads (H) and Tails(T). In the fair coin toss definition, ea
    7 min read
    What are all the possible outcomes if a coin is tossed?
    When a fair coin is tossed then there are two possible outcomes: H (head)T (tail)The probability of occurrence of both events will be 0.5.What is Probability?Probability is a mathematical branch that deals with calculating the likelihood of occurrence of a random event. Its value ranges between 0 (e
    6 min read
    How many possible outcomes would be there if three coins were tossed once?
    Total Possible Outcomes = 2^3 = 8 Explanation:We will learn 2 Methods on how to solve this problem :1) Logical MethodStep 1: First of all try to find out all the possible outcomes when a single coin is toss. When we toss a fair coin then the outcomes are 'Head' or 'Tail'Step 2: Represent them in for
    7 min read
    How to calculate Dice Probabilities?
    Probability is the chance or likelihood of an event happening. It is represented by a number between 0 and 1. The higher the probability, the greater the chances of the event occurring.A probability of 0 means the event is impossible and cannot happen.A probability of 1 means the event is certain to
    5 min read

    Cards

    What is the probability of not picking a king if you choose randomly from a pack of 52 cards?
    In one pack of cards, there are 4 kings in a deck of 52, therefore , the probability of drawing a king is = Probability of an event, P(A) = Favorable outcomes / Total number of outcomes= 4/52= 1/13Hence, the probability of not picking a king P(B) = 1 - P(A)= 1 - 1/13= 12/13Therefore the probability
    7 min read
    Find the probability that if one card drawn from a well-shuffled pack of 52 playing cards is a face card?
    Answer: The probability of getting a face card = Favorable outcomes / Total outcomes = 12 / 52 = 3/13Probability means Possibility. It states how likely an event is about to happen. The probability of an event can exist only between 0 and 1 where 0 indicates that the event is not going to happen i.e
    7 min read
    What is the probability of getting either a red card or King card?
    A probability is a number that expresses the chance or likelihood of an event occurring. Probabilities can be stated as proportions ranging from 0 to 1, as well as percentages ranging from 0% to 100%, where 0 indicates an impossible event and 1 indicates a certain event. The sum of the probabilities
    8 min read
    What is the probability of drawing a black card from a well-shuffled deck of 52 cards?
    Answer: Therefore probability of getting a black card= {total number of black cards in the deck}/{total number of cards in the deck}= 26/52= 1/2A branch of mathematics that deals with the happening of a random event is termed probability. It is used in Maths to predict how likely events are to happe
    5 min read
    Axiomatic Approach to Probability
    Hearing the word "probability" brings up ideas related to uncertainty or randomness. Although the concept of probability can be hard to describe formally, it helps us analyze how likely it is that a certain event will happen. This analysis helps us understand and describe many phenomena we see in re
    10 min read
    Addition Rule for Probability
    Probability is an experimental approach to the game of chances we come across every day in our lives. It is a way to describe these “chances” mathematically and then analyze them. It allows us to measure the chances of something occurring. Probability of Event P(E) = [Number of Favorable Outcomes] /
    9 min read
    Conditional Probability
    Conditional probability defines the probability of an event occurring based on a given condition or prior knowledge of another event. Conditional probability is the likelihood of an event occurring, given that another event has already occurred. In probability, this is denoted as A given B, expresse
    12 min read
    Bayes' Theorem
    Bayes' Theorem is a mathematical formula that helps determine the conditional probability of an event based on prior knowledge and new evidence.It adjusts probabilities when new information comes in and helps make better decisions in uncertain situations.Bayes' Theorem helps us update probabilities
    12 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences