> For the complete documentation index, see [llms.txt](https://manual.rotrics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.rotrics.com/gcode/marlin-original-commands/marlin-g021-millimeter-units.md).

# \[Marlin] G021 - Millimeter Units

{% hint style="success" %}
**📅Update: 2020/09/18**
{% endhint %}

## Description

Set units to millimeters. In this mode, all positions, offsets, rates, accelerations, etc., specified in GCode parameters are interpreted as millimeters.

## Usage

`G21`

## Examples

```
G21 ; set units to millimeters
```
