The probability of getting 5 when a dice is rolled is given by:
No. of outcomes / Total no. of outcomes
here, No. of outcomes; 1 (i.e. 5 appears on a single face of dice and will appear only once)
Total no. of outcomes = 6 (i.e. 1,2,3,4,5,6)
Probability = 1/6