Unit converter
convert_unitsConverts a value between units of length, mass, volume (US and imperial), area, speed, time, digital data (KB vs KiB, bits vs bytes), energy, pressure and temperature. Accepts common abbreviations (km, lb, fl oz, mph, °F, GiB). US customary units are used for cup/pint/quart/gallon unless you say imperial.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Unit to convert to, e.g. "km", "kg", "celsius", "GiB" | |
| from | Yes | Unit to convert from, e.g. "mi", "pound", "°F", "GB" | |
| value | Yes | The number to convert |