Two classes report how many students walk to school: Class A says 12 and Class B says 15. Class B sounds like the walking class, until you learn that Class A has 20 students and Class B has 50. Twelve out of 20 is 60%; fifteen out of 50 is 30%. The share tells the real story, and that share is the relative frequency: the count for one category divided by the total.
Doing this for every category turns a frequency table into a table of parts of a whole. If 40 students choose apple 14 times, banana 10, grape 6 and orange 10, the relative frequencies are 0.35, 0.25, 0.15 and 0.25. Together they make exactly 1, because every student lands in exactly one category. If your shares add to 0.98 or 1.03, a count or the total is off, or you rounded too soon.
A relative frequency comes from things that already happened. A spinner with four equal sections has probability 41 of landing on red because of its shape, before anyone spins it. Spin it 40 times, get red 13 times, and the relative frequency is 4013=0.325. The first number says what the spinner should do; the second says what it did. With many more spins, the relative frequency tends to settle near 0.25.
Think of it like this. Test scores in percent already use relative frequency: 18 out of 20 and 45 out of 50 are both 90%, so tests of different lengths compare fairly. Like a percent score, a relative frequency hides how many items there were, so report the total alongside it.
Core idea. A count means little until you know its total; dividing each count by its own total turns it into a share that can be compared fairly across groups of any size.