Let X be the number of students in the middle school.

We know that X*20% = 168 students are in the band.

So there are X = 168/20% = 840 students in the middle school.

# Answer

840
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
At a middle school, 20% of the students are in the band. If 168 students are in the band, how many students go to the middle school?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
840
At a middle school, 20% of the students are in the band. If 168 students are in the band, how many students go to the middle school?
train