Is it permissible to pray in clothes that are torn or with holes? Also how big should the tear/hole be in order to invalidate the prayer of at all holes invalidates prayer.

Holes in clothes do not invalidate the prayer. If you’re a man you just need to cover your private parts. A female should cover her body with the exception of face and hands. She can wear something above ripped clothes.