# Length Units and Conversion - Unit Calculator

The calculator converts between length units.

```
%cm 1.6m
```

The calculator will show `160.0 cm`

. `%cm`

means the unit of result value is `cm`

.

\[ 1.6 \mathrm{m} = 160.0 \mathrm{cm} \]

Note that `1.6m`

can't be input like `1.6 m`

. There is no space between number and unit.

The calculator regard `%`

as the command of unit conversion. There is no space `%`

and unit so `% cm`

makes no sense. `%cm`

is correct.

Another example:

## Multiple arguments

Multiple values can be input and the calculator automatically sum them and convert. So if you input

```
%m 3km 740yd
```

the sum of `3km`

and `740yard`

is converted to `m`

unit. The result is `3676.656 m`

.

Result:

```
3676.656 m
```

## Metric prefix

`10cm`

has `cm`

unit and `c`

is the metric prefix of `m`

. `m`

is a standard unit of length and prefix `c`

(centi) means the scale means 10^{-2}. In fact, 1cm = 10^{-2}m.

There are many prefixes scaling from `y`

(10^{-24}) to `Y`

(10^{24}).

Name | Symbol | Scale |
---|---|---|

yotta | Y | 10^{24} |

zetta | Z | 10^{21} |

exa | E | 10^{18} |

peta | P | 10^{15} |

tera | T | 10^{12} |

giga | G | 10^{9} |

mega | M | 10^{6} |

kilo | k | 10^{3} |

hecto | h | 10^{2} |

deca | da | 10^{1} |

deci | d | 10^{-1} |

centi | c | 10^{-2} |

milli | m | 10^{-3} |

micro | μ | 10^{-6} |

nano | n | 10^{-9} |

pico | p | 10^{-12} |

femto | f | 10^{-15} |

atto | a | 10^{-18} |

zepto | z | 10^{-21} |

yocto | y | 10^{-24} |

## Mile

`mi`

(mile) is a length unit and 1mi = 1.609344 × 10^{3}m = 1609.344m.

## Yard

`yd`

is the symbol of yard and 1yd = 0.9144m.

## Foot

`ft`

is the symbol of foot and 1ft = (0.9144/3)m = 0.3048m. 1ft is smaller than 1yd.

## Inch

`in`

(inch) is defined as (0.9144/36)m. 1in = 0.0254m. Inch is often used to measure a width or height of screen.