CT is not routinely indicated but is valuable for evaluating the underlying lung parenchyma for infiltrates or masses when the lung is obscured by the effusion or when the detail on chest x-rays is insufficient for distinguishing loculated fluid from a solid mass.