They can flatten out like a mouse. If their head can get through, that's a good gauge. Because just a bit bigger than their head and they get through. For example, if it is a long gap in a cage then if their head can fit, then the rest will follow. If it just a small circular gap, then it needs to be bigger than their head. But then you run the risk of it getting stuck.