How to draw a rectangle with exact dimensions in AutoCAD?

How to Draw a Rectangle with Exact Dimensions in AutoCAD

Short Answer

Use the RECTANG command and enter the second corner as relative dimensions, such as @200,100, to draw a rectangle with exact dimensions in AutoCAD. This is the fastest and most common professional method for precise 2D drafting. Limitation: this method depends on correct units and UCS orientation.

What You Need to Know Before

Warning: If Dynamic Input is off, or your UCS is rotated, the rectangle may be created in an unexpected direction or size relative to your current view. A locked current layer can also prevent the object from being created even though the command runs.

How to Draw a Rectangle with Exact Dimensions in AutoCAD

  • Command: RECTANG

  • Shortcut: REC

  • Quick Steps:

    1. On the Ribbon, go to Home tab > Draw panel > Rectangle, or type REC and press Enter.
    2. Click the first corner point, or type exact coordinates if needed.
    3. For the other corner, type relative dimensions in the command line as @length,width (example: @200,100) and press Enter.

Variables & Settings

  • System Variable: DYNMODE (Default: 3)

  • Expert Setting: This controls Dynamic Input near the cursor. When enabled, you can enter values interactively, but many professionals still watch the command line to confirm the exact @length,width entry and avoid input direction mistakes.

Why it Fails

  • Cause 1 (Geometry): The UCS is rotated or not aligned to the intended drawing plane, so the rectangle dimensions are correct but placed in an unexpected orientation.
  • Cause 2 (layers/Locks): The current layer is locked, frozen in the viewport, or set to a non-plotting workflow standard that makes the rectangle appear missing.
  • Cause 3 (Command/Logic): The second point is entered as absolute coordinates instead of relative input, or the width and height are typed with the wrong sign or separator.

Quick Fix & Best Practice

  • Quick Fix: Type UCS > World, then run PLAN > World, and redraw the rectangle with REC using @length,width.
  • Manager’s Verdict: Use RECTANG with relative coordinate input for standard drafting, shop drawings, and layout work. Avoid manual clicking when exact dimensions are required, especially in production files.

FAQ

Can I enter rectangle dimensions without clicking both corners?

Yes, click the first corner once, then type @length,width for the second corner.

Can I create a rectangle by length and width using Dynamic Input?

Yes, if Dynamic Input is enabled, but the command line is often more reliable for exact entry.

What if the rectangle is drawn in the wrong direction?

Use negative values where needed, or reset the UCS to World before drawing.

.