Graphing Paper in Excel: How to Create a Custom Grid
In this article
You can make graphing paper in Excel by adjusting the row height and column width to be identical values, effectively turning the spreadsheet's cells into perfect squares. This achieves a precise, printable grid that can be used for technical drawing, mapping, or educational exercises. To do this, you simply select all cells and set the column width and row height to a matching pixel value.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- A printer if you intend to use the grid as physical graphing paper.
- Basic knowledge of how to select cells and navigate the Home tab.
Step-by-Step
- Open a Blank Workbook: Launch Microsoft Excel and create a new blank workbook. Ensure you are on a fresh sheet with no existing data to avoid accidentally formatting your actual work.
- Select All Cells: Click the Select All button, which is the small triangle located at the top-left corner of the worksheet, where the row numbers and column letters meet. Alternatively, you can press
Ctrl + A(Windows) orCmd + A(Mac). Selecting the entire sheet ensures that every single cell is modified simultaneously, preventing uneven gaps in your grid. - Adjust Column Width: Right-click on any column letter (e.g., column A) at the top of the screen. From the context menu, select Column Width.... Enter a small value, such as 2.14. Note that Excel's column width units are based on the width of a character in the default font, while row height is measured in points. Because these units differ, you cannot simply enter "20" for both; you must look at the pixel value that appears when you click and drag the column border.
- Match Row Height: Right-click on any row number (e.g., row 1) on the left side of the screen. Select Row Height.... Enter a value that matches the pixel size of your column. For example, if your column width of 2.14 resulted in 20 pixels, set your row height to 15 or 20 points depending on your screen resolution and font settings. The most accurate way to do this is to click and drag the boundary of a column and a row while watching the tooltip that displays the measurement in pixels (e.g., "Width: 20 pixels"). Ensure both the row and column display the exact same pixel count.
- Apply Gridlines (Borders): By default, Excel shows light grey guidelines that do not print. To make these permanent and printable, keep the entire sheet selected. Navigate to the Home tab, find the Font group, and click the drop-down arrow next to the Borders icon. Select All Borders. This applies a thin black line around every cell in the selection.
- Change Line Color (Optional): If you want the grid to look more like professional graphing paper (which often uses light blue or green lines), go back to the Borders drop-down menu. Select Line Color and choose a light blue or cyan. After selecting the color, you must click All Borders again to apply the new color to the entire grid.
- Set the Print Area: To prevent Excel from trying to print thousands of empty cells, highlight only the area you need for your graph. Go to the Page Layout tab, click Print Area, and select Set Print Area.
- Configure Page Margins: In the Page Layout tab, click Margins and select Narrow. This maximizes the amount of graphing paper that fits on a single printed page.
- Center the Grid: Click the small arrow in the bottom-right corner of the Page Setup group (or go to Page Layout > Margins > Custom Margins). In the window that appears, under the Margins tab, check the boxes for Center on page: Horizontally and Center on page: Vertically. This ensures your grid is perfectly balanced on the paper.
Common Mistakes
One of the most frequent errors is assuming that entering the same number in both "Column Width" and "Row Height" dialog boxes will create a square. Because Excel uses different units for these two measurements (characters vs. points), entering "10" for both will result in a rectangle. Always rely on the pixel measurement shown in the tooltip when dragging the borders manually.
Another common mistake is forgetting to apply All Borders. Many users see the grey gridlines on their screen and assume they will appear on the printed page. However, these are "gridlines," not "borders." Gridlines are visual aids for the software and are disabled by default in the print settings. Without applying borders, your printed page will be completely blank.
Users also often forget to set the Print Area. If you apply borders to the entire worksheet (over 16,000 columns), Excel may attempt to print hundreds of pages of empty grids, wasting a significant amount of ink and paper.
Tips
To create "major" and "minor" grid lines (like real engineering paper), you can use a pattern of borders. Select a block of 5x5 cells and apply a Thick Outside Border. Use the Format Painter tool to copy this 5x5 block across the rest of your page. This creates a bold line every five squares, making it much easier to count units when plotting data.
If you need a specific physical size (e.g., exactly 1cm squares), change your view settings. Go to the View tab and select Page Layout view. In this mode, Excel changes the rulers from pixels/points to inches or centimeters (depending on your regional settings). You can then drag the column and row headers to match the ruler exactly.
To make the grid look cleaner, you can hide the row and column headers. Go to the View tab and uncheck the boxes for Gridlines (since you now have borders), Headings, and Formula Bar. This transforms the Excel interface into a clean, white canvas of graphing paper.
Troubleshooting
The squares aren't perfectly square: This usually happens because of screen scaling or the difference between points and pixels. The most reliable fix is to switch to View > Page Layout. This allows you to use a physical ruler (inches or cm) to set the sizes, bypassing the confusing point/character system.
The borders are too dark or too light: If the All Borders option is too harsh, go to Borders > Line Style and choose a thinner or dashed line. After selecting the style, you must re-apply All Borders for the change to take effect.
The grid is cut off when printing: This is typically a margin issue. Go to Page Layout > Scale to Fit and change the Width and Height settings to "1 page." This forces Excel to shrink the grid slightly so it fits perfectly within the printable area of your paper.
Excel is lagging after selecting all cells: Applying borders to millions of cells can consume a lot of memory. If your computer slows down, undo the action (Ctrl + Z), select only the specific range of cells you actually need (e.g., A1 to Z100), and apply the borders only to that area.
Frequently Asked Questions
Can I make the grid lines a different color?
Yes. Use the Borders menu on the Home tab, select Line Color, pick your color, and then click All Borders to apply it.
How do I make the squares exactly 1 centimeter?
Switch to View > Page Layout. You can then adjust the row height and column width using the ruler, which displays measurements in centimeters or inches.
Will the gridlines print automatically?
No. The default grey gridlines are for on-screen use only. You must apply All Borders from the Font group to make them printable.
Can I save this as a template?
Yes. Go to File > Save As and choose Excel Template (.xltx) from the file type dropdown. This allows you to open a fresh sheet of graphing paper anytime without repeating the setup.
How do I remove the grid once I'm done?
Select the area, go to the Borders menu, and select No Border. This will remove all the printable lines you created.