ArticleslgStudy

computer science

Dots per inch

Dots per inch is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Dots per inch rather than just read about it. In short: Dots per inch (DPI or dpi) is a measure of spatial printing, video or image scanner dot density, in particular the number of individual dots that can be placed in a line within the span of 1 inch (25.4 mm). Similarly, dots per millimetre (d/mm or dpmm) refers to the number of individual dots that can be placed within a line of 1 millimetre (0.039 in).

Dots per inch — main illustration
Dots per inch — illustration

Key takeaways

  • Dots per inch belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Dots per inch to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Dots per inch from memory before moving on to harder problems.

Reference excerpt

Dots per inch (DPI or dpi) is a measure of spatial printing, video or image scanner dot density, in particular the number of individual dots that can be placed in a line within the span of 1 inch (25.4 mm). Similarly, dots per millimetre (d/mm or dpmm) refers to the number of individual dots that can be placed within a line of 1 millimetre (0.039 in).

DPI measurement in printing

DPI is used to describe the resolution number of dots per inch in a digital print and the printing resolution of a hard copy print dot gain, which is the increase in the size of the halftone dots during printing. This is caused by the spreading of ink on the surface of the media. Up to a point, printers with higher DPI produce clearer and more detailed output. A printer does not necessarily have a single DPI measurement; it is dependent on print mode, which is usually influenced by driver settings. The range of DPI supported by a printer is most dependent on the print head technology it uses. A dot matrix printer, for example, applies ink via tiny rods striking an ink ribbon, and has a relatively low resolution, typically in the range of 60 to 90 DPI (420 to 280 μm). An inkjet printer sprays ink through tiny nozzles, and is typically capable of 300–720 DPI. A laser printer applies toner through a controlled electrostatic charge, and may be in the range of 600 to 2,400 DPI. The DPI measurement of a printer often needs to be considerably higher than the pixels per inch (PPI) measurement of a video display in order to produce similar-quality output. This is due to the limited range of colours for each dot typically available on a printer. At each dot position, the simplest type of color printer can either print no dot, or print a dot consisting of a fixed volume of ink in each of four color channels (typically CMYK with cyan, magenta, yellow and black ink) or 24 = 16 colours on laser, wax and most inkjet printers, of which only 14 or 15 (or as few as 8 or 9) may be actually discernible depending on the strength of the black component, the strategy used for overlaying and combining it with the other colours, and whether it is in "color" mode. Higher-end inkjet printers can offer 5, 6 or 7 ink colours giving 32, 64 or 128 possible tones per dot location (and again, it can be that not all combinations will produce a unique result). Contrast this to a standard sRGB monitor where each pixel produces 256 intensities of light in each of three channels (RGB). While some color printers can produce variable drop volumes at each dot position, and may use additional ink-color channels, the number of colours is still typically less than on a monitor. Most printers must therefore produce additional colours through a halftone or dithering process, and rely on their base resolution being high enough to "fool" the human observer's eye into perceiving a patch of a single smooth colour. The exception to this rule is dye-sublimation printers, which can apply a much more variable amount of dye—close to or exceeding the number of the 256 levels per channel available on a typical monitor—to each "pixel" on the page without dithering, but with other limitations:

