To calculate the percentage of a number, multiply the number by the percentage value and divide the result by 100.