Skip to main content

What is a CPU?

If you’re just learning about the world of computers and electronics, the terminology used to refer to different parts can be confusing. One component term you may have encountered is “CPU,” which stands for “central processing unit.”

CPUs reside in almost all devices you own, whether it’s a smartwatch, a computer, or a thermostat. They are responsible for processing and executing instructions and act as the brains of your devices. Here, we explain how CPUs interact with other parts of your devices and what makes them so integral to the computing process.

What makes a CPU a CPU?

The CPU is the core component that defines a computing device, and while it is of critical importance, the CPU can only function alongside other hardware. The silicon chip sits in a special socket located on the main circuit board (motherboard or mainboard) inside the device. It is separate from the memory, which is where information is temporarily stored. It is also separate from the graphics card or graphics chip, which renders the video and 3D graphics that are displayed on your screen.

CPUs are built by placing billions of microscopic transistors onto a single computer chip. Those transistors allow it to make the calculations it needs to run programs that are stored on your system’s memory. They’re effectively minute gates that switch on or off, thereby conveying the ones or zeros that translate into everything you do with the device, be it watching videos or writing an email.

One of the most common advancements of CPU technology is in making those transistors smaller and smaller. That’s resulted in the improvement to CPU speed over the decades, often referred to as Moore’s Law.

In the context of modern devices, a desktop or laptop has a dedicated CPU that performs many processing functions for the system. Mobile devices and some tablets instead utilize a System on Chip (SoC) which is a chip that packages the CPU alongside other components. Intel and AMD both offer CPUs with graphics chips and memory stored on them, too, meaning they can do more than just standard CPU functions.

What does a CPU actually do?

A person's hand reaching towards a computer's exposed CPU.

At its core, a CPU takes instructions from a program or application and performs a calculation. This process breaks down into three key stages: Fetch, decode, and execute. A CPU fetches the instruction from RAM, decodes what the instruction actually is, and then executes the instruction using relevant parts of the CPU.

The executed instruction, or calculation, can involve basic arithmetic, comparing numbers, performing a function, or moving numbers around in memory. Since everything in a computing device is represented by numbers, you can think of the CPU as a calculator that runs incredibly fast. The resulting workload might start up Windows, display a YouTube video, or calculate compound interest in a spreadsheet.

In modern systems, the CPU acts like the ringmaster at the circus by feeding data to specialized hardware as it is required. For example, the CPU needs to tell the graphics card to show an explosion because you shot a fuel drum or tell the solid-state drive to transfer an Office document to the system’s RAM for quicker access.

Cores, clocks, and costs

Originally, CPUs had a single processing core. Today’s modern CPU consists of multiple cores that allow it to perform multiple instructions at once, effectively cramming several CPUs on a single chip. Most CPUs sold today have two or four cores. Six cores are considered mainstream, while more expensive chips range from eight to a massive 64 cores.

Many processors also employ a technology called multithreading. Imagine a single physical CPU core that can perform two lines of execution (threads) at once, thereby appearing as two “logical” cores on the operating system end.  These virtual cores aren’t as powerful as physical cores because they share the same resources, but overall, they can help improve the CPU’s multitasking performance when running compatible software.

Clock speed is prominently advertised when you are looking at CPUs. This is the “gigahertz” (GHz) figure that effectively denotes how many instructions a CPU can handle per second, but that’s not the whole picture regarding performance. Clock speed mostly comes into play when comparing CPUs from the same product family or generation. When all else is the same, a faster clock speed means a faster processor. However, a 3GHz processor from 2010 will deliver less work than a 2GHz processor from 2020.

So, how much should you pay for a CPU? We have several guides to give you some suggestions for the best CPUs you can buy. For a general outline, however, unless you’re a hardcore gamer or someone looking to edit videos, you don’t need to spend more than $250. You can help keep the cost down by avoiding the latest hardware and instead sticking to a recent generation of CPU.

