# To Draw a Rectangle
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [Procedures](Help%20System/GSTARCAD/2027/Commands/01%20Procedures/(Procedures).md)
**To Draw a Rectangle**
1. Click Draw > Rectangle on the main menu.
2. Specify the first corner point.
3. Specify the other corner point.
**To Draw a Rectangle By Length and Width**
1. Click Draw > Rectangle on the main menu.
2. Specify the first corner point.
3. Enter D (Dimensions) at the command prompt.
4. Specify the length for rectangles.
5. Specify the width for rectangles.
6. Specify other corner point
**To Draw a Rectangle By Area**
1. Click Draw > Rectangle on the main menu.
2. Specify the first corner point.
3. Enter A (Area) at the command prompt.
4. Enter the area of the rectangle in current units.
5. Enter L to enter the length. The width is calculated based on the length and the area. You can either enter W to enter the width. The length is calculated based on the width and the area.
6. Enter the rectangle length or width.
**To Draw a Rectangle With Rotation**
1. Click Draw > Rectangle on the main menu.
2. Specify the first corner point.
3. Enter R (Rotation) at the command prompt.
4. Specify a rotation angle.
5. Specify the other corner point.
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences/To%20Draw%20a%20Rectangle.html) · © Gstarsoft Co., Ltd.