Will a 4 inch exhaust fit on my mazda3 GT hatchback 2006?

It's possible, but why? There's literally no reason to have an exhaust that big on a car with such a small engine.
 
Are you talking tail pipe or entire exhaust system - BIG difference!
 
Back