Version dev

# Lengths and units

The lengths can be given in one of these units: `pp`, `pc`, `in`, `pt`, `cm`, `mm`, `dd`, `cc`. Without the unit, lengths will be in grid cells.

Unit | Description
--- | ---
pp | Pica Point
pc | Pica (12 pp)
in | Inch (72.27 pp)
px | Pixel (1/96 inch)
pt | Big point (72 bp = 1 in) PostScript point, DTP-point
cm | Centimeter
mm | Millimeter
dd | Didot point
cc | Cicero (12 dd)
sp | Scaled point, 1pp = 65536sp

## Conversion

Unit | Unit
--- | ---
1 Pica-point | 0.35147 mm
1 Pica-point | 1/72.27 inch
1 Pica-point | 0.013837 inch
1 Pica-point | 0.93457 Didot-point
1 Pica | 4.2176 mm
1 Pica | 1/6 inch
1 Pica | 12 Pica point
1 PostScript Point (Adobe, DTP-point) | 1.00375001 Pica Point = 1pt
1 mm | 0.237 Pica = 2,845 Pica-point

To convert units you can use the layout function `sd:tounit()`

### Converter

=

#### On this page