lower spatial resolution (typically 200 to 300 dpi), which can make text and lines look somewhat rough lower output speed (a single page requiring three or four complete passes, one for each dye colour, each of which may take more than fifteen seconds—generally quicker, however, than most inkjet printers' "photo" modes) a wasteful (and, for confidential documents, insecure) dye-film roll cartridge system occasional color registration errors (mainly along the long axis of the page), which necessitate recalibrating the printer to account for slippage and drift in the paper feed system. These disadvantages mean that, despite their marked superiority in producing good photographic and non-linear diagrammatic output, dye-sublimation printers remain niche products, and thus other devices using higher resolution, lower color depth, and dither patterns remain the norm. This dithered printing process could require a region of four to six dots (measured across each side) to accurately reproduce the color in a single pixel. An image that is 100 pixels wide may need to be 400 to 600 dots in width in the printed output; if a 100 × 100-pixel image is to be printed in a one-inch square, the printer must be capable of 400 to 600 dots per inch to reproduce the image. As such, 600 dpi (sometimes 720) is now the typical output resolution of entry-level laser printers and some utility inkjet printers, with 1,200–1,440 and 2,400–2,880 being common "high" resolutions. This contrasts with the 300–360 (or 240) dpi of early models, and the approximate 200 dpi of dot-matrix printers and fax machines, which gave faxed and computer-printed documents—especially those that made heavy use of graphics or coloured block text—a characteristic "digitized" appearance, because of their coarse, obvious dither patterns, inaccurate colours, loss of clarity in photographs, and jagged ("aliased") edges on some text and line art.

… excerpt ends here. Continue reading the full article.

Illustrations

Dots per inch: A close-up of the dots produced by an inkjet printer at draft quality. Actual size is approximately .mw-parser-output .frac{white-space:nowrap}.mw-parser-output .frac .num,.mw-parser-output .frac .den{font-size:80%;line-height:0;vertical-align:super}.mw-parser-output .frac .den{vertical-align:sub}.mw-parser-output .sr-only{border:0;clip:rect(0,0,0,0);clip-path:polygon(0px 0px,0px 0px,0px 0px);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}1⁄4 by 1⁄4 inch (6 by 6 mm). Individual coloured droplets of ink are visible; this sample is about 150 DPI.
A close-up of the dots produced by an inkjet printer at draft quality. Actual size is approximately .mw-parser-output .frac{white-space:nowrap}.mw-parser-output .frac .num,.mw-parser-output .frac .den{font-size:80%;line-height:0;vertical-align:super}.mw-parser-output .frac .den{vertical-align:sub}.mw-parser-output .sr-only{border:0;clip:rect(0,0,0,0);clip-path:polygon(0px 0px,0px 0px,0px 0px);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}1⁄4 by 1⁄4 inch (6 by 6 mm). Individual coloured droplets of ink are visible; this sample is about 150 DPI.
Dots per inch: Dots printed on paper
Dots printed on paper
Dots per inch: A 10 × 10-pixel computer display image usually requires many more than 10 × 10 printer dots to reproduce it accurately, due to the limited colours of ink available from the printer; here, a 60 × 60 grid is used, providing 36 times the original density, compensating for the printer's fewer colours. The whole blue pixels making up the sphere are reproduced by the printer using different overlaid combinations of cyan, magenta, and black ink, and the light aqua by cyan and yellow with some "white" (ink-free) print pixels within the actual image pixel. When viewed at a more normal distance, the primary coloured stippled dots appear to merge into a smoother, more richly coloured image.
A 10 × 10-pixel computer display image usually requires many more than 10 × 10 printer dots to reproduce it accurately, due to the limited colours of ink available from the printer; here, a 60 × 60 grid is used, providing 36 times the original density, compensating for the printer's fewer colours. The whole blue pixels making up the sphere are reproduced by the printer using different overlaid combinations of cyan, magenta, and black ink, and the light aqua by cyan and yellow with some "white" (ink-free) print pixels within the actual image pixel. When viewed at a more normal distance, the primary coloured stippled dots appear to merge into a smoother, more richly coloured image.
Dots per inch: Windows XP DPI scaling at 200%
Windows XP DPI scaling at 200%
Dots per inch: Windows 2000 DPI scaling at 200%
Windows 2000 DPI scaling at 200%

Worked examples

Example 1 — a first encounter with Dots per inch

Start with the simplest possible case. Write down what Dots per inch claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Dots per inch before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Dots per inch ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Dots per inch

In research
Dots per inch appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Dots per inch in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Dots per inch is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer printing, Display technology, Printing terminology, so understanding it makes those chapters shorter.
In everyday life
Look for Dots per inch outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Dots per inch” →

How to study Dots per inch in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Dots per inch means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Dots per inch out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Dots per inch in simple terms?

Dots per inch (DPI or dpi) is a measure of spatial printing, video or image scanner dot density, in particular the number of individual dots that can be placed in a line within the span of 1 inch (25.4 mm). Similarly, dots per millimetre (d/mm or dpmm) refers to the number of individual dots that c…

Why does Dots per inch matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Dots per inch?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Dots per inch.

Tags

  • Computer printing
  • Display technology
  • Printing terminology
  • Units of density

Keep exploring