v3.22.4
Earnings per Share - Schedule of Earnings (Loss) per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Millions
3 Months Ended 9 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2022
Dec. 31, 2021
Earnings Per Share [Abstract]        
Net income attributable to DXC common stockholders: $ 59 $ 98 $ 188 $ 188
Common share information:        
Weighted average common shares outstanding for basic EPS (in shares) 229,540 250,270 230,650 252,440
Dilutive effect of stock options and equity awards (in shares) 3,460 4,550 3,730 5,150
Weighted average common shares outstanding for diluted EPS (in shares) 233,000 254,820 234,380 257,590
Earnings per share:        
Basic (in dollars per share) $ 0.26 $ 0.39 $ 0.82 $ 0.74
Diluted (in dollars per share) $ 0.25 $ 0.38 $ 0.80 $ 0.73