A new school have 640 students A construction code requires that new building have 2 restrooms for every 80 students in the building based on the construction code. What is the total number of restrooms the new school building must have

To find the total number of restrooms the new school building must have, we need to determine how many groups of 80 students are in a new school building with 640 students.

Total number of restrooms = Total number of groups * Restrooms per group

Total number of groups = Total number of students / Students per group
Total number of groups = 640 students / 80 students per group = 8 groups

Restrooms per group = 2 restrooms

Therefore, the total number of restrooms the new school building must have is 8 groups * 2 restrooms per group = <<8*2=16>>16 restrooms. Answer: \boxed{16}.