Diagnosis of SBP is primarily based on the analysis of ascitic fluid obtained via paracentesis. The fluid is evaluated for the presence of polymorphonuclear leukocytes (PMNs). A PMN count of 250 cells/mm³ or higher is considered diagnostic of SBP. Additionally, culture of the ascitic fluid can help identify the causative organism, although cultures may sometimes be negative.