# 单位转换

使用 `to`、`in` 或 `as` 将其转换为特定单位。

```
10 km in m                    | 10,000 m
5 hours 30 minutes to seconds | 19,800 seconds
100 pounds in kg              | 45.36 kg
```

或者使用以下方式：

```
meters in 10 km  | 10,000 m
days in 3 weeks  | 21 days
seconds in a day | 86,400 s
```

{% hint style="success" %}
作为简写，您也可以输入两个不带值的单位名称来查看转换：

"km m" (= 1,000 m)
{% endhint %}

Soulver 在答案列中使用单位符号（而不是其全称）。

控制点击答案可查看完整的单位名称

![](/files/0EzXtiA8lBF3E5F2Zkr8)

## 单位说明

#### **混合单位与纯数字**

当混合纯数字和单位时，系统会自动使用最接近的单位。这称为**单位同化**。

```
300 + 20 km | 320 km
$20 + 30    | $50.00
```

#### **加减混合单位**

在进行混合单位类型的计算时，**较大的单位优先**：

```
1km + 1,000m | 2 km
```

当单位不共享共同的基础单位时，**最后使用的单位优先**：

```
$200 + €200 | €308.84
```

#### **乘法单位**

Soulver 只支持其数学引擎中预定义的单位，不支持“不存在”的复合单位：

```
10m × 10m       | 100 m² // 面积，一种受支持的单位类型
3 kg × 3 liters | // 不是“9 kg liters”，此单位不存在
```

当通过乘法无法创建受支持的单位时，Soulver 会进行隐式比率计算：

```
$30 × 4 days | $120.00
// 上述被解释为 $30/day × 4 days
```

#### **创建自定义单位**

您可以在 `Calculator > Custom Units` 设置中为 Soulver 添加额外的单位。

{% hint style="info" %}
自定义单位是根据现有单位定义的。

您目前无法向 Soulver 添加新的单位类别。
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.soulver.app/zh/yu-fa-can-kao/units-and-conversions/units.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
