Short answer
- An input unit is the part of a computer system that takes data and instructions from the outside world and feeds them into the computer. It is made up of input devices such as the keyboard, mouse, microphone, scanner and touchscreen. When you type, click, speak or scan something, the input unit converts that action into electrical signals in binary code that the computer can store and process. The input unit does three jobs. It accepts data and instructions from a person or from another source, it converts them into a form the computer understands, and it delivers that converted data to the computer for processing. Without an input unit, a computer would have no way to receive new information at all: it could run programs already loaded in its memory, but it could never learn what you want it to do. The phrase "input unit" is used most often in textbooks and computer courses. In everyday language, people usually say "input devices" and mean the same thing. Either way, the idea is the same: the input unit is the way in, and the output unit is the way out. The companion article on [what an output unit is](/technology/what-is-an-output-unit/) explains the other half of that pair, and the guide to [what computer inputs and outputs are](/technology/what-are-computer-inputs-and-outputs/) puts both in the wider picture of how a computer works.
What an Input Unit Is
A computer on its own is a closed box. It can store information, follow instructions and produce results, but it cannot do any of that with new material unless something carries the material in from outside. That carrier is the input unit.
Encyclopaedia Britannica defines a peripheral device as any of various devices used to enter information and instructions into a computer for storage or processing, and it divides peripherals into three kinds: input devices, output devices and storage devices. An input device, in Britannica’s words, “converts incoming data and instructions into a pattern of electrical signals in binary code that are comprehensible to a digital computer.” The input unit is simply the name for that first part of the system: all of the devices and connections that perform the job of getting information in.
That definition has two parts worth noticing. First, an input unit handles both data and instructions. Data is the raw material, such as the words of a letter, the numbers in a budget or the pixels of a photograph. Instructions are the commands that tell the computer what to do with that material, such as “open this file,” “delete that sentence” or “print this page.” Many input actions carry both at once. When you click a button on screen, you are sending a small piece of data (where the pointer is) and an instruction (do the thing that button does) in the same action.
Second, the definition points to conversion. People think in words, pictures, sounds and gestures. Computers work in binary code, patterns of electrical signals that represent ones and zeros. The input unit is the translator between those two worlds. A keyboard turns a finger pressing a key into a code the computer recognizes. A microphone turns sound waves in the air into an electrical signal, which is then turned into digital data. A scanner turns ink on paper into a digital image. The conversion is the input unit’s defining work, and it is what separates an input device from a plain cable or a storage drive.
Input unit or input device: is there a difference?
In practice, the two phrases describe the same hardware from slightly different angles. “Input device” names a single piece of hardware: a keyboard is an input device, a mouse is an input device, a microphone is an input device. “Input unit” names the whole collection of those devices as one functional part of the computer system, in the same way that “output unit” names the collection of screens, printers and speakers, and “central processing unit” names the part that does the calculating.
Textbooks on computer fundamentals use “input unit” because they describe a computer as a set of units with distinct jobs: the input unit takes information in, the processing unit works on it, the memory unit stores it, and the output unit presents the result. That block diagram view is the reason the phrase survives in search results and exam syllabuses. If you are studying for a course, expect the term “input unit.” If you are shopping for computer parts, expect the term “input device.” Both are correct, and this article uses them interchangeably.
One distinction does matter. A storage device, such as a USB flash drive or an external hard drive, can also feed data into a computer, and Britannica notes that storage devices partake of the characteristics of both input and output devices. But a flash drive is not usually counted as part of the input unit, because its main job is storage, not translation. The input unit is the set of devices whose job is to capture new information from a person or from the environment and translate it for the computer.
The Three Jobs of an Input Unit
Every input device, from the simplest keyboard to the most advanced sensor array, performs the same three jobs in the same order.
1. Accept data and instructions
The first job is to accept something from outside the computer. That something can come from a person typing, pointing, speaking, touching or gesturing. It can also come from the environment: a thermometer reporting a temperature, a barcode reader reading a label, or a camera capturing a scene. Some input devices wait for a person to act. Others collect data on their own, with no human involvement at all. Both kinds count, because in both cases new information is entering the system from outside it.
2. Convert it into a form the computer can use
The second job is conversion, and it is the most technical of the three. A computer stores and processes everything as binary data, so every input has to become binary data before the computer can do anything with it. Different devices convert in different ways. A keyboard sends a numeric code for each key pressed. A mouse reports how far it moved and which button was pressed. A microphone turns sound pressure into a changing electrical signal, which is then sampled and turned into numbers. A scanner measures light reflected from a page and turns those measurements into a grid of pixels. The details differ, but the purpose is identical: change something a human can produce into something a computer can process.
3. Deliver it to the computer for processing
The third job is delivery. The converted data travels into the computer, usually through a cable or a wireless link, and arrives at the processor and memory, where programs can act on it. The delivery has to be fast enough that the computer responds while the action still feels connected to what the user did. When you press a key and the letter appears at once, all three jobs have happened in a fraction of a second. When there is a delay, one of the three jobs is usually the bottleneck: the device is slow to sense, slow to convert, or slow to deliver.
Where the Input Unit Fits: Input, Processing, Storage, Output
The input unit is the first stage of a four stage cycle that every computer follows, whether it is a desktop, a laptop, a phone or a server.
First comes input. Data and instructions enter through the input unit. Second comes processing. The central processing unit, or CPU, performs calculations and follows the instructions in the program. Third comes storage. The results, and the data they came from, are held in memory while they are being worked on, and saved to storage for later use. The difference between the two kinds of memory, RAM and ROM, is explained in the guide to the difference between RAM and ROM. Fourth comes output. The processed result is presented to the user through the output unit, which is covered in detail in the companion article on what an output unit is.
The cycle then repeats. The user sees the output, decides what to do next, and provides more input. Typing a search term, reading the results, and clicking a link is one trip around the cycle. Writing a document is hundreds of trips around it, one for each keystroke and correction.
This cycle is the reason the input unit matters so much. A computer with a fast processor and a large memory is still useless if the input unit cannot capture what the user wants. The history of computing is, in large part, the history of better input: from punched cards to keyboards, from keyboards to the mouse, from the mouse to touchscreens and voice. Each step made it easier for ordinary people to tell a computer what to do, and each step opened computing to more people.
The Main Types of Input Device
Britannica’s list of input devices covers typewriter-like keyboards; handheld devices such as the mouse, trackball, joystick, trackpad and special pen with a pressure sensitive pad; microphones, webcams and digital cameras; sensors that report temperature, pressure and other conditions; and optical scanners that read bar-coded data or printed characters. The sections below follow that shape, with the devices most people meet every day first.
The keyboard: the main text entry device
The keyboard is the oldest input device still in everyday use, and it remains the main way to enter text and commands. Each key is a switch. Pressing it completes a circuit and sends a signal to the computer, which works out which key was pressed and sends the matching character or command to the program in use. A standard keyboard also carries function keys, arrow keys and modifier keys such as Shift, Control and Alt, which change what other keys do or trigger shortcuts.
The layout of letters on most English language keyboards is called QWERTY, after the first six letters on the top row of letter keys. The layout comes from typewriters: Smithsonian Magazine records that the Sholes and Glidden typewriter, sold as the Remington No. 1 in 1874, was the first commercially successful typewriter, and its QWERTY arrangement became the standard that computer keyboards inherited. Historians still debate exactly why Sholes and his colleagues settled on that arrangement. One account says it spaced out commonly paired letters so the typebars of early typewriters would not jam; another says it suited telegraph operators transcribing Morse code. The layout itself is not in dispute: it has survived from mechanical typewriters to laptops, tablets and phones with barely a change.
Keyboards come in several forms. A full size desktop keyboard has a number pad on the right. A laptop keyboard is built into the machine and is usually more compact. A wireless keyboard connects by radio instead of a cable. An on-screen keyboard appears on a touchscreen when you need to type and have no physical keys. Ergonomic keyboards split or curve the key layout to reduce wrist strain. The differences are about comfort and space, not about the core job, which is always the same: turn key presses into characters and commands.
Pointing devices: the mouse, trackball and touchpad
Pointing devices answer a different question from the keyboard. Instead of “which character,” they answer “which thing, and where.” They let you indicate an item on screen and then act on it: select it, open it, move it or change it.
The mouse is the best known pointing device, and it has its own full explainer in the article on what a computer mouse is. The first mouse prototype was built in the fall of 1964 at Stanford Research Institute, now SRI International, where Douglas Engelbart and lead engineer Bill English were testing pointing devices for a display workstation. It was a small wooden block with two metal wheels underneath and a single button. Engelbart demonstrated it publicly on 9 December 1968 in the presentation now known as the “Mother of All Demos,” and the patent for the device, US Patent 3,541,541, was granted in 1970. Modern mice track movement with light instead of wheels, but the job is unchanged: report how far the hand moved, in which direction, and which buttons were pressed.
A trackball is a mouse turned inside out. The ball sits on top, and you roll it with your fingers or thumb while the device itself stays still. Trackballs suit desks with little space and users who prefer not to move their whole hand. A touchpad is the flat panel built into most laptops. You slide a finger across it to move the pointer, and tap or press to click. A graphics tablet with a stylus pen is a pointing device for drawing and design: the pen’s position and pressure are reported to the computer, which turns them into lines and shading. All four are input devices, and all four solve the same problem in a different physical form.
Touchscreens: input and output in one surface
A touchscreen is a display with a touch sensor layered over it. The sensor is an input device and the display is an output device, and the combination means the same surface both shows information and accepts commands. That is why Britannica lists some devices, such as video display terminals, as providing both input and output.
Most modern touchscreens are capacitive. A grid of transparent electrodes under the glass holds a small electrical charge, and your finger, which conducts electricity, disturbs the local electrostatic field when it comes near the surface. Sensors measure that disturbance and work out the exact position of the touch. Because the system depends on conductivity, a capacitive screen usually does not respond to an ordinary glove or a fingernail. Older resistive touchscreens worked differently: pressing the screen pushed two conductive layers together, and the point of contact was read from the resulting electrical signal. Resistive screens respond to any object, including a stylus or a gloved finger, but they are less clear and less sensitive than capacitive screens.
Touchscreens also support gestures: a tap selects, a swipe scrolls, a pinch zooms, and a two finger drag moves. The software interprets each gesture, so the same physical touch can mean different things in different programs. On a phone or tablet, the touchscreen is the main input unit, and the on-screen keyboard it displays is the text entry device. On a laptop, a touchscreen is usually a secondary input device alongside the keyboard and touchpad.
Audio input: microphones and voice
A microphone is the input device for sound. Britannica defines it as a device for converting acoustic power into electric power with essentially similar wave characteristics: sound waves strike a thin flexible diaphragm, the diaphragm vibrates, and that vibration produces a corresponding change in an electric circuit. The changing electrical signal is then sampled and turned into digital audio data the computer can store, play back or analyze.
Microphones appear in many forms. A built-in microphone sits beside the camera on a laptop or phone. A headset microphone sits near the mouth for calls and dictation. A standalone USB microphone sits on a desk for recording, podcasting or video meetings. The physical principle is the same in each case, and the differences are about sound quality, direction and noise handling. A directional microphone picks up sound mainly from one direction, which helps in a noisy room. An omnidirectional microphone picks up sound from all directions, which suits a group conversation around a table.
Voice input builds on the microphone. Speech recognition software turns spoken words into text or into commands. Microsoft’s voice typing feature in Windows, for example, converts spoken words into text anywhere you would normally type, and it requires a working microphone to do so. Voice input is useful when typing is impractical, such as while driving with a hands-free setup, or when a user has difficulty using a keyboard. It is also less precise than typing for exact work: background noise, accents and similar sounding words can all produce errors that need correcting, which is why voice typing is best treated as a fast first draft rather than a finished result.
Image and video input: scanners, cameras and webcams
A scanner turns a physical page or photograph into a digital file. A flatbed scanner shines light across the page and measures what reflects back, building up a grid of pixels that becomes an image file. That image can then be stored, edited, printed or shared. Specialist software called optical character recognition, or OCR, can go further and read the printed characters in a scanned image, turning them back into editable text. Britannica notes that optical scanners can read bar-coded data or optical character fonts, which is the same principle applied to labels and forms rather than to photographs.
A digital camera and a webcam are also input devices. A camera captures a scene and turns it into a digital image or video file. A webcam is a small camera built into or attached to a computer, designed for video calls and recording rather than for photography. Both work by measuring light falling on a sensor and converting those measurements into digital data. The difference is one of purpose: a camera is built to produce high quality still images, while a webcam is built to produce a continuous video stream at a quality good enough for a conversation.
Game controllers: joysticks, gamepads and motion controls
Game controllers are input devices designed for play. A joystick is a stick that pivots in a base and reports its angle and direction, originally developed for aircraft and then adopted for games and simulation. A gamepad is a handheld controller with buttons, triggers and one or two small thumbsticks, and it is the standard controller for console and computer games. Motion controllers add sensors that report how the controller itself is being moved, tilted or shaken, so a swing of the arm can become a swing of a virtual tennis racket.
Controllers illustrate an important point about input units: the device is shaped by the task. A keyboard is good at text, a mouse is good at pointing, and a gamepad is good at the fast, simultaneous inputs that games need, such as moving and jumping at the same time. None of them is better in general. Each is better for the job it was designed to do.
Sensors and automatic data capture
Not all input comes from a person. Sensors are input devices that report on the physical world: temperature, pressure, light, humidity, motion, distance and more. A thermostat reads a temperature sensor and decides whether to switch heating on. A phone reads a light sensor and adjusts screen brightness. A fitness tracker reads an accelerometer and counts steps. Britannica includes sensors in its list of input devices precisely because they feed data into a computer without anyone typing or clicking.
Automatic data capture is a related family. A barcode scanner reads the pattern of black and white bars on a product label and turns it into a product code, which is why checkout lanes use them. A magnetic stripe reader reads the stripe on a payment card. A fingerprint reader or face recognition camera reads a biometric feature and turns it into a pattern the computer can compare. Optical mark recognition reads filled-in bubbles on answer sheets and survey forms. These devices matter because they remove typing, and with it typing errors, from high volume work. A warehouse that scanned every parcel by hand would be slower and less accurate than one that scans barcodes.
How Input Travels Into the Computer
Accepting and converting data is only useful if the data reaches the processor. The connection between an input device and the computer takes a few standard forms.
Wired connections: USB
Most wired input devices today connect through USB, the Universal Serial Bus, which Britannica describes as a common serial bus for connecting peripherals. A USB cable carries both data and power, which is why a wired keyboard or mouse needs no battery. When you plug a device in, the computer identifies it and loads the software, called a driver, that knows how to talk to it.
Many keyboards, mice, touchpads and game controllers follow a shared standard called the USB Human Interface Device class, or USB HID. The USB Implementers Forum’s HID specification defines HID devices as devices used by humans to control the operation of computer systems, and lists keyboards and pointing devices such as standard mice, trackballs and joysticks as typical examples. Because the standard is shared, an ordinary keyboard or mouse usually works as soon as it is plugged in, with no extra software to install. The operating system already knows the HID language, so it can use any device that speaks it.
Wireless connections: Bluetooth and radio receivers
Wireless input devices remove the cable at the cost of needing their own power, usually from batteries or a rechargeable cell. Two connection methods dominate. Some devices use Bluetooth, the short range radio standard built into most laptops, tablets and phones, and connect directly with no extra hardware. Others use a small receiver that plugs into a USB port and talks to the device over its own radio link. Bluetooth human interface devices use the same HID report protocol as USB devices, adapted from the USB HID specification to run over a Bluetooth link, which is why a Bluetooth keyboard behaves like a USB keyboard once it is connected.
Wireless input has practical trade-offs. A wireless mouse gives you a tidier desk and freedom to sit further from the computer, but it can lag or stop responding when its battery runs low or when it is too far from the receiver. A wired device never has that problem, but its cable can snag or limit where it sits. For most everyday work the difference is small, and the choice is mostly about the desk rather than about the input itself.
Drivers and the operating system
Between the device and the program sits the operating system, which turns raw input signals into events that programs understand: a key press becomes a character, a mouse movement becomes a pointer position, a touch becomes a tap. Most of this happens invisibly. It becomes visible only when something goes wrong, such as when a new device needs a driver the operating system does not have, or when a device is connected but the program in use does not know what to do with its input. In those cases the fix is usually at the connection or driver level, not at the device itself, and the troubleshooting section below covers the common checks.
A Short History of the Input Unit
The input unit has changed more than any other part of the computer, because each change made computers easier to use.
The earliest electronic computers were fed by punched cards and paper tape. Operators punched holes in cards to represent data and instructions, and a card reader sensed the holes and passed the pattern to the machine. Britannica notes that punched-card and paper-tape readers were once extensively used for input and have now been supplanted by more efficient devices. Punch cards were slow, physical and unforgiving: a dropped stack of cards could mean hours of re-sorting.
The keyboard came next, inherited from the typewriter, and it turned input from a batch process into a conversation. Instead of preparing a stack of cards and waiting for the result, a user could type a command and see the response. The mouse, built in 1964 and shown publicly in 1968, made a further leap possible: the graphical user interface, with windows, icons and menus that could be pointed at directly. Before the mouse, using a computer meant memorizing typed commands. After it, using a computer meant recognizing pictures on a screen and clicking them.
Touchscreens and voice input are the latest steps in the same direction. A touchscreen removes the separation between the pointer and the picture: you touch the thing itself rather than moving a separate device to point at it. Voice input removes the keyboard altogether for some tasks, letting speech become text or commands. Neither has replaced the keyboard and mouse, and neither is likely to. Each new form of input has added to the collection rather than replacing what came before, because different tasks suit different devices.
Input Unit vs Output Unit
The input unit and the output unit are a pair, and confusing them is one of the most common beginner mistakes. The test is simple: does information flow into the computer, or out of it?
An input device sends data into the computer. A keyboard sends keystrokes in. A mouse sends movement and clicks in. A microphone sends sound in. A scanner sends images in. An output device takes data out of the computer and presents it in a form a person can perceive. A monitor shows pictures. A printer puts words on paper. Speakers produce sound. The full comparison, with examples of each side and the devices that do both jobs, is in the companion article on what an output unit is.
A few devices do both, and they are the ones that cause confusion. A touchscreen is the clearest example: its sensor is an input device and its display is an output device, in a single piece of hardware. A headset with a microphone and earphones is another: the microphone is input, the earphones are output. A storage drive is a third: it can feed files into the computer and receive files back from it. The honest way to describe these is to name each function separately rather than forcing the whole device into one category. The touchscreen is not “an input device” or “an output device.” It is a device with an input part and an output part, and each part does its own job.
Choosing Input Devices
Most people do not need to think hard about the input unit, because a keyboard and a pointing device come with the computer. When a choice does arise, a few practical points cover most cases.
Fit matters more than features. A keyboard that forces your wrists into an awkward angle will cause discomfort long before its extra shortcut keys prove useful. A mouse that is too small forces the fingers to curl, and one that is too large forces the hand to stretch. If you type for hours a day, try the keyboard before you buy it, and pay attention to how your hands feel after ten minutes rather than to how the device looks.
Match the device to the task. A writer needs a comfortable keyboard and little else. A designer needs a precise pointing device and possibly a graphics tablet. A gamer needs a controller or a mouse with the responsiveness their games demand. A video caller needs a decent microphone and webcam. Buying the most expensive device in a category is rarely the answer; buying the device designed for your actual work usually is.
Wired or wireless is a desk decision, not a quality decision. Choose wireless if a clean desk and freedom of movement matter to you, and accept that you will need to charge or replace batteries. Choose wired if you want a device that always works and never needs charging, and accept the cable.
Accessibility is a real reason to change input devices. A trackball can suit a user with limited wrist movement. A large key keyboard can suit a user with limited vision. Voice typing can suit a user who cannot type comfortably. The operating systems on modern computers include accessibility settings for all of these, including pointer speed, key repeat rates, sticky keys and voice control. If the standard setup is uncomfortable, the settings and a different device are worth trying before concluding that computers are not for you.
Common Problems and Fixes
Input devices are simple hardware, and most faults have simple causes. Work through these checks before assuming a device is broken.
A keyboard or mouse that does nothing at all is most often a connection problem. For a wired device, unplug it and plug it back in, trying a different USB port if one is available. For a wireless device, check the battery first, then check that the receiver is plugged in or that Bluetooth is switched on, and then check that the device itself is switched on. Many wireless mice have a small power switch on the underside that gets knocked off in a bag.
A mouse pointer that jumps, sticks or moves on its own usually has a dirty sensor or a bad surface. Turn the mouse over and check the sensor window for dust or fluff, and clean it gently. Try a plain matte surface or a mouse pad: a glossy, reflective or glass desk can confuse an optical sensor, because it struggles to find a pattern to track against.
Keys that repeat, stick or fail to register can be caused by dirt under the key, a low battery in a wireless keyboard, or a setting problem. Turn the keyboard upside down and tap it gently to dislodge debris. Check the battery. In the operating system settings, check the key repeat rate and the filter keys or sticky keys options, which can change how key presses are interpreted.
A microphone that records nothing is usually a selection problem rather than a hardware failure. The computer may be listening to the wrong microphone, for example the built-in microphone instead of the headset, or the microphone may be muted in the sound settings or in the program in use. Check the input device selected in the sound settings, check the volume level, and check the mute switch on the device or headset itself.
If none of these checks helps, try the device on another computer. If it works there, the problem is in the first computer’s settings or drivers. If it fails there too, the device itself is the likely fault.
Frequently Asked Questions
What is an input unit in simple words?
An input unit is the part of a computer that lets information in. It is the collection of input devices, such as the keyboard, mouse, microphone, scanner and touchscreen, that take what you type, say, point at or scan and turn it into data the computer can use.
What are the examples of input units?
The most common examples are the keyboard, mouse, touchpad, touchscreen, microphone, webcam, digital camera, scanner, joystick, gamepad and barcode reader. Sensors that report temperature, light or motion are also input devices. Any device whose job is to feed new information into a computer counts.
What is the difference between an input unit and an output unit?
The input unit sends information into the computer, and the output unit sends information out of it to the user. A keyboard is input because it sends keystrokes in. A monitor is output because it shows results. Some devices, such as a touchscreen, contain both an input part and an output part.
Is a monitor an input unit?
No. A monitor is an output device: it displays information that the computer has produced. The exception is a touchscreen monitor, where the touch sensor layered over the display is an input device, while the display itself remains an output device.
Is a printer an input unit?
No. A printer is an output device: it takes digital data from the computer and produces a physical page. A scanner does the opposite job, turning a physical page into digital data, which is why a scanner is an input device and a printer is not.
Is a keyboard an input or output device?
A keyboard is an input device. It sends characters and commands into the computer. It does not display or produce anything itself. The small lights on some keyboards, such as the Caps Lock indicator, are output from the computer to the keyboard, but they do not change the keyboard’s classification: its job is input.
What does an input unit do?
An input unit does three things. It accepts data and instructions from a person or from the environment, it converts them into binary electrical signals the computer can process, and it delivers the converted data to the processor and memory.
What is the input unit of a computer system?
In a textbook block diagram, a computer system has an input unit, a processing unit (the CPU), a memory unit and an output unit. The input unit is the first of these: the devices and connections that bring data and instructions into the system so the other units have something to work on.
Sources & references
- Encyclopaedia Britannica, "Peripheral device." Accessed 12 November 2026. https://www.britannica.com/technology/input-output-device
- Encyclopaedia Britannica, "Microphone." Accessed 12 November 2026. https://www.britannica.com/print/article/380531
- Smithsonian Magazine, "Where Did the QWERTY Keyboard Come From?" Accessed 12 November 2026. https://www.smithsonianmag.com/innovation/origins-qwerty-keyboard-typewriter-180982726/
- Computer History Museum, "SRI Mouse." Accessed 12 November 2026. https://computerhistory.org/sri-mouse-mn052024/
- Doug Engelbart Institute, "Firsts: The Mouse." Accessed 12 November 2026. https://dougengelbart.org/content/view/162/
- USB Implementers Forum, "Device Class Definition for Human Interface Devices (HID), Version 1.11," 27 June 2001. Referenced via the USB-IF HID documentation index at https://www.usb.org/developers/hidpage/ and the specification text.
- TechTarget, "Capacitive touchscreen." Accessed 12 November 2026. https://www.techtarget.com/news/capacitive-touch-screen/872274/
- Microsoft, "Voice." Accessed 12 November 2026. https://www.microsoft.com/en-gb/windows/tips/voice