Short answer
- A computer is a programmable machine that takes in data, processes it according to instructions, stores the results, and produces output. Merriam-Webster defines it as a programmable, usually electronic device that can store, retrieve, and process data, and Britannica describes it as a device for processing, storing, and displaying information.
- Every computer does the same four jobs: input, processing, storage, and output. A keyboard press, a finger tap, or a sensor reading is input. The processor follows a program to work on that input. Memory and storage keep data and results. A screen, speaker, or printer delivers the output.
- The word computer once described a person, not a machine. For centuries, human computers did calculations by hand. The name moved to machines only when electronic computers took over that work in the 1940s.
- A laptop is a computer, and so is a phone, a tablet, a server, and the small computer inside a washing machine or a car. What makes each of them a computer is not its shape or its size. It is that it follows stored instructions to process information.
What a Computer Is, in Plain Terms
A computer is a machine that works with information. It takes information in, changes it or acts on it in some way, keeps it for later, and gives a result back. That short description covers the laptop on a desk, the phone in a pocket, the server that delivers a web page, and the tiny computer that controls a microwave oven. The shapes differ widely. The job is the same.
Two ideas in that description do most of the work. The first is that a computer is programmable. It does not do only one fixed task. It follows a set of instructions, called a program, and a different program makes the same machine do a different job. The same laptop can edit a document, play a video, or calculate a budget, because each task is a different program running on the same hardware. The Computer History Museum makes the same point in another way, calling the computer a universal machine: it is not designed to do a specific thing, so software can turn it into almost anything, from an automatic teller machine to a flight simulator.
The second idea is that a computer works with information rather than with physical material. A washing machine moves water and clothes. A car moves people. A computer moves and changes data: numbers, words, pictures, sounds, and instructions. It can also control physical things, such as a printer, a robot arm, or a car engine, but it does that by processing information and sending signals, not by doing the physical work itself.
This is why the familiar picture of a computer as a box with a screen is too narrow. The screen and the box are one common form, the desktop or laptop personal computer. But the definition does not require a screen, a keyboard, or a box at all. A server in a data center often has no screen of its own. A computer inside a car has no keyboard. A smart thermostat has a small display and a few buttons, yet it still takes in temperature readings, follows a program, and switches heating on and off. What matters is the combination of input, processing, storage, and output under the control of a program.
It also helps to separate three words that people often use as if they meant the same thing. A computer is the whole machine. Hardware is the physical parts of that machine. Software is the set of instructions that tells the hardware what to do. A computer needs both. Hardware without software does nothing useful, and software without hardware has nothing to run on. The sections below explain each part in turn.
The Four Jobs Every Computer Does
Every computer, from the smallest embedded chip to the largest supercomputer, does four jobs. Together they are often called the information processing cycle: input, processing, storage, and output. The order can vary, and the jobs often overlap, but no general purpose computer skips any of them.
Input is information going into the computer. A keyboard sends letters and commands. A mouse or a trackpad sends position and clicks. A touchscreen sends taps and swipes. A microphone sends sound. A camera sends images. A temperature sensor sends a reading. A network connection sends data from another computer. Input devices are the parts that collect this information, and our guide to input units explains them in detail. Note that this link is a same-wave cross-link to AMB-2164, which is not yet live: confirm it is live before publishing, or hold the link.
Processing is the computer working on the input. The central processing unit, usually called the CPU, carries out the instructions of the program step by step. It adds numbers, compares values, moves data from one place to another, and decides what to do next based on the results. When you search for a word in a document, the processor runs through the text and compares each word with the one you typed. When you open a photo, it decodes the stored data into pixels for the screen. Processing happens very fast, in tiny steps, and a program strings those steps together into useful work.
Storage is the computer keeping information so it can use it now or later. There are two kinds of storage, and the difference matters. Memory, usually called RAM, holds the data and programs the computer is working with right now. It is fast, but it loses its contents when the power goes off. Longer term storage, such as a solid state drive or a hard drive, keeps files, programs, and the operating system even when the computer is switched off. The difference between these two kinds of memory is explained in our guide to RAM and ROM, and in the companion article on whether memory is the same as RAM. The second of these is a same-wave cross-link to AMB-2161, which is not yet live: confirm it is live before publishing, or hold the link.
Output is a result coming out of the computer. A screen shows words and pictures. A speaker plays sound. A printer puts ink on paper. A network connection sends data to another machine. A motor moves because the computer sent it a signal. Output devices are the parts that deliver results to people or to other machines, and our guide to output units covers them in detail. Note that this link is a same-wave cross-link to AMB-2163, which is not yet live: confirm it is live before publishing, or hold the link.
A simple example ties the four jobs together. You type a question into a search box and press Enter. The keyboard is the input. The processor runs the search program, which looks through stored data and ranks the results. Memory holds the program and the results while the work happens, and storage holds the saved data the program searched. The screen is the output, showing the answer. Change any one of the four jobs and the task breaks: with no input, the computer waits; with no program, it cannot process; with no memory, it cannot hold the work in progress; with no output, you never see the result.
Hardware: The Parts You Can Touch
Hardware is every physical part of a computer. If you can touch it, it is hardware. The main parts sit inside the case, and the parts you use to interact with the machine sit outside it.
The processor, or CPU, is the part that carries out instructions. It is a chip, usually mounted on the main circuit board, and it performs arithmetic and logical operations millions or billions of times per second. The speed and design of the processor affect how quickly a computer can work, but the processor alone does not decide how useful a computer is. A fast processor with too little memory, or with slow storage, still waits for data.
The main circuit board, called the motherboard, connects the parts together. It carries the processor, the memory, and the storage connections, and it provides the pathways that let those parts exchange data. The chipset on the motherboard manages that traffic. Our guide to what a motherboard chipset is explains how the board and its chipset organize the flow of information between parts.
Memory, or RAM, is the computer’s short term workspace. When you open a program, the computer loads it from storage into memory so the processor can reach it quickly. More memory lets a computer keep more programs and files open at once without slowing down. Storage, by contrast, is where programs and files live when they are not in use. A solid state drive has no moving parts and reads data quickly. A hard drive stores data on spinning disks and is usually slower but cheaper for large amounts of data. Both keep their contents when the power is off, which is the key difference from memory.
Input and output devices, often called peripherals, are the parts you interact with directly. Keyboards, mice, touchscreens, microphones, cameras, and scanners are input devices. Screens, speakers, headphones, and printers are output devices. Some devices do both, such as a touchscreen, which takes taps as input and shows images as output, or a network adapter, which sends and receives data. To see how these parts fit together inside the case, see our companion article on the inside of a computer. Note that this link is a same-wave cross-link to AMB-2159, which is not yet live: confirm it is live before publishing, or hold the link.
The power supply is easy to overlook, but it matters. It converts electricity from a wall outlet or a battery into the steady, low voltage power the parts need. A laptop runs on a battery and charges from an outlet. A desktop draws power from the outlet through its power supply. A phone charges its battery through a cable. Without steady power, none of the other parts can work.
Software: The Instructions That Make Hardware Useful
Software is the set of instructions that tells a computer what to do. A program is a list of instructions written in a programming language and then translated into the simple steps the processor can carry out. Without software, a computer is a collection of parts with no idea what to do next.
The most important software on most computers is the operating system. The operating system manages the hardware and provides the services that other programs rely on. The U.S. National Institute of Standards and Technology defines an operating system as a collection of software that manages computer hardware resources and provides common services for computer programs. In practice, the operating system starts the computer, manages memory and files, talks to the keyboard, screen, and storage, and lets programs share the processor fairly. Windows, macOS, and Linux are operating systems for personal computers. Android and iOS are operating systems for phones and tablets. Our guide to how software works explains the relationship between programs, the operating system, and the hardware in more detail.
On top of the operating system sit applications, often called apps. A word processor, a web browser, a photo editor, a game, and a spreadsheet are all applications. Each one is a program written to do a particular kind of job, and each one asks the operating system for the services it needs, such as opening a file, drawing a window, or sending data over a network. A useful way to think about the layers is this: the hardware does the work, the operating system organizes the work, and the applications decide what work is worth doing.
Software also includes the small programs that control individual pieces of hardware, called drivers, and the firmware that starts a computer before the operating system loads. Firmware lives on a chip on the motherboard and runs the first checks when the power comes on, then hands control to the operating system. You rarely see firmware, but a computer cannot start without it.
One common confusion is worth clearing up. Buying a faster computer does not fix a slow program, and installing a new program does not fix broken hardware. If a screen is cracked, no software update will repair it. If a program is poorly written, a faster processor can only hide the problem, not remove it. Hardware and software are partners, and a fault in either one can make the whole machine seem broken.
How a Computer Stores Information as 0s and 1s
Nearly all modern computers are digital computers, which means they represent information in discrete form, generally as sequences of 0s and 1s. Britannica states this plainly: in contrast to analog computers, digital computers represent information as sequences of binary digits, or bits. A bit is a single 0 or 1. Everything a computer stores, from a letter to a photograph to a song, is built from bits.
The idea is simpler than it sounds. A single bit can answer one yes or no question: on or off, true or false. Two bits can represent four combinations: 00, 01, 10, and 11. Eight bits, commonly grouped as one byte, can represent 256 combinations, which is enough to cover the letters, digits, and punctuation of basic written English. Larger groups of bits represent larger numbers, more colors in a photo, or longer stretches of sound. The computer does not need to understand what a letter or a color is. It only needs a consistent code that turns each item into bits and back again.
This is why computers can handle so many different kinds of information with the same machinery. Text, images, sound, video, and program instructions are all stored as patterns of bits. The processor does not care whether the bits stand for a number in a spreadsheet or a pixel in a photograph. It follows the program’s instructions for combining and moving those bits, and the program knows what the patterns mean. Change the program and the same bits can be read as something else entirely, which is part of why software is so powerful.
The practical consequence is that digital information can be copied exactly. Copying a file does not wear it out the way copying a cassette tape or photocopying a page does, because the copy is a fresh set of the same 0s and 1s. It can also be compressed, encrypted, and sent over a network, all by operating on the bits. The cost is that digital information depends on a machine to read it. A printed page can be read by eye. A file of bits needs a computer, a program, and a screen or speaker to turn it back into something a person can use.
The Main Types of Computer
Computers come in many sizes, but they are usually grouped by size, power, and purpose rather than by brand. The groups overlap, and a device can belong to more than one group, so treat these as useful labels, not rigid boxes.
Personal computers are machines made for one person at a time. A desktop sits on or under a desk and stays in one place. A laptop folds shut and runs on a battery, so it can move between rooms or travel. Both run a general operating system and a wide range of applications, from word processing to web browsing to games. Most readers asking what a computer is are picturing one of these two forms.
Phones and tablets are computers too, even though people rarely call them that. A modern smartphone has a processor, memory, storage, a screen, a camera, a microphone, and a network connection, and it runs an operating system and applications. The same is true of a tablet. The main difference from a laptop is the shape and the way you interact with it: touch instead of a keyboard and mouse, and a battery designed to last a day of mixed use. If it follows stored instructions to process information, it meets the definition, whatever its shape.
Servers are computers built to serve other computers. They store web pages, files, or databases and answer requests from many machines at once. A server often has no screen or keyboard of its own, and it may sit in a rack with dozens of other servers in a data center. When you open a web page, your computer asks a server for the page, and the server sends it back. Large organizations run hundreds or thousands of servers, and some servers are mainframe computers, the large and powerful machines that Britannica describes as once being the sole computer of an organization and now often providing high capacity storage for internet servers.
Supercomputers are the largest and most powerful computers, built for tasks that need enormous amounts of calculation, such as weather forecasting, simulating nuclear weapons experiments, or modeling climate change. As of June 2026, the TOP500 list ranks the Chinese supercomputer LineShine as the world’s fastest, at 2.198 exaflops, ahead of the American supercomputer El Capitan at 1.809 exaflops; El Capitan, at the Lawrence Livermore National Laboratory in California, is used for national security purposes and to help ensure that the country’s nuclear stockpile is secure. A supercomputer is not a single giant processor. It is thousands of processors working together on one problem, coordinated by software that splits the work between them.
Embedded computers are small computers built into other devices to control them. They run a washing machine, manage a car engine, open an automatic door, or keep a thermostat at the right temperature. They usually run one fixed program, they have no screen or keyboard of their own, and their users may never know a computer is inside. Britannica points out that computers are cheap enough to be embedded in everyday appliances and to make clothes dryers and rice cookers smart. A network of such devices, connected so they can share data, is often called the Internet of Things, and our guide to what an IoT network is explains how those devices communicate.
Wearable computers, such as smartwatches and fitness trackers, are a smaller group worth naming. They have a processor, memory, storage, sensors, and a small screen, and they run software that tracks activity, shows notifications, or measures heart rate. They are computers in miniature, designed to be worn rather than carried.
Analog Computers and Digital Computers
Not every computer in history was digital. Analog computers represent information with continuous physical quantities, such as voltages or the positions of mechanical parts, rather than with 0s and 1s. A slide rule is a simple analog device: you move its parts to represent numbers and read the answer from a scale. Larger analog computers used voltages to model problems such as aircraft flight, and they were useful because they could work on a problem in real time, at the same rate as the system being modeled.
Digital computers largely replaced analog computers by the 1960s, according to Britannica, because digital machines were more precise and easier to program for general work. Analog computers are limited in precision, typically to a few decimal places, and a general purpose analog machine is expensive and hard to reprogram. Some hybrid systems, combining digital and analog parts, continued in use through the 1960s for simulation work such as aircraft and spaceflight simulation. Today, when people say computer without any qualifier, they almost always mean a digital electronic computer. The rest of this article uses the word in that sense.
What Counts as a Computer, and What Does Not
The definition gives a practical test. Ask three questions about a device. Does it take in information? Does it follow stored instructions to process that information? Does it store results and produce output? If the answer to all three is yes, it is a computer. If one is missing, it probably is not, or it is only part of one.
A laptop, a phone, a tablet, a server, and a smartwatch pass the test easily. A simple pocket calculator is a closer call. It takes in numbers, follows fixed instructions to calculate, and shows a result, but it cannot run different programs, so most definitions describe it as a computing device rather than a general purpose computer. A remote control is not a computer in the usual sense: it sends a fixed signal when you press a button, but it does not process information or run a program. A television with apps and an operating system, by contrast, is a computer, because it runs programs and processes data.
The test also explains why a computer is more than its most visible part. A screen on its own is not a computer. A keyboard on its own is not a computer. A hard drive on its own is not a computer. Each is a part that does one job. The computer is the whole system: the parts together, plus the software that coordinates them.
There is one more distinction worth making. A computer is not the same thing as the internet. The internet is a network of computers that exchange data with each other. Our guide to when the internet was invented tells that story. A single computer can work without any network connection at all. It can write documents, calculate figures, and play stored music with no internet access. The network adds the ability to share information with other machines, but it is not part of the definition of a computer.
A Short History of the Word and the Machine
The word computer is older than the machine. For centuries it described a person whose job was to do calculations. The Computer History Museum explains that computer was once a job title: men and women sat at office desks performing calculations by hand or with mechanical calculators, and the work was repetitive, slow, and boring, with results that were often unreliable. Merriam-Webster records the first known use of the word in this sense in 1613.
The shift from people to machines took centuries. In the mid 1800s, Charles Babbage designed the Difference Engine to calculate without errors, and then designed the Analytical Engine, a completely programmable computer that the Computer History Museum says we would recognize as such today. Babbage failed to build either machine. Automatic computation had to wait about another hundred years.
The first programmable general purpose electronic digital computer, according to Britannica, was ENIAC, the Electronic Numerical Integrator and Computer, designed during World War II by physicist John Mauchly, engineer J. Presper Eckert Jr., and their colleagues at the University of Pennsylvania. Modern computers are far smaller and faster, and they store their programs in memory. The full story of who built the first machines, and why several people share the credit, is told in our article on who invented the computer.
The machines then shrank and spread. Mainframe computers filled rooms in the 1950s and 1960s and served whole organizations. Personal computers later moved onto desks, and laptops, phones, and tablets followed, and computers moved into pockets, cars, and appliances. The Computer History Museum describes this change as a metamorphosis over two generations: from enormous, slow, expensive machines to small, powerful, multipurpose devices woven into daily life.
What Computers Are Used For
The most useful fact about computers is also the hardest to summarize: they are general purpose machines, so their uses are almost as wide as human activity itself. The same four jobs, input, processing, storage, and output, appear in every use, with different programs and different data.
Communication is one of the largest uses. Computers send email, carry video calls, deliver messages, and serve the web pages and videos people read and watch. Work is another: writing, calculating, designing, keeping records, and managing schedules. Learning is a third: lessons, research, and practice exercises all run on computers. Entertainment is a fourth: games, music, films, and books are stored as data and played back by programs. Science and engineering use computers to model weather, design bridges, analyze DNA sequences, and simulate physical systems that cannot be tested directly.
Computers also control machines. They manage car engines, guide aircraft, run factory robots, monitor power grids, and keep medical equipment working. They store and organize information: patient records, library catalogs, bank accounts, and government archives all live on computers. And they help people with limited mobility or vision to read, write, and communicate, through screen readers, voice control, and other assistive programs.
None of these uses requires the user to understand how the computer works inside. That is the point of a general purpose machine with good software: the complexity is hidden behind a screen, a keyboard, and a set of familiar actions. But a basic understanding helps when something goes wrong, when you need to choose a machine, or when you need to judge whether a claim about computers is plausible. That is what computer literacy means in practice, and our guide to what computer literacy is explains the skills that matter most.
Common Misunderstandings
A few misunderstandings come up so often that they are worth answering directly.
The first is that a computer is the same thing as a monitor. It is not. The monitor is the output device. The computer is the system inside the case, or inside the phone or tablet, that does the processing and storage. A monitor with no computer attached shows nothing. A computer with no monitor attached can still work, and many servers do exactly that.
The second is that more expensive always means better. Price tracks power and features, but the right computer depends on the job. A machine built for video editing has a fast processor and a large amount of memory because editing needs them. A machine built for writing and browsing needs far less. Buying more power than the job needs wastes money. Buying less than the job needs wastes time.
The third is that computers think. They do not. A computer follows instructions and processes data, and modern programs can recognize patterns, translate languages, and produce fluent text. Britannica notes that computers can imitate humans quite effectively, but that imitation may not replace the human element in social interaction, and that computers are limited by their reliance on data rather than a moral compass or human conscience. A computer has no understanding, no intentions, and no feelings. When it produces a wrong answer, the fault usually lies in the data, the program, or the instructions it was given.
The fourth is that deleting a file removes it forever. It usually does not. Deleting a file normally removes the record that points to it, and marks its storage space as available for reuse. The data itself often remains until another file overwrites it. That is why deleted files can sometimes be recovered, and why simply deleting sensitive files is not a secure way to dispose of a computer.
The fifth is that a computer problem is always a virus. Many problems are not. A full storage drive, a failing battery, a loose cable, an outdated driver, or a program with a bug can all make a computer slow or unreliable. Security software matters, and malicious programs are real, but they are only one of several possible causes, and assuming a virus can delay the real fix.
Frequently Asked Questions
What is a computer in simple terms?
A computer is a programmable machine that takes in data, processes it by following instructions, stores the results, and produces output. A laptop, a phone, a tablet, and a server are all computers, because they all do those four jobs.
What are the four main functions of a computer?
The four main functions are input, processing, storage, and output. Input brings information in. Processing works on it according to a program. Storage keeps data and results. Output delivers the result to a person or another machine.
Is a smartphone a computer?
Yes. A smartphone has a processor, memory, storage, a screen, a camera, and a network connection, and it runs an operating system and applications. It is a computer shaped for the hand, controlled by touch instead of a keyboard and mouse.
What is the difference between hardware and software?
Hardware is the physical parts of a computer, such as the processor, memory, storage, keyboard, and screen. Software is the set of instructions that tells the hardware what to do, including the operating system and the applications. A computer needs both to do useful work.
What is an operating system?
An operating system is the software that manages a computer’s hardware and provides common services for other programs. It starts the computer, manages memory and files, and lets applications share the processor and the screen. Windows, macOS, Linux, Android, and iOS are examples.
Do computers understand language?
No, not in the human sense. A computer stores words as patterns of bits and follows programs that match, sort, and transform those patterns. It can produce fluent sentences and translate between languages, but it does so by processing data, not by understanding meaning.
What was the first computer?
There is no single answer, because it depends on what counts as a computer. Babbage designed a programmable machine in the 1800s but never built it. ENIAC, built during World War II, was the first programmable general purpose electronic digital computer, according to Britannica. Our article on who invented the computer explains why several people share the credit.
How do I know if a device is a computer?
Ask whether it takes in information, follows stored instructions to process it, stores results, and produces output. If it does all four, it is a computer. A laptop and a phone pass the test. A simple remote control does not, because it sends a fixed signal without processing information.
Sources & references
- Encyclopaedia Britannica, Computer. Definition, digital computers and binary digits, analog computers, mainframes, ENIAC, and El Capitan. Updated 9 November 2026. https://www.britannica.com/technology/computer
- Merriam-Webster, Computer. Definition as a programmable usually electronic device that can store, retrieve, and process data, and first known use in 1613. Accessed 12 November 2026. https://www.merriam-webster.com/dictionary/computer
- Computer History Museum, Why a Computer History Museum? Computer as a former job title, Babbage's Difference Engine and Analytical Engine, the computer as a universal machine, and the spread of computers into daily life. Published 11 January 2011, updated 15 August 2019. https://computerhistory.org/blog/why-a-computer-history-museum/
- U.S. National Institute of Standards and Technology, Computer Security Resource Center Glossary, operating system. Definitions from NIST SP 800-44 Version 2, NIST SP 800-86, NIST SP 800-152, and other cited sources. Accessed 12 November 2026. https://csrc.nist.gov/glossary/term/operating_system