A CPU is the part of your computer that does the thinking

The CPU, or central processing unit, is the component that runs every instruction your computer receives. When you click a button, type a letter, or open a file, the CPU is the part that actually carries out that work. It reads instructions from your programs, performs calculations, and sends results to other parts of your computer — your screen, your storage drive, your network card. Without a CPU, your computer is just plastic and metal with no way to do anything.

Think of a CPU the way you might think of a brain. Your brain receives signals from your senses, decides what to do with them, and tells your body to act. A CPU receives signals from your keyboard and mouse, decides what your program should do next, and tells your screen what to display and your hard drive what to save. The faster and more capable your CPU, the faster your computer can think and act.

Key Takeaways

  • A CPU executes instructions from your programs and controls everything your computer does, from displaying text to saving files.
  • CPU speed is measured in gigahertz (GHz), and more cores mean the CPU can work on multiple tasks at the same time.
  • Common CPU makers are Intel and AMD for Windows computers, and Apple for Mac computers.
  • A faster CPU makes programs run quicker and lets you work with larger files or more programs at once without slowdown.

How a CPU actually works

A CPU works in cycles. In each cycle, it fetches an instruction from memory, decodes what that instruction means, executes it, and stores the result. This happens billions of times per second. Your computer's clock — a crystal that vibrates at a precise frequency — controls the timing of these cycles. The faster the clock ticks, the more cycles the CPU can complete in a second, and the faster your computer runs.

Modern CPUs have multiple cores, which means they can run multiple instruction cycles at the same time. A dual-core CPU has two cores, so it can execute two sets of instructions in parallel. A quad-core CPU has four. This matters because it lets your computer do more than one thing at once — play music while you edit a document, for example — without either task slowing the other down.

CPUs also have cache, which is a small amount of very fast memory built into the CPU itself. When the CPU needs data, it first checks the cache. If the data is there, it gets it when ready. If not, the CPU has to fetch it from your computer's main memory, which is slower. Larger cache means the CPU spends less time waiting for data.

CPU speed and what the numbers mean

CPU speed is measured in gigahertz, or GHz. One gigahertz means one billion clock cycles per second. A CPU rated at 3.0 GHz completes three billion cycles per second. A 4.5 GHz CPU completes 4.5 billion cycles per second. Higher numbers mean faster processing, but the relationship is not always one-to-one — a 4.5 GHz CPU from one maker may not be twice as fast as a 2.25 GHz CPU from another, because different CPUs execute different numbers of instructions per cycle.

You will also see the term boost clock on CPU specifications. This is the maximum speed the CPU can reach for short periods when it needs extra power. A CPU might have a base clock of 3.0 GHz but a boost clock of 4.5 GHz. The CPU runs at base speed most of the time to save power and heat, then speeds up when a program demands it.

Intel, AMD, and Apple CPUs

Most Windows computers use CPUs made by Intel or AMD. Intel's consumer CPUs are called Core (Core i3, Core i5, Core i7, Core i9) and Pentium. AMD's are called Ryzen. Both companies make CPUs for different price points and use cases — entry-level CPUs for basic web browsing and email, mid-range CPUs for everyday work and gaming, and high-end CPUs for video editing, 3D rendering, and other demanding tasks.

Apple designs its own CPUs for Mac computers. Recent models use the M-series chips (M1, M2, M3, and newer). These are built specifically for macOS and cannot be swapped out or upgraded — they are soldered to the motherboard. Apple's approach is different from Intel and AMD, which sell CPUs that computer makers can install in different machines.

Why CPU matters for what you do

For basic tasks — email, web browsing, word processing, video streaming — even an older or budget CPU is fast enough. These tasks do not demand much processing power. You will not notice a difference between a mid-range CPU and a high-end one when you are reading a news site.

For demanding tasks, CPU matters more. Video editing, 3D rendering, programming, running virtual machines, and gaming all push the CPU hard. A faster CPU with more cores will let you work faster and smoother. If you are editing 4K video on a slow CPU, you might wait minutes for the program to process each change. On a fast CPU, the same task might take seconds.

CPU also matters when you run many programs at once. If you have ten browser tabs open, a music player, a document editor, and a chat app all running, a CPU with more cores will handle them all without slowing down. A single-core or dual-core CPU will start to struggle.

CPU temperature and power use

CPUs generate heat when they work. The harder they work, the hotter they get. Your computer has a cooling system — usually a fan and a heatsink — to pull heat away from the CPU and out of the case. If the CPU gets too hot, it will slow itself down automatically to cool off, which makes your computer slower. If it gets dangerously hot, your computer will shut down to protect the CPU from damage.

CPUs also use electrical power, and faster CPUs use more power than slower ones. This matters for laptops, where power use affects battery life. A laptop with a high-performance CPU will drain its battery faster than one with a low-power CPU. Desktop computers plugged into the wall are less affected by power use, though a very power-hungry CPU will raise your electricity bill.

Upgrading or replacing a CPU

On a desktop computer, you can sometimes replace the CPU with a faster one. You remove the old CPU from its socket on the motherboard, install a new one, and your computer is faster. Not all motherboards accept all CPUs — Intel sockets and AMD sockets are different, and older motherboards may not support newer CPUs even if the socket matches. Before buying a replacement CPU, check your motherboard's manual to see which CPUs it supports.

On a laptop, the CPU is usually soldered to the motherboard and cannot be replaced. If your laptop is slow, you cannot upgrade the CPU. You would have to buy a new laptop. This is one reason to choose a laptop with a capable CPU from the start, even if it costs more — you are stuck with it for the life of the machine.

Frequently Asked Questions

What is the difference between CPU and GPU?

A CPU handles general-purpose instructions from your programs. A GPU (graphics processing unit) is specialized for drawing images and video. GPUs are much faster at certain types of math that graphics require, but slower at general tasks. Many computers have both — the CPU runs your programs, and the GPU handles the display.

Does a faster CPU make my computer faster?

Usually yes, but not always noticeably. If you are browsing the web or writing documents, a faster CPU will not feel much different. If you are editing video, rendering 3D images, or running many programs at once, a faster CPU will make a real difference in how long tasks take.

Can I tell how fast my CPU is just by looking at the GHz number?

Not reliably. A 4.0 GHz CPU from one maker may be faster or slower than a 3.5 GHz CPU from another, depending on how many instructions each one executes per cycle. The GHz number is one piece of information, but not the whole story. Reviews and benchmarks give a better picture.

What happens if my CPU overheats?

Your computer will slow down automatically to cool off. If it gets too hot, your computer will shut down to protect the CPU. Overheating usually means your cooling fan is clogged with dust or not working. Clean the fan or replace it if it is broken.

Is my CPU getting old?

CPUs do not wear out or get slower over time. A CPU that was fast five years ago is still that fast today. However, new programs and games are written to take advantage of newer CPUs, so an old CPU may struggle with new software even though it still works fine with older software.