hardwareConcurrencyBaseline · Widely available
The navigator.hardwareConcurrency property is the number of logical processors available to run threads on the user's computer.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Mar 14, 2022. Widely available since Sep 14, 2024.
Browser support
DesktopChrome
1–36Not supported
37+Supportedsince Aug 26, 2014
Current: 155Edge
12–14Not supported
15+Supportedsince Apr 5, 2017
Current: 154Firefox
1–47Not supported
48+Supportedsince Aug 2, 2016
Current: 157Safari
1–15.3Not supported
15.4+Supportedsince Mar 14, 2022
Current: 27MobileChrome Android
18–36Not supported
37+Supportedsince Sep 3, 2014
Current: 155Firefox Android
4–47Not supported
48+Supportedsince Aug 2, 2016
Current: 157Safari iOS
1–15.3Not supported
15.4+Supportedsince Mar 14, 2022
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: hardwareConcurrency.
Feature detection
JS · check before using
if ("Navigator" in globalThis && "hardwareConcurrency" in Navigator.prototype) {
// Navigator.hardwareConcurrency is available
}Documentation (MDN)
Specification
Usage share
Sub-features
Support for each part of the feature (2). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| Navigator.hardwareConcurrency | 37 | 15 | 48 | 15.4 | 37 | 48 | 15.4 |
| WorkerNavigator.hardwareConcurrency | 37 | 15 | 48 | 15.4 | 37 | 48 | 15.4 |