Excel Autofit Row Height
We all know excel has a default row height, but not many know how this default row height is determined. The default row height is determined based on the font size we have set when the Excel file is opened, and if no changes are made to the default settings, then the default font name is “Calibri,” and font size is “11”, so row height is 15 points which are equal to 20 pixels.
Often, after we start working with the worksheet, we may need to adjust the rows and columns width & height according to the data structure. We can change the default height and width of rows height as per our requirement. So in this article, we will show you how to use excel autofit row height.
To see the row height click on the bottom of the row header; it will display the row height of the selected row.
How to Change Default Row Height?
We can change the row height in excel from 0 to 409 points, so a common way of changing the row height is dragging the row border upwards to decrease the row height and drag downwards to increase the row height.
As you are dragging, you can see the changing points & pixels of row height on a real-time basis.
Once the row height is fixed, we can apply the same formatting to other rows by using format painter excel. For example, look at the below rows.
Now I will change the second-row height to 24 points.
Now our new height looks like this.
Now I want the same row height for the remaining row as well. Select the entire row by pressing the Shift + Space key.

4.9 (1,353 ratings) 35+ Courses | 120+ Hours | Full Lifetime Access | Certificate of Completion
Now click on the “Format Painter” option under the HOME tab.
Now apply the format painter brush to all the rows.
Now leave your left click on the mouse and see the magic.
It has changed the row height of the remaining rows as per the row height of the selected row i.e., row number 2.
AutoFit Row Height in Excel
Like how we have changed the row height as per our preference, similarly, we can auto adjust the row height by just a click of the button.
Auto adjustment of the row height depends on the data size of each cell of the row. For example, now we need to adjust the row height of row number 2 to auto-adjust.
Place your cursor at the bottom of the row.
Double click as soon as you see the above four side arrow key and you row will be auto-adjusted according to the contents of the row.
Similarly, to auto adjust the row height for remaining rows, we need to select all the row first.
Now double click on the bottom of any selected rows, and all the selected rows will be auto-adjusted.
We can also auto adjust the row height using the other two methods i.e., “Manual Method” & “Shortcut Method.”
After selecting the rows that need to be auto-adjusted under the HOME tab, go to the “Format” option, click on the drop-down of the “Format” option.
From the drop-down options, choose the option called “AutoFit Row Height.”
Now all the selected rows height are auto-adjusted.
One more method is using excel shortcut key options i.e., ALT + O + R + A. After selecting the height of the row that needs to be auto-adjusted, press the above shortcut key, and your row height will be auto-adjusted.
Do not hold keys but press one after the other to auto adjust the row height.
Things to Remember
- The default row height depends on the font size we set when we open a new workbook.
- Row height depends on the size of the content in the rows.
Recommended Articles
This has been a guide to autofit row height in excel. Here we discuss how to autofit row height in excel with different methods along with practical examples. You may learn more about excel from the following articles –
- 35+ Courses
- 120+ Hours
- Full Lifetime Access
- Certificate of Completion