Min size for TUB drain

Hi all. I am changing around my bathroom and want to flip the way the tub is. Just wondering what the minimum size for the drain I can get away with. I'm going to have to go through 1 joist and want to keep the hole as small as I can.