Condensed Consolidated and Combined Statements of Operations - USD ($)
shares in Millions, $ in Millions
3 Months Ended
Sep. 30, 2016
Sep. 30, 2015
Income Statement [Abstract]    
Revenues $ 550.7 $ 514.6
Expenses:    
Cost of revenues 315.1 310.8
Selling, general and administrative expenses 113.7 97.4
Restructuring expenses 1.1 1.9
Total expenses 429.9 410.1
Operating earnings 120.8 104.5
Interest expense (10.7) (9.3)
Other income, net 1.8 0.6
Earnings before income taxes 111.9 95.8
Provision for income taxes (32.7) (34.6)
Net earnings 79.2 61.2
Less: net earnings attributable to noncontrolling interest 2.3 2.2
Net earnings attributable to CDK $ 76.9 $ 59.0
Net earnings attributable to CDK per common share:    
Basic (usd per share) $ 0.51 $ 0.37
Diluted (usd per share) $ 0.51 $ 0.37
Weighted-average common shares outstanding:    
Basic (shares) 150.2 159.2
Diluted (shares) 151.7 160.7
Dividends declared per common share (usd per share) $ 0.135 $ 0.12