For Intel CPUs, that means 8th-, 9th-, or 10th-generation chips. You can determine their generation by the product name. For instance, the Core i7-6820HK is an older 6th-generation chip, while the Core i5-10210U is a newer 10th-generation chip.

AMD does something similar with its Ryzen CPUs: The Ryzen 5 2500X is a 2nd-generation chip based on its new “Zen+” core design, while the Ryzen 9 3950X is a 3rd-generation CPU. Ryzen 4000 was released as a laptop chip line and in APU form with very limited availability on desktop through system builders. With that in mind, it’s arguable whether the Ryzen 5000 is the fourth or fifth generation of AMD Ryzen CPU, but it’s the latest, and most recently, AMD has unified its laptop, APU, and desktop platforms under the Ryzen 5000 banner.

How important is the CPU?

These days, your CPU isn’t as important for overall system performance as it once was, but it still plays a major role in the response and speed of your computing device. Gamers will generally find a benefit from higher clock speeds, while more serious work such as CAD and video editing will see an improvement from a higher CPU core count.

You should bear in mind that your CPU is part of a system, so you want to be sure you have enough RAM and also fast storage that can feed data to your CPU. Perhaps the largest question mark will hang over your graphics card as you generally require some balance within your PC, both in terms of performance and also cost.

Now that you understand the role of a CPU, you are in a better position to make an educated choice about your computing hardware. Use this guide to learn more about the best chips from AMD and Intel.

Editors' Recommendations

Topics
Jon Martindale
Jon Martindale is the Evergreen Coordinator for Computing, overseeing a team of writers addressing all the latest how to…
AMD’s upcoming Ryzen 5 5600X3D could completely dethrone Intel in budget builds
AMD Ryzen 5 5600X3D box.

If you thought that Zen 3 was over, think again -- AMD is releasing a brand new Zen 3 processor that might be powerful enough to rival some of the best CPUs on the market. The Ryzen 5 5600X3D will harness the power of AMD's 3D V-Cache to deliver solid gaming performance at an affordable price.

AMD's new CPU might challenge Intel at a price point where it currently dominates. There's a catch, though -- the CPU is a limited edition model, so those who want to upgrade will need to act fast. Here's everything we know about the Ryzen 5 5600X3D.

Read more
The best free parental control software for PC, Mac, iOS, and Android
Man using computer.

Everything in this world has gone digital, and that includes homework (if you have kids). If your children are young, you’re probably not giving them laptops or free rein of the family computer yet. You’re also probably not always able to monitor their screen activity, either.

That’s where parental control software comes in handy. Such software helps keep your kids safe from the dark web, and there are usually free options available for all operating systems. Keep reading to find out more.
Built-in OS features
Giving your kids technology designed for their age group is an excellent first step toward keeping them safe online. When they have access to more general computing devices, you can leverage parental control features built right into the operating system. The parental controls for both Windows and macOS provide a convenient and acceptable means for restricting web access and chat functionality, and give parents the ability to view detailed logs and monitor email exchanges.
Microsoft Family Safety

Read more
Everything you need to know about buying a GPU in 2023
RTX 4090.

The graphics card, also known as the GPU, is arguably one of the most exciting components in any PC build. Alongside the processor, your graphics card often has the greatest impact on the overall performance of your PC. That makes it a pretty high-stakes purchase, especially if you consider that GPUs can get pretty expensive.

The GPU market has a lot to offer, and that's regardless of your needs and your budget. Whether you're aiming for something super cheap to support some light browsing or a behemoth to handle the most GPU-intensive games, you have lots of options. In this guide, we'll show you what to look out for so that you can pick the best GPU that fits your budget and needs.
Nvidia, AMD, or Intel?
Consumer graphics cards are generally split into two categories -- integrated and discrete graphics. Since you're here, you're most likely looking for a discrete (or dedicated) GPU, and that's what we're going to focus on in this article.

Read more