v3.20.2

Net Income (Loss) Per Share - Schedule of Potentially Dilutive Securities (Detail) - shares shares in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2020 | Jun. 30, 2019 | Jun. 30, 2020 | Jun. 30, 2019
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Total potentially dilutive securities (in shares) | 356 | 24,113 | 2,876 | 24,113
Common stock options |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Total potentially dilutive securities (in shares) | 161 | 1,370 | 161 | 1,370
RSUs |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Total potentially dilutive securities (in shares) | 195 | 10,917 | 2,537 | 10,917
ESPP obligations |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Total potentially dilutive securities (in shares) | 0 | 212 | 178 | 212
Convertible senior notes | 2022 Notes |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Total potentially dilutive securities (in shares) | 0 | 5,807 | 0 | 5,807
Warrants related to the issuance of convertible senior notes | 2022 convertible senior notes |  |  |  |
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] |  |  |  |
Total potentially dilutive securities (in shares) | 0 | 5,807 | 0 | 5,807

X
- Definition Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_RestrictedStockUnitsRSUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=now_EmployeeStockPurchasePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_ConvertibleNotesPayableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=now_A2022ConvertibleSeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_WarrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=now_A2022WarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |