How Many Cores Does My CPU Have?
In this tutorial, you will learn how to find out how many cores your computer has (In Windows, Linux, and macOS).
If you are working on a Windows PC, do the following steps to check how many CPU cores you have.
- Open the Task Manager by pressing
Ctrl+Shift+Esc
. - Click More details if you don’t see the Performance tab.
- Go to the Performance tab and click CPU in the left pane.
- CPU details appear below the utilization graph, including Core count, Thread count (Logical processors), and Clock speed.
On Windows, you can also use the following CMD command to find out how many cores your CPU has:
wmic cpu get NumberOfCores
In Linux, you can run the lscpu
command in the command prompt to get CPU information. Look at the Core(s) per socket directive for CPU Core count.
To get the Core count only, run the lscpu
command as follows:
lscpu | grep "Core(s)"
On Mac, run the following command at the terminal:
sysctl hw.ncpu