In this paper, we study the blowup of smooth solutions to the compressible Euler equations with radial symmetry on some fixed bounded domains ( $$B_{R}=\{x\in {\mathbb {R}}^{N}:\ |x|\le R\}$$ , $$N=1,2,\ldots $$ ) by introducing some new averaged quantities. We consider two types of flows: initially move inward and initially move outward on average. For the flow initially moving inward on average, we show that the smooth solutions will blow up in a finite time if the density vanishes at the origin only ( $$\rho (t,0)=0,\ \rho (t,r)>0,\ 0<r\le R$$ ) for $$N\ge 1$$ or the density vanishes at the origin and the velocity field vanishes on the two endpoints ( $$\rho (t,0)=0,\ v(t,R)=0$$ ) for $$N=1$$ . For the flow initially moving outward, we prove that the smooth solutions will break down in a finite time if the density vanishes on the two endpoints ( $$\rho (t,R)=0$$ ) for $$N=1$$ . The blowup mechanisms of the compressible Euler equations with constant damping or time-depending damping are obtained as corollaries.