A vector is artwork stored as a set of shapes, points and curves rather than as a grid of coloured pixels. Because the shapes are described mathematically, the file can be reproduced at any size without losing quality, from an icon on a phone to a tarpaulin across a shopfront.
In short
- A vector stores shapes; a raster stores pixels at a fixed size.
- Vectors scale to any size, which is why printers ask for them.
- A raster image cannot be converted back into a real vector.
- Photographs are always raster, and always will be.
How the two kinds of image are stored
The distinction is about what is written in the file, and everything else follows from it.
A raster image is a grid. Each square holds a colour, the number of squares was fixed when the file was made, and enlarging it means the software has to invent the squares that were never recorded. That is why an enlarged photograph looks soft, and why the same logo looks crisp on a business card and blurred on a banner.
A vector file records instructions instead. A circle of a given radius at a given point, a curve between two coordinates, a shape filled with a particular colour. Nothing is stored at any size, so when the file is opened at ten times the dimensions the shapes are simply recalculated. The output is exactly as sharp as the output at any other size.
This is also why vector files are usually small. A logo made of thirty shapes is thirty descriptions, however large it is displayed, while a raster version large enough for a signboard is millions of individual colour values.
The same difference explains why a vector can be edited long after it was drawn. The shapes are still separate objects, so a colour can be changed, a word can be replaced, and one element can be removed without touching the rest. A raster export is a single flattened picture, and changing anything inside it means painting over it.
The formats, and which is which
Extensions do most of the identifying, with one exception worth knowing.
- SVG. The vector format for the web. Small, sharp on any screen, and editable as text, which means the colour can be changed in code.
- AI. The Adobe Illustrator working file. The usual source format for a logo, and the one to ask a designer for.
- EPS. An older exchange format that printers and signmakers still request regularly.
- PDF. Either. A PDF can carry vector artwork, a photograph, or both in one document, which is why it is the format most often assumed to be safe and most often is not.
- PNG, JPEG and WEBP. All raster. Fine for websites, social platforms and everyday attachments, and unusable as a source.
The practical test takes a second. Open the file and enlarge it as far as the software will go. Sharp edges mean vector. Visible squares mean raster, whatever the extension implied.
What cannot be converted back
Conversion runs cleanly in one direction and not at all in the other.
Exporting a vector to PNG or JPEG is routine, and it is what happens every time a logo is uploaded to a social profile. The shapes are rendered into pixels at the size requested, and the source file is untouched.
Going the other way is a redraw. Tracing software reads the edges in a raster image and produces shapes that approximate them, which on a flat two colour mark can be acceptable and on anything else is not. Curves wobble, corners soften, and the proportions drift by an amount nobody notices on screen and everybody notices printed at two metres. If the original file has been lost, the honest description of the work required is redrawing the artwork, not converting it.
Which is why the source file belongs in the business rather than with whoever made it. Keep it with the colour values and the typefaces in your brand guidelines, in an account the business owns, and check that it is still there when the person who set it up moves on.
The same reasoning applies to anything drawn for the business rather than photographed for it. Icons, diagrams, maps of a delivery area, patterns used across packaging. If somebody made it in design software, the source exists, and asking for it at handover costs nothing while asking for it two years later often costs a redraw.
Where a vector is the wrong choice
Vector is not a quality setting, and treating it as one produces its own problems.
Photographs cannot be vector in any useful sense. A camera records light as a grid, there is no underlying drawing to describe, and tracing a photograph produces a poster effect rather than a photograph. Anything shot, scanned or generated as an image stays raster.
Complex illustration sits in between. Artwork with soft gradients, textures or hundreds of overlapping shapes can technically be vector while producing a file so heavy that browsers struggle with it. On a website, a detailed illustration is often better exported as a raster image at two sizes than served as an SVG nobody can render quickly.
And an SVG is code, which is worth remembering when accepting files. Take them from your designer and your suppliers rather than from a search result, and let whoever maintains the site handle anything from an unfamiliar source.
What to send where
Most of the trouble businesses have with artwork is a matching problem rather than a quality problem.
- Printers, signmakers and tarpaulin shops. Vector, in whichever of EPS, AI or PDF they ask for. Ask before sending.
- Embroiderers and stamp makers. Vector, and a version in a single colour, because the process cannot reproduce shading.
- Social platforms and marketplaces. Transparent PNG at the sizes each one specifies. They will not accept a source file.
- Your own website. SVG for the logo and icons, and modern raster formats for photographs.
- Suppliers, resellers and event organisers. Send the vector. It costs nothing and it stops somebody enlarging a screenshot of your header.
Keeping one folder with the source file, a transparent PNG at three sizes and a single colour version covers most of the requests a business receives in a year.
Words you will hear
- Vector. Artwork stored as shapes, scalable to any size.
- Raster. Artwork stored as pixels at a fixed size. Also called bitmap.
- Source file. The editable original, usually AI or SVG.
- Export. A raster copy generated from the source at a chosen size.
- Tracing. Software converting a raster image into approximate shapes.
- DPI. Dots per inch, a measure of print density that applies to raster images and has no meaning for a vector.
- Outlining. Converting text into shapes so the artwork no longer depends on a typeface being installed.
If you are unsure what your business actually holds, look for the file with the largest version of your logo and try enlarging it. The answer takes ten seconds and it decides whether your next signboard is printed or redrawn first.
Questions we get
More about vector
How do I know whether a file is vector?
Can a JPEG be converted into a vector?
Which file should I send to a printer?
Is SVG safe to use on a website?
What about photographs?
What is DPI and does a vector have one?
Our designer only sent PNG files. Is that a problem?
Put this to work
Guides that use this
Free step by step guides for owners doing the work themselves. No sign up and no email required.
Related terms
Graphic design
Graphic design is the work of arranging images, type and colour so a message is understood quickly and your business looks like the same business everywhere.
Logo
A logo is the mark that identifies a business at a glance. Its job is recognition rather than explanation, and the vector file behind it is what matters.
Brand guidelines
Brand guidelines are the document saying how your logo, colours, type and tone are used, so work made by different people still looks like one business.