When a coin is tossed three times, the total number of possible outcomes is \(2^3 = 8\) (HHH, HHT, HTH, THH, HTT, THT, TTH, TTT).
The favorable outcomes for getting at least two heads are those with exactly two heads or three heads:
- Exactly two heads: HHT, HTH, THH (3 outcomes)
- Three heads: HHH (1 outcome)
Total favorable outcomes = \(3 + 1 = 4\).
The probability is the number of favorable outcomes divided by the total number of outcomes:
\[
\text{Probability} = \frac{4}{8} = \frac{1}{2}
\]