3 Methods: How To Make a Matrix in Google Docs

If you’re dealing with complex math equations, you’ll likely use matrices in your solution. This way, you can present complicated data sets more intelligibly. But how do you make a matrix in Google Docs?

There are multiple ways to insert a matrix in Google Docs. Follow along as we discuss three super easy variations!

How To Make a Matrix in Google Docs Using a Table

Step 1: Setting Up Your Table

  1. Open Google Docs and access your document.
  2. Click “Insert” > “Table.”
  3. Choose a table size of 5 x 1 (or adjust it to your desired dimensions).
Matrix in Google Docs—how to insert a table


  1. Enter the contents of your matrix from the second column to the fourth column (as shown in the example below).
  2. To separate your matrix entries per row, press the “Enter” (or Return) key on your keyboard after each.
Enter values into a table in Google Docs matrix

Related: How To Make Columns in Google Docs [Complete Guide]

Step 2: Adjusting the Column Width

  1. Highlight the cells in your table by selecting them.
  2. Click on the vertical three-dot icon () and choose “Table options.”
Where to find table options in Google Docs


  1. Find the Column drop-down menu.
  2. Check the box next to “Column width” to enable the option.
  3. To achieve the desired appearance, set the column width to 0.3 (or a larger value if necessary).
How to adjust the column width of a table in Google Docs


  1. Once you’ve adjusted the column width as needed, close the “Table properties” side panel.

Step 3: Configuring the Table Borders

  1. Select the second to fourth columns of your table.
  2. Click the vertical three-dot icon (⋮) and select “Border width.”
  3. Choose “0 pt” to remove the borders from the selected columns.
How to remove column borders in a table in Google Docs

Related: How To Draw on Google Docs

How To Insert a Matrix in Google Docs with Equations

Another workaround you can try is to use the equations feature in Google Docs. The idea is to use subscripts and superscripts (like those you see when you add exponents) to create the matrix structure.

  1. Click “Insert” > “Equation.”
Where to find the Equation option in Google Docs


  1. Click on the drop-down menu labeled “Math operations” and choose a pair of brackets to create the matrix enclosure.
Inserting a bracket in a Google Doc equation


  1. Inside the brackets, add a variable with superscript and subscript fields. Locate this option as the fourth one in the first row of the equation toolbar.
Adding a variable with exponent and subscript


  1. Press the right arrow key on your keyboard once to access the subscript field.
Inserting a subscript in an equation


  1. Type the value that you want to insert.
  2. Press the right arrow key once again, then enter the value for the superscript.
Subscript and superscript in an equation


  1. Repeat the process from steps 3 to 6 to create as many entries as you want.
  2. After completing the matrix, add 2-3 spaces inside the bracket to balance its appearance.
Adding a few spaces in a Google Doc equation


  1. Highlight the equation and use the plus and minus buttons in the equation toolbar to adjust its size.
Changing size of matrix in Google Docs

Frequently Asked Questions

How Should I Copy the Components of a Matrix?

To copy your matrix row by row, then paste it into another file, follow these steps:

  1. Highlight the top row of your matrix by clicking and dragging your cursor across the cells.
  2. Press Ctrl + C (Windows) or Command + C (Mac) to copy the selected row.
  3. Go to the other file where you want to paste the matrix.
  4. Position your cursor at the desired location and press Ctrl + V (Windows) or Command + V (Mac) to paste the copied row.
  5. Insert a new line by pressing the Enter or Return key on your keyboard.
  6. Repeat the process by highlighting the next row of your matrix, copying it with Ctrl + C (or Command + C), and pasting it with Ctrl + V (or Command + V) on the new line.

Continue this process until you have copied and pasted all the rows of your matrix into the desired file.

How Do You Make a 3×3 Matrix in Google Docs?

To insert a matrix using the “Hypatia Create” add-on, follow these steps:

  1. Install the “Hypatia Create” add-on from the Google Workspace Marketplace.
  2. Once installed, open your Google Docs document and choose “Extensions” > “Hypatia Create” > “Insert/Edit Math.”
  3. In the math editor, type “bmatrix” and press “Enter (or Return) on your keyboard.
  4. Specify the number of rows and columns you want to add to your matrix, then click Insert.
  5. Add the values to your matrix in the provided fields.
  6. Click the Insert button in the lower-right corner of the panel to finish.

Can I Make a Matrix in Google Docs?

Yes. There are three ways to make a matrix in Google Docs: Inserting a table, using an equation, and creating one with an external add-on.

Final Thoughts

Knowing how to make a matrix in Google Docs is beneficial whenever you’re dealing with math equations and need to present data in an organized manner. If you ever need to make one, one of the aforementioned methods makes that easy.

Check out our premium templates. When you use the code “SSP,” you’ll get all of them at 50% off!

Get Premium Templates


Most Popular Posts

Related Posts

Thanks for visiting! We’re happy to answer your spreadsheet questions. We specialize in formulas for Google Sheets, our own spreadsheet templates, and time-saving Excel tips.

Note that we’re supported by our audience. When you purchase through links on our site, we may earn commission at no extra cost to you.

Like what we do? Share this article!