Accurate calibration of aerosol measurement instruments is critical for ensuring the data quality when sampling ambient particulate matter (PM) or those from emission sources. A system for calibrating these instruments was set up, which included an ultrasonic device to generate polydisperse supermicron particles, a chamber, and an aerodynamic particle spectrometer to measure particle size distribution. We verified its performance in stably generated testing aerosol with good spatial uniformity, controlled size distributions and concentrations. The testing aerosol generated had a lognormal distribution. A PM₁₀ and PM₂.₅ two-stage virtual impactor was calibrated using this online method. Collection efficiencies of PM₁₀ and PM₂.₅ stages calibrated by an off-line method using monodisperse particles were also used for comparison. The results from two different methods were consistent with each other. Though the off-line method has been widely used to calibrate PM samplers, it suffers from long experimental duration (2-3 days for calibrating one sampler). In contrast, the online method allows for a rapid calibration (less than half a day for calibrating one sampler).