Theory
Relative frequency uses results from an experiment to estimate probability. It is based on what actually happened, rather than what should happen in theory.
Relative frequency = number of times an event happens / total number of trials. If a spinner lands on blue 39 times in 100 spins, its relative frequency for blue is 39/100 = 0.39.
Theoretical probability is based on a model, such as 1/2 for heads on a fair coin. Experimental results can differ because chance produces variation.
As the number of trials becomes very large, relative frequency usually becomes more stable and tends to get closer to the theoretical probability. It does not have to be exactly the same.
To estimate how many times an outcome will happen in a future experiment, multiply the relative frequency by the new number of trials.
Always use the number of trials actually completed as the denominator. A result such as 18 successes does not by itself give a relative frequency.