The formula for calculating the primary attack rate is straightforward: Primary Attack Rate = (Number of new cases in the group / Total number of people exposed) × 100 For example, if 10 out of 100 people exposed to a primary case develop the disease, the primary attack rate would be 10%.