Depending on the size of the basketball court, between 18 and 20 laps equal 1 mile. Since gymnasiums can vary greatly in size, it is easier to calculate how many laps around a regulation basketball court equals a mile.
One mile is equal to 5,280 feet. A regulation high school or college basketball court measures 84 x 50 feet, while an NBA-regulation court measures 94 x 50 feet. The total amount of feet around the court can be found by multiplying the length and width by 2 and dividing that number by 5,280 feet. Since the result is not even, it is necessary to either round the answer or run a partial final lap in order to reach a mile.