Maximum Photoshop Custom Brush Size

Does anyone know the max specs for defineing a custom brush. I want to make large ones for to work with on 300+ DPI projects but there seems to be a limit to how big they can be. Is it dependent on actual canvas size or is it a resolution issue? I’m just getting tired of using trial and error to find brush sizes that work.

Thanks