To change the canvas size in Photoshop CS5, click Image > Canvas Size (or press Ctrl + Alt + C on Windows, Command + Option + C on a Mac). Enter a new Width and Height, click a square in the Anchor grid to choose where the existing image sits, pick a Canvas extension color, and click OK. This adds or removes space around your image without stretching or resizing the image itself.
The same steps work in every version of Photoshop since CS5, including current Photoshop versions. Here’s how to add a border, trim the canvas, expand it with the Crop tool, and avoid common mistakes.
Canvas Size vs. Image Size
| Canvas Size | Image Size | |
|---|---|---|
| Menu | Image > Canvas Size | Image > Image Size |
| What it changes | The working area around your image | The image itself |
| Makes it bigger by | Adding empty space or color | Stretching the pixels |
| Makes it smaller by | Cutting off the edges | Shrinking everything |
| Use it to | Add borders, make room for text, or trim edges | Resize a photo for the web or print |
How to change canvas size in Photoshop CS5
- Open your image and click Image > Canvas Size.
- Choose a unit, such as Pixels, Inches, or Percent, from the drop-down menus.
- Enter the new Width and Height. Or check Relative and enter only the amount to add, like 100 pixels. Use negative numbers to shrink.
- Click an Anchor square. The center square adds space evenly on all sides. The top-left square keeps your image in the top-left corner and adds space to the right and bottom.
- Choose a Canvas extension color, such as Background, White, Black, or Other for a custom color.
- Click OK.

If you make the canvas smaller than the image, Photoshop warns that it will clip the image. Click Proceed to crop the edges, or Cancel to go back.
Why the extension color option is grayed out
When your image is on a regular layer instead of the locked Background layer, new canvas area is always transparent, so the color option is unavailable. To get colored space, add a new layer below your image and fill it, or convert the layer back with Layer > New > Background from Layer.
How to add an even border around a photo
- Open Image > Canvas Size.
- Check Relative.
- Enter the border width times two in both fields. For a 50-pixel border, type 100 for width and height.
- Keep the anchor in the center, choose a color, and click OK.
How to expand the canvas with the Crop tool
- Zoom out so there’s gray space around the image (press Ctrl + minus).
- Select the Crop tool (C) and drag a box over the whole image.
- Drag the crop handles outward past the edges of the image.
- Press Enter. The new space is filled with the background color, or transparency on a regular layer.
This is handy when you want to eyeball the new size instead of typing numbers.
How to fit the canvas to everything on it
If you’ve moved layers partly off the canvas, click Image > Reveal All. Photoshop enlarges the canvas just enough to show every pixel. To remove extra transparent or solid edges, use Image > Trim.
Units, undo and layer tips
- Check your document’s resolution in Image > Image Size before using inches or centimeters. At 300 pixels per inch, adding 1 inch adds 300 pixels.
- Use Percent to scale the canvas proportionally, for example 120% to add 10% on each side.
- Made a mistake? Press Ctrl + Z, or use the History panel to step back.
- Working with layers? See how to duplicate a layer in Photoshop CS5.
Other canvas size questions
Does changing canvas size reduce image quality?
No. Canvas Size doesn’t resample your image, so the existing pixels stay the same. Only Image Size changes quality.
How do I make the canvas square?
Enter the larger of the two dimensions in both Width and Height, keep the center anchor, and click OK.
How do I change the canvas size of a new document?
Set the size in File > New. You can change it later with Image > Canvas Size.

Kermit Matthews runs Live2Tech from just outside Philadelphia. He is an IT specialist with over 20 years of experience, from a university help desk to small-business IT, IT management and his own consulting practice, and has written tech guides full time since 2020. Steps are checked against the current software on a real device or the maker’s official documentation. More about Kermit.