The probability of an event is determined by dividing the number of favorable outcomes by the total number of possible outcomes in the sample space.