To find out how many students ride their bikes or walk to school, we need to calculate 40 percent of the total number of students.
First, find 40 percent of 500:
\[ 0.40 \times 500 = 200 \]
So, 200 students ride their bikes or walk to school.
The answer is 200.