porting heads

what size header? and for example a 2" header is 2" outside diameter. the exhaust port does not get matched to the gasket, it gets matched to the header inside size, or slightly smaller than the header inside size