Stock-Based Compensation - Compensation (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2018 |
Jun. 30, 2017 |
Jun. 30, 2018 |
Jun. 30, 2017 |
|
| Amounts recognized in the financial statements | ||||
| Stock-based compensation programs expense | $ 49 | $ 59 | $ 208 | $ 206 |
| Income tax benefits | (19) | (74) | (117) | (222) |
| Stock-based compensation expenses (benefits), net of tax | 30 | (15) | 91 | (16) |
| Cost of sales | ||||
| Amounts recognized in the financial statements | ||||
| Stock-based compensation programs expense | 9 | 9 | 32 | 32 |
| Selling, general and administrative expenses | ||||
| Amounts recognized in the financial statements | ||||
| Stock-based compensation programs expense | 33 | 43 | 142 | 141 |
| Research, development and related expenses | ||||
| Amounts recognized in the financial statements | ||||
| Stock-based compensation programs expense | $ 7 | $ 7 | $ 34 | $ 33 |