v3.22.2.2
Earnings (Loss) Per Share - Summary of Basic and Diluted Computation (Details) - USD ($)
$ / shares in Units, $ in Millions
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Earnings Per Share [Abstract]        
Net income (loss) attributable to Dun & Bradstreet Holdings, Inc., basic $ 8.0 $ 16.6 $ (25.1) $ (60.1)
Net income (loss) attributable to Dun & Bradstreet Holdings, Inc., diluted $ 8.0 $ 16.6 $ (25.1) $ (60.1)
Weighted average number of shares outstanding-basic (shares) 429,209,862 428,634,355 429,043,929 428,674,777
Weighted average number of shares outstanding-diluted (shares) 429,426,048 428,726,126 429,043,929 428,674,777
Earnings (loss) per share of common stock:        
Basic (USD per share) $ 0.02 $ 0.04 $ (0.06) $ (0.14)
Diluted (USD per share) $ 0.02 $ 0.04 $ (0.06) $ (0.14)
Antidilutive securities excluded from computation of EPS (shares) 7,600,000 6,800,000